Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 73ebd36

Browse files
author
valentin v / vvval
committed
active status is default
1 parent e8f2de9 commit 73ebd36

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

source/views/list.dark.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
</vault:card>
4040

4141
<vault:listing listing="<?= $listing ?>" as="entity" color="" class="striped">
42-
4342
<grid:cell label="[[Id:]]" value="<?= $entity->id ?>" sorter="id"/>
4443
<grid:cell label="[[Question:]]" sorter="question">
4544
<span title="<?= e($entity->question) ?>"><?= \Spiral\Support\Strings::shorter(e($entity->question), 50) ?></span>
@@ -48,14 +47,9 @@
4847
<span title="<?= e($entity->answer) ?>"><?= \Spiral\Support\Strings::shorter(e($entity->answer), 100) ?></span>
4948
</grid:cell>
5049
<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-
5550
<grid:cell class="right-align">
5651
<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"/>
5953
</vault:allowed>
6054
</grid:cell>
6155
</vault:listing>

0 commit comments

Comments
 (0)