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