also be able to cancel trips (not only events) #929

Merged
philipp merged 2 commits from zero-rower-events into staging 2025-04-18 23:32:36 +02:00
Showing only changes of commit fe6db2cdd5 - Show all commits

View File

@ -355,7 +355,7 @@
{# --- START Sidebar Content --- #}
<div class="hidden">
<div id="trip{{ trip.trip_details_id }}">
{% if trip.max_people == 0 %}
{% if trip.cancelled %}
{# --- border-[#f43f5e] bg-[#f43f5e] --- #}
{{ macros::box(participants=trip.rower,bg='[#f43f5e]',header='Absage', trip_details_id=trip.trip_details_id, allow_removing=loggedin_user.id == trip.cox_id) }}
{% else %}
@ -395,7 +395,7 @@
</a>
</div>
{% else %}
{% if trip.max_people == 0 %}
{% if trip.cancelled %}
Wenn du deine Absage absagen (:^)) willst, einfach entsprechende Anzahl an Ruderer oben eintragen.
{% else %}
<div class="bg-gray-100 dark:bg-primary-900 p-3 mt-4 rounded-md">