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 %}