From 9ea7f05766cf57b9853cb0040e67ad319b8f432e Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Sat, 13 May 2023 16:35:14 +0200 Subject: [PATCH] show team members their shift duration --- shiftregister/fallback/templates/my_fallback_shifts.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shiftregister/fallback/templates/my_fallback_shifts.html b/shiftregister/fallback/templates/my_fallback_shifts.html index d7e42a5..845dc74 100644 --- a/shiftregister/fallback/templates/my_fallback_shifts.html +++ b/shiftregister/fallback/templates/my_fallback_shifts.html @@ -1,6 +1,7 @@ {% extends "base.html" %} {% block title %}Teamschichten{%endblock%} +{% load shift_extras %} {% block body %}
@@ -10,6 +11,7 @@ Wann + Wie lange Wo Helfer:innen Team-Mitglieder @@ -19,6 +21,7 @@ {% for shift in shifts %} {{ shift.start_at }} + {{ shift.duration|duration }} {{ shift.room.name }} {{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}