Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add a small logout button next to the user preferences link

Roland Geider818ee3764fcc
diff --git a/manager/templates/base.html b/manager/templates/base.html
index c4c5fd2e4..835c28dce 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -59,6 +59,15 @@
<a href="{% url manager.views.login %}">{% trans "Login" %}</a>
{% else %}
<a href="{% url manager.views.preferences %}">{% trans "My preferences" %}: {{ user.username }}</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' %}">
+ </a>
{% endif %}
</li>
</ul>