Skip to content
Snippets Groups Projects
Commit 2724f3da authored by COLLINOT Baptiste's avatar COLLINOT Baptiste
Browse files

base de donnees et notifs admin

parent 26f0ae7c
No related branches found
No related tags found
1 merge request!71base de donnees et notifs admin
......@@ -10,10 +10,12 @@
</div>
<p>{{ app.user.login }}</p>
{% if app.user.notifs|length > 0 %}
<a href="{{ path("app_notifications")}}"><img src={{asset('/img/notifs_non_lues.png')}} alt="logo profil" width="35px"/></a>
{% else %}
<a href="{{ path("app_notifications")}}"><img src={{asset('/img/notifs.png')}} alt="logo profil" width="35px"/></a>
{% if not is_granted('ROLE_ADMIN') %}
{% if app.user.notifs|length > 0 %}
<a href="{{ path("app_notifications")}}"><img src={{asset('/img/notifs_non_lues.png')}} alt="logo profil" width="35px"/></a>
{% else %}
<a href="{{ path("app_notifications")}}"><img src={{asset('/img/notifs.png')}} alt="logo profil" width="35px"/></a>
{% endif %}
{% endif %}
<a href="{{ path("app_modif_user")}}" ><img src={{asset('/img/bonhomme.png')}} alt="logo profil" width="50px"/></a>
{% if not is_granted('ROLE_ADMIN') %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment