Navbar tooltips in bottom
This commit is contained in:
parent
c460351674
commit
912d0db34e
|
@ -46,20 +46,20 @@
|
|||
{% endif %}
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{% if user.is_authenticated %}
|
||||
<li><a href="{% url 'profile' user.username %}" title="{% trans "Profile" %}" data-toggle="tooltip">
|
||||
<li><a href="{% url 'profile' user.username %}" title="{% trans "Profile" %}" data-toggle="tooltip" data-placement="bottom">
|
||||
<img src="{{ user.avatar }}" class="avatar img-rounded pull-left "/>
|
||||
{{ user.username }}</a>
|
||||
</li>
|
||||
{% if user.is_superuser %}
|
||||
<li><a data-pjax-unnav href="/admin/" title="Admin" data-toggle="tooltip"><i class="glyphicon glyphicon-tower"></i></a></li>
|
||||
<li><a data-pjax-unnav href="/admin/" title="Admin" data-toggle="tooltip" data-placement="bottom"><i class="glyphicon glyphicon-tower"></i></a></li>
|
||||
{% endif %}
|
||||
<!-- <li><a data-pjax-unnav href="{% url 'profile' user.username %}" data-pjax
|
||||
title="{% trans "Profile" %}">
|
||||
title="{% trans "Profile" %}" data-toggle="tooltip" data-placement="bottom">
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
</a>
|
||||
</li> -->
|
||||
<li><a data-pjax-unnav href="{% url "logout" %}"
|
||||
title="{% trans "Logout" %}" data-toggle="tooltip">
|
||||
title="{% trans "Logout" %}" data-toggle="tooltip" data-placement="bottom">
|
||||
<i class="glyphicon glyphicon-off"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Reference in New Issue