|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% block title %}Teamschichten{%endblock%}
|
|
|
|
|
|
|
|
|
|
{% load shift_extras %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
<section class="section">
|
|
|
|
@ -10,6 +11,7 @@
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Wann</th>
|
|
|
|
|
<th>Wie lange</th>
|
|
|
|
|
<th>Wo</th>
|
|
|
|
|
<th>Helfer:innen</th>
|
|
|
|
|
<th>Team-Mitglieder</th>
|
|
|
|
@ -19,6 +21,7 @@
|
|
|
|
|
{% for shift in shifts %}
|
|
|
|
|
<tr {% if shift.registration_count == shift.required_helpers|default:shift.room.required_helpers %}style="opacity: 0.2"{% endif %}>
|
|
|
|
|
<td>{{ shift.start_at }}</td>
|
|
|
|
|
<td>{{ shift.duration|duration }}</td>
|
|
|
|
|
<td>{{ shift.room.name }} </td>
|
|
|
|
|
<td>{{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}</td>
|
|
|
|
|
<td>
|
|
|
|
|