|
|
@ -7,6 +7,9 @@
|
|
|
|
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
|
|
|
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
|
|
|
<strong>Dauer:</strong> {{ shift.duration }}<br>
|
|
|
|
<strong>Dauer:</strong> {{ shift.duration }}<br>
|
|
|
|
<strong>Belegung:</strong> {{ shift.shiftregistration_set.count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}
|
|
|
|
<strong>Belegung:</strong> {{ shift.shiftregistration_set.count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}
|
|
|
|
|
|
|
|
{% if shift.teambackup_set.all.count %}<br>
|
|
|
|
|
|
|
|
<strong>Backup Teammitglied(er): {%for member in shift.teambackup_set.all%}{{member.name}}, {%endfor%}</strong>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="is-flex is-justify-content-end">
|
|
|
|
<div class="is-flex is-justify-content-end">
|
|
|
|
<a class="button is-info is-small" href="{% url 'team:shift' shift.id %}">Details</a>
|
|
|
|
<a class="button is-info is-small" href="{% url 'team:shift' shift.id %}">Details</a>
|
|
|
|