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

Merge branch 'master' into 'main'

base de donnees et notifs admin

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