Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add a link to the user preferences on the sidebar of the index page

Roland Geider713fc3064639
diff --git a/manager/templates/index.html b/manager/templates/index.html
index 69b719e46..c96164a8f 100644
--- a/manager/templates/index.html
+++ b/manager/templates/index.html
@@ -104,4 +104,13 @@
{% endblock %}
+{% block sidebar %}
+
+<h3>{% trans "Options" %}</h3>
+<p>
+<a href="{% url manager.views.preferences %}">{% trans "My preferences" %}</a>
+</p>
+
+{% endblock %}
+