|
|
@ -8,11 +8,10 @@
|
|
|
|
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
|
|
|
<strong>Beginn:</strong> {{ shift.start_at }}<br>
|
|
|
|
<strong>Dauer:</strong> {{ shift.duration }}
|
|
|
|
<strong>Dauer:</strong> {{ shift.duration }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="is-flex is-justify-content-end">
|
|
|
|
<div class="buttons is-right">
|
|
|
|
{% if registered %}
|
|
|
|
|
|
|
|
<a class="button is-info is-small" href="{% url 'shift' shift.id %}">Details</a>
|
|
|
|
<a class="button is-info is-small" href="{% url 'shift' shift.id %}">Details</a>
|
|
|
|
{% else %}
|
|
|
|
{% if not registered %}
|
|
|
|
<a class="button is-primary is-small" href="{% url 'shift' shift.id %}">Mithelfen</a>
|
|
|
|
<a class="button is-primary is-small ml-3" href="{% url 'shift' shift.id %}">Mithelfen</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|