Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Change the order of the links on sidebar so they are the same as on workouts

Roland Geider2d94c60cc689
diff --git a/nutrition/templates/view_nutrition_plan.html b/nutrition/templates/view_nutrition_plan.html
index b2759bcc1..21dc75554 100644
--- a/nutrition/templates/view_nutrition_plan.html
+++ b/nutrition/templates/view_nutrition_plan.html
@@ -199,17 +199,6 @@ $(document).ready(function() {
<h3>{% trans "Options" %}</h3>
-<p>
-<a href="{% url nutrition.views.edit_plan plan.id %}"
- class="modal-dialog">
- <img src="{% static 'images/icons/edit.svg' %}"
- width="32"
- height="32"
- alt="{% trans 'Edit nutrition plan' %}">
- {% trans "Edit nutrition plan" %}
-</a>
-</p>
-
<p>
<a href="{% url nutrition.views.export_pdf plan.id %}"
target="_blank">
@@ -222,6 +211,17 @@ $(document).ready(function() {
</a>
</p>
+<p>
+<a href="{% url nutrition.views.edit_plan plan.id %}"
+ class="modal-dialog">
+ <img src="{% static 'images/icons/edit.svg' %}"
+ width="32"
+ height="32"
+ alt="{% trans 'Edit nutrition plan' %}">
+ {% trans "Edit nutrition plan" %}
+</a>
+</p>
+
<p>
<a href="{% url nutrition.views.ingredient_overview %}">
<img src="{% static 'images/icons/list.svg' %}"