From f9da38e4f1d72755ab96194d3e1c3dc55e849a8d Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Sun, 7 May 2023 02:14:47 +0200 Subject: [PATCH] make whole shift container clickable in team backend --- shiftregister/team/templates/helper_detail.html | 4 +++- shiftregister/team/templates/shift_list.html | 4 +++- shiftregister/team/templates/shift_overview.html | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/shiftregister/team/templates/helper_detail.html b/shiftregister/team/templates/helper_detail.html index d6ba45c..318878c 100644 --- a/shiftregister/team/templates/helper_detail.html +++ b/shiftregister/team/templates/helper_detail.html @@ -10,7 +10,9 @@
Schichten
{% for reg in helper.shiftregistration_set.all %} - {% include 'partials/shift_list_item.html' with shift=reg.shift %} + + {% include 'partials/shift_list_item.html' with shift=reg.shift %} + {% endfor %}
{% endblock %} diff --git a/shiftregister/team/templates/shift_list.html b/shiftregister/team/templates/shift_list.html index d678283..0a8dbc8 100644 --- a/shiftregister/team/templates/shift_list.html +++ b/shiftregister/team/templates/shift_list.html @@ -6,7 +6,9 @@

{{ title }}

{% for shift in object_list %} - {% include "partials/shift_list_item.html" %} + + {% include "partials/shift_list_item.html" %} + {% endfor %}
{% endblock %} diff --git a/shiftregister/team/templates/shift_overview.html b/shiftregister/team/templates/shift_overview.html index 8986c02..bdf68ee 100644 --- a/shiftregister/team/templates/shift_overview.html +++ b/shiftregister/team/templates/shift_overview.html @@ -17,7 +17,9 @@ {% for shift in next_shifts %}
{{ shift.room.name }}
- {% include "partials/shift_box.html" %} + + {% include "partials/shift_box.html" %} +
{% endfor %}