Correct Role names display

This commit is contained in:
Charles 2025-11-24 08:56:59 +01:00
parent 9d37a7c549
commit 82c7c15068
1 changed files with 5 additions and 1 deletions

View File

@ -139,7 +139,11 @@
{% if appGroup and role.id in appGroup.selectedRoleIds %}checked{% endif %}> {% if appGroup and role.id in appGroup.selectedRoleIds %}checked{% endif %}>
<label class="form-check" <label class="form-check"
for="role-{{ role.id }}-app-{{ app.id }}"> for="role-{{ role.id }}-app-{{ app.id }}">
{{ role.name }} {% if role.name == 'USER' %}
Accès
{% else %}
{{ role.name|capitalize }}
{% endif %}
</label> </label>
{% endfor %} {% endfor %}
{% else %} {% else %}