Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Move the 'add workout' link to the workout overview

Roland Geiderbfa44846cfb8
diff --git a/manager/templates/base.html b/manager/templates/base.html
index 32ceacf1f..20929d7cb 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -45,7 +45,6 @@
<ul>
<!-- <li class="active"><strong>Active</strong></li> -->
<li><a href="/">Start</a></li>
- <li><a href="/workout/add">{% trans "Add workout" %}</a></li>
<li><a href="/admin/">{% trans "Admin" %} </a></li>
<li><a href="/exercise/overview/">{% trans "Exercises" %}</a></li>
<li><a href="/login">Login etc</a></li>
diff --git a/manager/templates/index.html b/manager/templates/index.html
index c0a94ab86..6c0e434d1 100644
--- a/manager/templates/index.html
+++ b/manager/templates/index.html
@@ -13,4 +13,5 @@
{% else %}
<p>No workouts are available.</p>
{% endif %}
+<p><a href="/workout/add">{% trans "Add workout" %}</a></p>
{% endblock %}
\ No newline at end of file