|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% load shift_extras %}
|
|
|
|
|
|
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
|
|
|
|
|
@ -10,15 +11,28 @@
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Schicht</th>
|
|
|
|
|
<th>Startzeit</th>
|
|
|
|
|
<th>Dauer</th>
|
|
|
|
|
<th>Aktionen</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for reg in object_list %}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{ reg.helper.name }} ({{ reg.helper.phone|stringformat:"s"|slice:"-3:" }})</td>
|
|
|
|
|
<td>{{ reg.shift.room }}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a href="{% url 'team:helper' reg.helper.pk %}">
|
|
|
|
|
{{ reg.helper.name }} ({{ reg.helper.phone|stringformat:"s"|slice:"-3:" }})
|
|
|
|
|
{% if not reg.helper.asta_confirmed %}
|
|
|
|
|
<span class="tag is-danger">AStA</span>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</a>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<span class="{{ reg.shift.event.calendar.needs_fallback|yesno:"is-underlined," }}">
|
|
|
|
|
<a href="{% url 'team:shift_room' reg.shift.room.pk %}">{{ reg.shift.room }}</a>
|
|
|
|
|
</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td><a href="{% url 'team:shift' reg.shift.pk %}">{{ reg.shift.start_at }}</a></td>
|
|
|
|
|
<td><a href="{% url 'team:shift' reg.shift.pk %}">{{ reg.shift.duration|duration }}</a></td>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="button is-success is-small" href="{% url 'team:checkin' reg.pk %}">Als angekommen markieren</a>
|
|
|
|
|
<a class="button is-danger is-small" href="{% url 'team:mark_as_failed' reg.pk %}">Nicht angetreten</a>
|
|
|
|
|