This repository was archived by the owner on Jan 24, 2024. It is now read-only.
File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 39
39
</vault:card>
40
40
41
41
<vault:listing listing="<?= $ listing ?> " as="entity" color="" class="striped">
42
-
43
42
<grid:cell label="[[Id:]]" value="<?= $ entity ->id ?> " sorter="id"/>
44
43
<grid:cell label="[[Question:]]" sorter="question">
45
44
<span title="<?= e ($ entity ->question ) ?> "><?= \Spiral \Support \Strings::shorter (e ($ entity ->question ), 50 ) ?> </span>
48
47
<span title="<?= e ($ entity ->answer ) ?> "><?= \Spiral \Support \Strings::shorter (e ($ entity ->answer ), 100 ) ?> </span>
49
48
</grid:cell>
50
49
<grid:cell label="[[Order:]]" value="<?= $ entity ->order ?> " sorter="order"/>
51
- <grid:cell class="right-align">
52
- <vault:uri target="faq:edit" icon="edit" options="<?= ['id ' => $ entity ->primaryKey ()] ?> " class="waves-effect btn-flat"/>
53
- </grid:cell>
54
-
55
50
<grid:cell class="right-align">
56
51
<vault:allowed permission="vault.faq.view">
57
- <vault:uri target="faq:view" icon="visibility" options="<?= ['id ' => $ entity ->primaryKey ()] ?> " class="btn waves-effect"> [[View]]
58
- </vault:uri>
52
+ <vault:uri target="faq:edit" icon="edit" options="<?= ['id ' => $ entity ->primaryKey ()] ?> " class="waves-effect btn-flat"/>
59
53
</vault:allowed>
60
54
</grid:cell>
61
55
</vault:listing>
You can’t perform that action at this time.
0 commit comments