mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
User dropdown menu links to user edit page when javascript is disabled.
Fix indentation.
This commit is contained in:
parent
62c4eb8f1e
commit
22a020e63b
@ -102,7 +102,8 @@
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
{% if user.is_authenticated %}
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
|
||||
<a href="{% url 'users:edit' user.username %}"
|
||||
class="dropdown-toggle" data-toggle="dropdown"
|
||||
role="button" aria-expanded="false">
|
||||
<i class="glyphicon glyphicon-user nav-icon"></i>
|
||||
{{ user.username }}
|
||||
@ -122,12 +123,12 @@
|
||||
Log in</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% if user.is_authenticated %}
|
||||
<li id="logout_nojs">
|
||||
<a href="{% url 'users:logout' %}" title="Log out">
|
||||
<i class="glyphicon glyphicon-remove-circle nav-icon"></i>
|
||||
Log out</a>
|
||||
</li>
|
||||
{% if user.is_authenticated %}
|
||||
<li id="logout_nojs">
|
||||
<a href="{% url 'users:logout' %}" title="Log out">
|
||||
<i class="glyphicon glyphicon-remove-circle nav-icon"></i>
|
||||
Log out</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user