remove (⚑) mark in added roles table (use flag only in form select)

This commit is contained in:
Mathieu Jaumotte 2023-04-14 16:44:38 +02:00
parent 83ce3b3e92
commit 91d40d9153

View File

@ -35,13 +35,13 @@
{% for role_scope in role_scopes %}
<tr>
<td>
<span class="role_scope role">{{ role_scope.role|trans }}</span>
<span class="role_scope role">{{ role_scope.role|trans|replace({'(⚑)': ''}) }}</span>
{% if expanded_roles[role_scope.role]|length > 1 %}
<div class="help-text">
<span style="text-decoration: underline dotted;">{{ 'Which implies'|trans }}&nbsp;:</span>
{% for role in expanded_roles[role_scope.role] %}
{% if role != role_scope.role %}
{{ role|trans }}
{{ role|trans|replace({'(⚑)': ''}) }}
{% if not loop.last %}, {% endif %}
{% endif %}
{% endfor %}