Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Swap body weight with nutrition in navigation

Tom Bowyer226525437b97
diff --git a/wger/core/templates/navigation.html b/wger/core/templates/navigation.html
index fe65c7997..e3d268cbf 100644
--- a/wger/core/templates/navigation.html
+++ b/wger/core/templates/navigation.html
@@ -82,24 +82,6 @@
</li>
-
- {# #}
- {# Weight tab #}
- {# #}
- {% if user.is_authenticated %}
- <li class="nav-item dropdown{% if active_tab == 'weight' %} active{% endif %}">
- <a href="{% url 'weight:overview' %}"
- class="dropdown-toggle nav-link"
- data-toggle="dropdown"
- rel="nofollow">{% translate "Body weight" %} <b class="caret"></b></a>
- <ul class="dropdown-menu">
- <li><a class="dropdown-item" href="{% url 'weight:overview' %}" rel="nofollow">{% translate "Weight overview" %}</a></li>
- <li><a class="dropdown-item" href="{% url 'weight:add' %}" rel="nofollow">{% translate "Add weight entry" %}</a></li>
- </ul>
- </li>
- {% endif %}
-
-
{# #}
{# Nutrition tab #}
{# #}
@@ -139,6 +121,22 @@
</li>
+ {# #}
+ {# Weight tab #}
+ {# #}
+ {% if user.is_authenticated %}
+ <li class="nav-item dropdown{% if active_tab == 'weight' %} active{% endif %}">
+ <a href="{% url 'weight:overview' %}"
+ class="dropdown-toggle nav-link"
+ data-toggle="dropdown"
+ rel="nofollow">{% translate "Body weight" %} <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a class="dropdown-item" href="{% url 'weight:overview' %}" rel="nofollow">{% translate "Weight overview" %}</a></li>
+ <li><a class="dropdown-item" href="{% url 'weight:add' %}" rel="nofollow">{% translate "Add weight entry" %}</a></li>
+ </ul>
+ </li>
+ {% endif %}
+
{# #}
{# Software tab #}