diff --git a/shiftregister/team/templates/checkin_list.html b/shiftregister/team/templates/checkin_list.html index 4931852..4435351 100644 --- a/shiftregister/team/templates/checkin_list.html +++ b/shiftregister/team/templates/checkin_list.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load shift_extras %} {% block title %}{{ title }}{% endblock %} @@ -10,15 +11,28 @@ Name Schicht Startzeit + Dauer Aktionen {% for reg in object_list %} - {{ reg.helper.name }} ({{ reg.helper.phone|stringformat:"s"|slice:"-3:" }}) - {{ reg.shift.room }} + + + {{ reg.helper.name }} ({{ reg.helper.phone|stringformat:"s"|slice:"-3:" }}) + {% if not reg.helper.asta_confirmed %} + AStA + {% endif %} + + + + + {{ reg.shift.room }} + + {{ reg.shift.start_at }} + {{ reg.shift.duration|duration }} Als angekommen markieren Nicht angetreten diff --git a/shiftregister/team/templates/partials/shift_box.html b/shiftregister/team/templates/partials/shift_box.html index 189461b..d525c4f 100644 --- a/shiftregister/team/templates/partials/shift_box.html +++ b/shiftregister/team/templates/partials/shift_box.html @@ -3,7 +3,7 @@ {% if shift.deleted %} gelöscht
{% endif %} - Ort: {{ shift.room.name }}
+ Ort: {{ shift.room.name }}
Beginn: {{ shift.start_at }}
Dauer: {{ shift.duration }}
Belegung: {{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}