Self hosted FLOSS fitness/workout, nutrition and weight tracker
Move calendar templates to own folder
Roland Geiderfdcbad67ec91
diff --git a/wger/manager/templates/workout/calendar_day.html b/wger/manager/templates/calendar/day.htmlsimilarity index 100%rename from wger/manager/templates/workout/calendar_day.htmlrename to wger/manager/templates/calendar/day.htmldiff --git a/wger/manager/templates/workout/calendar.html b/wger/manager/templates/calendar/month.htmlsimilarity index 100%rename from wger/manager/templates/workout/calendar.htmlrename to wger/manager/templates/calendar/month.htmldiff --git a/wger/manager/templates/mobile/workout/calendar.html b/wger/manager/templates/mobile/calendar/month.htmlsimilarity index 100%rename from wger/manager/templates/mobile/workout/calendar.htmlrename to wger/manager/templates/mobile/calendar/month.htmldiff --git a/wger/manager/views/log.py b/wger/manager/views/log.pyindex 29d57335e..34bee8c31 100644--- a/wger/manager/views/log.py+++ b/wger/manager/views/log.py@@ -423,7 +423,7 @@ def calendar(request, username=None, year=None, month=None):context['impressions'] = WorkoutSession.IMPRESSIONcontext['month_list'] = WorkoutLog.objects.filter(user=user).dates('date', 'month')context['show_shariff'] = is_owner and user.userprofile.ro_access- return render(request, 'workout/calendar.html', context)+ return render(request, 'calendar/month.html', context)def day(request, username, year, month, day):@@ -446,4 +446,4 @@ def day(request, username, year, month, day):context['is_owner'] = is_ownercontext['show_shariff'] = is_owner and user.userprofile.ro_access- return render(request, 'workout/calendar_day.html', context)+ return render(request, 'calendar/day.html', context)