show username
This commit is contained in:
parent
b46bd28ad6
commit
ad46d883a0
@ -33,7 +33,7 @@
|
||||
<li class="{% ifequal request.path '/logout/' %}active{% endifequal %}"><a href="/admin/">Administration</a></li>
|
||||
{% endif %}
|
||||
{% if user.is_authenticated %}
|
||||
<li class="{% ifequal request.path '/logout/' %}active{% endifequal %}"><a href="{% url 'logout' %}">Abmelden</a></li>
|
||||
<li class="{% ifequal request.path '/logout/' %}active{% endifequal %}"><a href="{% url 'logout' %}"> ({{ user.get_username }}) Abmelden</a></li>
|
||||
{% else %}
|
||||
<li class="{% ifequal request.path '/login/' %}active{% endifequal %}"><a href="{% url 'login' %}">Anmelden</a></li>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user