Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Move the username from the preferences text, to the logout link

Roland Geiderb2fd1d1a2d05
diff --git a/manager/templates/base.html b/manager/templates/base.html
index 835c28dce..82cf9557b 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -58,15 +58,15 @@
{% if not user.username %}
<a href="{% url manager.views.login %}">{% trans "Login" %}</a>
{% else %}
- <a href="{% url manager.views.preferences %}">{% trans "My preferences" %}: {{ user.username }}</a>
+ <a href="{% url manager.views.preferences %}">{% trans "My preferences" %}</a>
</li>
<li>
<a href="{% url manager.views.logout %}">
<img src="{% static 'images/icons/logout.svg' %}"
width="18"
height="18"
- alt="{% trans 'Logout' %}"
- title="{% trans 'Logout' %}">
+ alt="{% trans 'Logout' %}: {{ user.username }}"
+ title="{% trans 'Logout' %}: {{ user.username }}">
</a>
{% endif %}
</li>