Self hosted FLOSS fitness/workout, nutrition and weight tracker
Correctly output the exercise name (again...)
Roland Geider9eebf5a5c65b
diff --git a/wger/manager/templates/log/add.html b/wger/manager/templates/log/add.htmlindex 425d6a3e4..36ce866fb 100644--- a/wger/manager/templates/log/add.html+++ b/wger/manager/templates/log/add.html@@ -45,7 +45,7 @@ $(document).ready(function () {{% with value=bases|get_item:base.id %}<div class="row"><label class="col-md-12 font-weight-bold">- {{value.obj.get_exercise.name}}+ <b>{{ value.obj.get_translation.name }}</b></label></div><div class="row">diff --git a/wger/manager/templates/workout/log.html b/wger/manager/templates/workout/log.htmlindex d227f77d6..7ad23d788 100644--- a/wger/manager/templates/workout/log.html+++ b/wger/manager/templates/workout/log.html@@ -57,7 +57,7 @@{% with day_list=workout_log|get_item:day.obj.id %}{% with exercise_list=day_list|get_item:base.obj.id %}- <h5 class="mt-4">{{ base.obj.get_exercise.name }}</h5>+ <h5 class="mt-4">{{ base.obj.get_translation.name }}</h5>{% if exercise_list.log_by_date %}{# TODO: perhaps move the draw_weight_chart function to render_weight_log #}{% with list=exercise_list.log_by_date %}