mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
permissiongroup: complete translation, remove itself role in 'which implies'
This commit is contained in:
parent
91d40d9153
commit
499417aea5
@ -31,10 +31,16 @@
|
||||
{% for role_scope in role_scopes %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ role_scope.role|trans }}
|
||||
<span class="role_scope role">{{ role_scope.role|trans|replace({'(⚑)': ''}) }}</span>
|
||||
{% if expanded_roles[role_scope.role]|length > 1 %}
|
||||
<div class="help-text">
|
||||
{{ 'Which implies'|trans }} : {% for role in expanded_roles[role_scope.role] %}{{ role|trans }}{% if not loop.last %}, {% endif %}{% endfor %}
|
||||
<span style="text-decoration: underline dotted;">{{ 'Which implies'|trans }} :</span>
|
||||
{% for role in expanded_roles[role_scope.role] %}
|
||||
{% if role != role_scope.role %}
|
||||
{{ role|trans|replace({'(⚑)': ''}) }}
|
||||
{% if not loop.last %}, {% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
@ -425,6 +425,7 @@ No entities: Aucun élément
|
||||
|
||||
CHILL_FOO_SEE: Voir un élément
|
||||
CHILL_FOO_EDIT: Modifier un élément
|
||||
chill_export: Exports (statistiques)
|
||||
|
||||
#Show templates
|
||||
Date: Date
|
||||
|
Loading…
x
Reference in New Issue
Block a user