fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Added tooltips to menu items

This commit is contained in:
Felipe Martín 2014-08-26 18:38:19 +02:00
parent 3a18135381
commit 4b5f603e81
1 changed files with 3 additions and 3 deletions

View File

@ -46,12 +46,12 @@
{% endif %}
<ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}
<li><a href="{% url 'profile' user.username %}" title="{% trans "Profile" %}">
<li><a href="{% url 'profile' user.username %}" title="{% trans "Profile" %}" data-toggle="tooltip">
<img src="{{ user.avatar }}" class="avatar img-rounded pull-left "/>
&nbsp;{{ user.username }}</a>
</li>
{% if user.is_superuser %}
<li><a data-pjax-unnav href="/admin/" title="Admin"><i class="glyphicon glyphicon-tower"></i></a></li>
<li><a data-pjax-unnav href="/admin/" title="Admin" data-toggle="tooltip"><i class="glyphicon glyphicon-tower"></i></a></li>
{% endif %}
<!-- <li><a data-pjax-unnav href="{% url 'profile' user.username %}" data-pjax
title="{% trans "Profile" %}">
@ -59,7 +59,7 @@
</a>
</li> -->
<li><a data-pjax-unnav href="{% url "logout" %}"
title="{% trans "Logout" %}">
title="{% trans "Logout" %}" data-toggle="tooltip">
<i class="glyphicon glyphicon-off"></i>
</a>
</li>