only show delete_trip button when no one is registered

This commit is contained in:
philipp 2023-04-07 11:17:25 +02:00
parent 3f9d5bb4c7
commit eeb7af4fc1

View File

@ -175,11 +175,11 @@
{% endfor %} {% endfor %}
{% else %} {% else %}
Keine Ruderer angemeldet Keine Ruderer angemeldet
<a href="/cox/remove/trip/{{ trip.id }}">LÖSCHEN</a>
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
</div> </div>
<div><a href="/cox/remove/trip/{{ trip.id }}">LÖSCHEN</a></div>
</div> </div>
<div class="sidebar-overlay" data-trigger="detailTrip{{ trip.trip_details_id }}"></div> <div class="sidebar-overlay" data-trigger="detailTrip{{ trip.trip_details_id }}"></div>
{% endfor %} {% endfor %}