diff --git a/templates/label_system/dialog.html.twig b/templates/label_system/dialog.html.twig index a845d12e..b763a467 100644 --- a/templates/label_system/dialog.html.twig +++ b/templates/label_system/dialog.html.twig @@ -59,7 +59,7 @@
{{ profile.name ?? '-' }} - {% if profile %} + {% if profile and is_granted("edit", profile) %} {% endif %} @@ -91,6 +91,14 @@
+ + {% if is_granted("@labels.read_profiles") %} +
+
+ {% trans %}label_generator.edit_profiles{% endtrans %} +
+
+ {% endif %} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 8ca59f11..a3eea465 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -12293,5 +12293,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g Decoded information + + + label_generator.edit_profiles + Edit profiles + +