We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d1f47 commit 031c1aaCopy full SHA for 031c1aa
bundle/Resources/config/policies.yaml
@@ -9,3 +9,4 @@ tags:
9
deletesynonym: ~
10
makesynonym: ~
11
merge: ~
12
+ sort: ~
bundle/Resources/views/admin/tag/children.html.twig
@@ -5,6 +5,7 @@
5
{% set can_add = is_granted('ibexa:tags:add', tag is defined ? tag : null) %}
6
{% set can_edit = is_granted('ibexa:tags:edit') %}
7
{% set can_delete = is_granted('ibexa:tags:delete') %}
8
+{% set can_sort = is_granted('ibexa:tags:sort') %}
<h3>{{ 'tag.children.title'|trans }} ({{ childrenTags|length }})</h3>
@@ -74,7 +75,7 @@
74
75
</div>
76
</form>
77
- {% if tag is defined and not tag.isSynonym %}
78
+ {% if tag is defined and not tag.isSynonym and can_sort %}
79
{% include '@NetgenTags/admin/tag/sort_children_tags.html.twig' %}
80
{% endif %}
81
{% else %}
0 commit comments