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