2
0
Fork 0

Always show 'Details' button on shift list items

This commit is contained in:
Luca 2023-05-05 20:51:55 +02:00
parent d4fdc952aa
commit 159e1b719f
1 changed files with 3 additions and 4 deletions

View File

@ -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>