Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make the alternating background color for rows work again

Roland Geiderc2669b464964
diff --git a/manager/pdf.py b/manager/pdf.py
index f1bc77012..cca222a1b 100644
--- a/manager/pdf.py
+++ b/manager/pdf.py
@@ -143,7 +143,8 @@ def workout_log(request, id):
group_exercise_marker[set_obj.id]['end'] = len(data)
- exercise_markers[day.id].append(len(data))
+ # Note: '+1' here because there's an emtpy cell between days
+ exercise_markers[day.id].append(len(data) + 1)
setting_data = []