|
@@ -54,6 +54,19 @@
|
|
|
{% endif %}
|
|
|
</ul>
|
|
|
{% endif %}
|
|
|
+ <ul class="navbar-nav">
|
|
|
+ <li class="nav-item dropdown">
|
|
|
+ <a class="nav-link dropdown-toggle" href="#" id="navbarBellDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
+ <i class="fa fa-bell fa-lg"></i>
|
|
|
+ </a>
|
|
|
+ <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarBellDropdown">
|
|
|
+ <ul class="list-group px-4 py-3">
|
|
|
+ {{ afficheNouveautes() | raw }}
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
<ul class="navbar-nav">
|
|
|
<li class="nav-item">
|
|
|
<a href="#" class="nav-link" data-toggle="modal" data-target="#modalWindow"><i class="fa fa-info-circle fa-lg text-light nav-link" aria-hidden="true"></i></a>
|
|
@@ -73,10 +86,10 @@
|
|
|
{% else %}
|
|
|
<ul class="navbar-nav">
|
|
|
<li class="nav-item dropdown">
|
|
|
- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
+ <a class="nav-link dropdown-toggle" href="#" id="navbarUserDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
{{ app.user.nomComplet }}
|
|
|
</a>
|
|
|
- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
|
|
+ <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarUserDropdown">
|
|
|
<a class="dropdown-item" href="{{ path('user_profil') }}">Profil</a>
|
|
|
<div class="dropdown-divider"></div>
|
|
|
<a class="dropdown-item" href="{{ path('app_logout') }}">Se déconnecter</a>
|