Always show 'Details' button on shift list items

pull/1/head
Luca 2 years ago
parent d4fdc952aa
commit 159e1b719f

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

Loading…
Cancel
Save