2
0
Fork 0

chore(checkin): improve layout of checkin list

This commit is contained in:
Luca 2024-05-14 20:47:50 +02:00
parent 517aaa1ff4
commit c50bb0ec78
1 changed files with 8 additions and 8 deletions

View File

@ -27,16 +27,16 @@
</a> </a>
</td> </td>
<td> <td>
<span class="{{ reg.shift.event.calendar.needs_fallback|yesno:"is-underlined," }}"> <a{% if reg.shift.event.calendar.needs_fallback %} class="is-underlined"{% endif %} href="{% url 'team:shift_room' reg.shift.room.pk %}">{{ reg.shift.room }}</a>
<a href="{% url 'team:shift_room' reg.shift.room.pk %}">{{ reg.shift.room }}</a>
</span>
</td> </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.start_at }}</a></td>
<td><a href="{% url 'team:shift' reg.shift.pk %}">{{ reg.shift.duration|duration }}</a></td> <td><a href="{% url 'team:shift' reg.shift.pk %}">{{ reg.shift.duration|duration }}</a></td>
<td> <td>
<a class="button is-success is-small" href="{% url 'team:checkin' reg.pk %}">Als angekommen markieren</a> <div class="buttons">
<a class="button is-danger is-small" href="{% url 'team:mark_as_failed' reg.pk %}">Nicht angetreten</a> <a class="button is-success is-small" href="{% url 'team:checkin' reg.pk %}">Als angekommen markieren</a>
<a class="button is-link is-small" href="tel:{{ reg.helper.phone }}">📞</a> <a class="button is-danger is-small" href="{% url 'team:mark_as_failed' reg.pk %}">Nicht angetreten</a>
<a class="button is-link is-small" href="tel:{{ reg.helper.phone }}">📞</a>
</div>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}