Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't blank out the whole nagivation bar if the user isn't logged in

Roland Geider721eae0dc73b
diff --git a/manager/templates/base.html b/manager/templates/base.html
index e1d5f6970..c7e341a2c 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -52,6 +52,7 @@
<a href="{% url manager.views.login %}">{% trans "Login" %}</a>
{% else %}
<a href="{% url manager.views.index %}">{% trans "Dashboard" %}</a>
+ {% endif %}
</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>
@@ -65,7 +66,6 @@
<a href="{% url manager.views.logout %}">
{% trans 'Logout' %}
</a>
- {% endif %}
</li>
</ul>
</div>