Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Go to the index page, not the user preferences when clicking on user tab

Roland Geiderefb00e63c0c5
diff --git a/manager/templates/base.html b/manager/templates/base.html
index e2acea9e7..e1d5f6970 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -51,9 +51,9 @@
{% if not user.username %}
<a href="{% url manager.views.login %}">{% trans "Login" %}</a>
{% else %}
- <a href="{% url manager.views.preferences %}">{% trans "Dashboard" %}</a>
+ <a href="{% url manager.views.index %}">{% trans "Dashboard" %}</a>
</li>
- <li {% if active_tab == 'workout' %}class="active"{% endif %}><a href="{% url manager.views.index %}">{% trans "Workouts" %}</a></li>
+ <li {% if active_tab == 'workout' %}class="active"{% endif %}><a href="{% url manager.views.overview %}">{% trans "Workouts" %}</a></li>
<li {% if active_tab == 'exercises' %}class="active"{% endif %}><a href="{% url exercises.views.exercise_overview %}">{% trans "Exercises" %}</a></li>
<li {% if active_tab == 'weight' %}class="active"{% endif %}><a href="{% url weight.views.overview %}">{% trans "Weight" %} </a></li>
<li {% if active_tab == 'nutrition' %}class="active"{% endif %}><a href="{% url nutrition.views.overview %}">{% trans "Nutrition" %} </a></li>