|
|
@ -1,6 +1,6 @@
|
|
|
|
{% extends "team_base.html" %}
|
|
|
|
{% extends "team_base.html" %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block title %}Schichtuebersicht{% endblock %}
|
|
|
|
{% block title %}Schichtübersicht{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% block content %}
|
|
|
|
{% if running_shifts %}
|
|
|
|
{% if running_shifts %}
|
|
|
|
<h2>Laufende Schichten</h2>
|
|
|
|
<h2>Laufende Schichten</h2>
|
|
|
@ -10,8 +10,10 @@
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
<h2>Naechste Schichten</h2>
|
|
|
|
<h2>Nächste Schichten</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for shift in next_shifts %}
|
|
|
|
{% for shift in next_shifts %}
|
|
|
|
<li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li>
|
|
|
|
<li>{{ shift.room.name }} {{ shift.start_at }}({{ shift.shiftregistration_set.count }}/{{ shift.room.required_helpers }})<a href="{% url 'team:shift' shift.id %}">Details</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|