Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add link to ingredient overview from plan template (still have to change icon)

Roland Geiderdcd555032aae
diff --git a/nutrition/templates/view_nutrition_plan.html b/nutrition/templates/view_nutrition_plan.html
index 9c7f9f6e9..98d898d11 100644
--- a/nutrition/templates/view_nutrition_plan.html
+++ b/nutrition/templates/view_nutrition_plan.html
@@ -221,4 +221,15 @@ $(document).ready(function() {
{% trans "Download as PDF" %}
</a>
</p>
+
+<p>
+<a href="{% url nutrition.views.ingredient_overview %}">
+ <img src="{% static 'images/icons/save.svg' %}"
+ width="32"
+ height="32"
+ alt="{% trans 'Ingrdient overview' %}"
+ title="{% trans 'Ingredient overview' %}">
+ {% trans "Ingredient overview" %}
+</a>
+</p>
{% endblock %}