Correct Role names display
This commit is contained in:
parent
9d37a7c549
commit
82c7c15068
|
|
@ -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 %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue