diff --git a/tapir/shifts/apps.py b/tapir/shifts/apps.py index f23fcc319..eeb8ba65e 100644 --- a/tapir/shifts/apps.py +++ b/tapir/shifts/apps.py @@ -38,7 +38,7 @@ def register_sidebar_links(cls): shifts_group.add_link( display_name=_("Shift calendar"), material_icon="calendar_today", - url=reverse_lazy("shifts:calendar_future"), + url=reverse_lazy("shifts:calendar"), ordering=1, ) @@ -57,14 +57,6 @@ def register_sidebar_links(cls): on_render=cls.get_link_display_name_abcd_calendar, ) - shifts_group.add_link( - display_name=_("Past shifts"), - material_icon="history", - url=reverse_lazy("shifts:calendar_past"), - required_permissions=[PERMISSION_SHIFTS_MANAGE], - ordering=4, - ) - shifts_group.add_link( display_name=_("Shift statistics"), material_icon="calculate", diff --git a/tapir/shifts/templates/shifts/shift_calendar_template.html b/tapir/shifts/templates/shifts/shift_calendar_template.html index b6594da45..0413263d3 100644 --- a/tapir/shifts/templates/shifts/shift_calendar_template.html +++ b/tapir/shifts/templates/shifts/shift_calendar_template.html @@ -26,6 +26,30 @@