Self hosted FLOSS fitness/workout, nutrition and weight tracker
Explicitly show the name of the exercise, don't rely on __unicode__
Roland Geider7f32a0ba27a5
diff --git a/manager/templates/tags/render_day.html b/manager/templates/tags/render_day.htmlindex d99bdb7c2..f4c36def7 100644--- a/manager/templates/tags/render_day.html+++ b/manager/templates/tags/render_day.html@@ -92,7 +92,7 @@ $(document).ready(function() {<div class="exercise-list">{% for exercise in set.exercises.select_related %}<div id="exercise-{{ exercise.id }}" class="ajax-set-edit-target">- <a href="{{ exercise.get_absolute_url }}">{{ exercise }}</a>:+ <a href="{{ exercise.get_absolute_url }}">{{ exercise.name }}</a>:{% comment %}If there are more than 1 settings, don't output the repetitions