Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't show exercises on own row, use the one from the set

Roland Geider226b572e2bac
diff --git a/manager/templates/workout/view.html b/manager/templates/workout/view.html
index b4bc72081..c1973bd3c 100644
--- a/manager/templates/workout/view.html
+++ b/manager/templates/workout/view.html
@@ -21,20 +21,18 @@
<tbody>
{% for set in day.set_set.select_related %}
<tr>
- <td >{{ set.order }} <!--(Set-ID: {{ set.id }})--></td>
- <td style="text-align:right">
+ <td >{{ set.order }} <!--(Set-ID: {{ set.id }})-->
<a href="">[x]</a>
<a href="/workout/{{ workout.id}}/day/{{ day.id }}/edit/set/{{ set.id }}">[e]</a>
</td>
- <tr>
- <td colspan="2">
+ <td>
<ul>
{% for exercise in set.exercises.select_related %}
<li>
<a href="">[x]</a>
<a href="">[e]</a>
- {{ exercise }} <!--(exercise-ID: {{ exercise.id }})-->
- <br>
+ {{ exercise }}: <!--(exercise-ID: {{ exercise.id }})-->
+
<!-- Comments to the exercise -->
<!--
@@ -109,4 +107,7 @@
<li>{% trans "Settings for set" %}</li>
</ol>
+<h3>{% trans "Options" %}</h3>
+<a href="">{% trans "Download as PDF" %}</a>
+
{% endblock %}
\ No newline at end of file