Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add a logout link to the sidebar of the preferences page
Roland Geidercfab3f020b08
diff --git a/manager/templates/user/preferences.html b/manager/templates/user/preferences.htmlindex 2d09d3b55..af4f62f3f 100644--- a/manager/templates/user/preferences.html+++ b/manager/templates/user/preferences.html@@ -1,5 +1,6 @@{% extends "base.html" %}{% load i18n %}+{% load staticfiles %}{% block title %}{% trans "Preferences" %}{% endblock %}@@ -25,5 +26,14 @@{% endblock %}{% block sidebar %}-<a href="{% url manager.views.logout %}">{% trans "Logout" %}</a>+<h3>{% trans "Options" %}</h3>+<p>+ <a href="{% url manager.views.logout %}">+ <img src="{% static 'images/icons/logout.svg' %}"+ width="32"+ height="32"+ alt="{% trans 'Logout' %}"+ title="{% trans 'Logout' %}">+ {% trans "Logout" %}</a>+</p>{% endblock %}