Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use the __unicode__ method to print the workout name on overview

Roland Geider5df921122df5
diff --git a/wger/manager/templates/mobile/workout/overview.html b/wger/manager/templates/mobile/workout/overview.html
index a9bfa8b0e..ee48ffd5e 100644
--- a/wger/manager/templates/mobile/workout/overview.html
+++ b/wger/manager/templates/mobile/workout/overview.html
@@ -10,7 +10,7 @@
{% for workout in workouts %}
<li>
<a href="{% url 'wger.manager.views.workout.view' workout.id %}">
- <h3>{{ workout.comment }}</h3>
+ <h3>{{ workout }}</h3>
<p>{{ workout.creation_date }}</p>
</a>
</li>