{% extends '@ChillMain/Admin/layoutWithVerticalMenu.html.twig' %} {% block title %}{{ 'Permission group "%name%"'|trans({ '%name%': entity.name }) }}{% endblock %} {% block admin_content -%}
{{ 'Name'|trans }} | {{ entity.name }} |
---|
{{ 'Circle'|trans }} | {{ 'Role'|trans }} |
---|---|
{%- if role_scope.scope is not null -%} {{ role_scope.scope.name|localize_translatable_string }} {%- else -%} N/A {%- endif -%} |
{{ role_scope.role|trans }}
{% if expanded_roles[role_scope.role]|length > 1 %}
{{ 'Which implies'|trans }} :
{% for role in expanded_roles[role_scope.role] %}
{% if role != role_scope.role %}
{{ role|trans }}
{% if not loop.last %}, {% endif %}
{% endif %}
{% endfor %}
{% endif %}
|
{{ 'This group does not provide any permission'|trans }}. {{ 'add permissions'|trans|capitalize }}
{% endif %} {% endblock %}