diff --git a/shiftregister/app/templates/shift.html b/shiftregister/app/templates/shift.html index 596e799..d935197 100644 --- a/shiftregister/app/templates/shift.html +++ b/shiftregister/app/templates/shift.html @@ -16,7 +16,8 @@
Ort: {{ shift.room.name }}
Beginn: {{ shift.start_at }}
- Dauer: {{ shift.duration }} + Dauer: {{ shift.duration }}
+ {{ shift.description|linebreaksbr }}
{% if can_register and not shift.deleted %}
diff --git a/shiftregister/team/templates/shift_detail.html b/shiftregister/team/templates/shift_detail.html index e6581cb..2a1fb8e 100644 --- a/shiftregister/team/templates/shift_detail.html +++ b/shiftregister/team/templates/shift_detail.html @@ -2,7 +2,12 @@ {% block title %}Schichtdetails{% endblock %} {% block content %} -

{% if shift.deleted %}(gelöscht) {% endif %}{{ shift.room.name }} {{ shift.start_at }} ({{ shift.shiftregistration_set.count }}/{{ shift.required_helpers|default:shift.room.required_helpers }})

+

{% if shift.deleted %}(gelöscht) {% endif %}{{ shift.room.name }} {{ shift.start_at }} ({{ shift.shiftregistration_set.count }}/{{ shift.required_helpers|default:shift.room.required_helpers }})

+{% if shift.description %} +
+ {{ shift.description|linebreaksbr }} +
+{% endif %} {% if shift.shiftregistration_set.all %}
Helfer*innen