src/iconolab/templates/partials/header.html
changeset 462 0572214c8546
parent 313 ed4dd55d1e78
child 468 0a7ea508098a
equal deleted inserted replaced
461:4701ee4556e3 462:0572214c8546
    22               {% notifications_unread as unread_count %}
    22               {% notifications_unread as unread_count %}
    23               <li><a href="{% url 'user_home' request.user.id %}" title="{{request.user.username}}: Mon espace - {{ unread_count }} notification(s)">
    23               <li><a href="{% url 'user_home' request.user.id %}" title="{{request.user.username}}: Mon espace - {{ unread_count }} notification(s)">
    24                 Mon espace <span class="badge {% if unread_count %}badge-warning{% endif %}">
    24                 Mon espace <span class="badge {% if unread_count %}badge-warning{% endif %}">
    25                 {{ unread_count }} <i class="fa fa-envelope-o" aria-hidden="true"></i> </span>
    25                 {{ unread_count }} <i class="fa fa-envelope-o" aria-hidden="true"></i> </span>
    26               </a></li>
    26               </a></li>
    27               <li><a href="{% url 'account:logout' %}">Se déconnecter</a></li>
    27               <li><a href="{% url 'account:logout' %}">Déconnexion</a></li>
    28             {% else %}
    28             {% else %}
    29               <li><a href="{% url 'account:register' %}">Créer un compte</a></li>
    29               <li><a href="{% url 'account:register' %}">Créer un compte</a></li>
    30               <li><a href="{% url 'account:login' %}?next={{ request.path | urlencode }}">Se Connecter</a></li>
    30               <li><a href="{% url 'account:login' %}?next={{ request.path | urlencode }}">Connexion</a></li>
    31             {% endif %}
    31             {% endif %}
    32           </ul>
    32           </ul>
    33         </div><!--/.nav-collapse -->
    33         </div><!--/.nav-collapse -->
    34       </div><!--/.container-fluid -->
    34       </div><!--/.container-fluid -->
    35     </nav>
    35     </nav>