adaptation

This commit is contained in:
ExostFlash 2023-11-22 08:40:44 +01:00
parent bcaad13d6f
commit 3e6bb21b28

View file

@ -10,8 +10,8 @@
{% if not app.user %}
compte utilisateur c'est <code><a href="/user">ici</a></code>
{% endif %}
{% if app.user and ('waiter' in app.user.roles or 'chef' in app.user.roles) %}
User roles: {{ app.user.roles|join(', ') }}
{% if app.user and ('Waiter' in app.user.grade or 'Chef' in app.user.grade or 'Root' in app.user.grade) %}
User roles: {{ app.user.grade }}
{% endif %}
<article>