fixed header layout problem
authordurandn
Mon, 12 Dec 2016 15:02:31 +0100
changeset 281 0a0b82040ee1
parent 280 f89dcc5a846f
child 282 7204cfdde3be
fixed header layout problem
src/iconolab/templates/partials/header.html
--- a/src/iconolab/templates/partials/header.html	Fri Dec 09 16:01:08 2016 +0100
+++ b/src/iconolab/templates/partials/header.html	Mon Dec 12 15:02:31 2016 +0100
@@ -27,8 +27,8 @@
         <ul class="nav navbar-nav navbar-right">
           {% if request.user.is_authenticated %}
             {% notifications_unread as unread_count %}
-            <li><a href="{% url 'user_home' request.user.id %}">
-              {{request.user.username}} : Mon espace <span class="badge {% if unread_count %}badge-warning{% endif %}">
+            <li><a href="{% url 'user_home' request.user.id %}" title="{{request.user.username}}: Mon espace - {{ unread_count }} notification(s)">
+              Mon espace <span class="badge {% if unread_count %}badge-warning{% endif %}">
               {{ unread_count }} <i class="fa fa-envelope-o" aria-hidden="true"></i> </span>
             </a></li>
             <li><a href="{% url 'account:logout' %}">Se déconnecter</a></li>