diff --git a/wger/manager/templates/mobile/schedule/view.html b/wger/manager/templates/mobile/schedule/view.html index aaee0691d..507bc04d3 100644 --- a/wger/manager/templates/mobile/schedule/view.html +++ b/wger/manager/templates/mobile/schedule/view.html @@ -106,6 +106,51 @@ {% trans "Add workout" %} + +{% for step in schedule.schedulestep_set.select_related %} +{% with step_dates=step.get_dates %} +
+
+
+
+

+ {% blocktrans count weeks=step.duration %}{{ weeks }} Week + {% plural %}{{ weeks }} Weeks + {% endblocktrans %} +

+ + {% if active_workout == step %} + {% trans "active" %} + {% endif %} +
+
+ {{step_dates.0}}
{{step_dates.1}}
+
+ +
+
+
+ {% for day in step.workout.canonical_representation.day_list %} +
+ {% render_day day.obj flavour True %} +
+ {% endfor %} +
+
+{% endwith %} +{% endfor %} + + + + + {% endblock %}