Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Move ingredient list to admin section

Roland Geider56d8f11c073e
diff --git a/wger/core/templates/navigation.html b/wger/core/templates/navigation.html
index 4bba8122f..7f8c9f596 100644
--- a/wger/core/templates/navigation.html
+++ b/wger/core/templates/navigation.html
@@ -174,17 +174,18 @@
{% translate "Daily calories calculator" %}
</a>
</li>
- <li>
- <a class="dropdown-item"
- href="{% url 'nutrition:ingredient:list' %}">
- {% translate "Ingredient overview" %}
- </a>
- </li>
{% if perms.nutrition %}
<li class="dropdown-divider"></li>
<li class="dropdown-header">{% translate "Administration" %}</li>
- <li><a class="dropdown-item"
- href="{% url 'nutrition:weight_unit:list' %}">{% translate "Ingredient weight units" %}</a>
+ <li>
+ <a class="dropdown-item" href="{% url 'nutrition:weight_unit:list' %}">
+ {% translate "Ingredient weight units" %}
+ </a>
+ </li>
+ <li>
+ <a class="dropdown-item" href="{% url 'nutrition:ingredient:list' %}">
+ {% translate "Ingredient overview" %}
+ </a>
</li>
{% endif %}
</ul>