[BUGFIX] styling special events list view

This commit is contained in:
Marie Birner 2023-06-08 15:37:05 +02:00
parent 6f2071df37
commit 46faccf959

View File

@ -42,11 +42,12 @@
<div class="mr-1">
<strong class="text-primary-900">
{{ planned_event.planned_starting_time }} Uhr
</strong>
<small class="text-gray-600">({{ planned_event.name }} -
{% if planned_event.trip_type %}
{{ planned_event.trip_type.icon | safe }}{{ planned_event.trip_type.name }}
{% endif %}
</strong>
<small class="text-gray-600">({{ planned_event.name }})</small><br />
{% endif %})
</small><br />
<a href="#" data-sidebar="true" data-trigger="sidebar"
data-header="<strong>{{ planned_event.planned_starting_time }} Uhr</strong> ({{ planned_event.name }}){% if planned_event.trip_type %}<small class='block'>{{ planned_event.trip_type.desc }}</small>{% endif %}{% if planned_event.notes %}<small class='block'>{{ planned_event.notes }}</small>{% endif %}"
@ -163,19 +164,19 @@
<div class="flex justify-between items-center">
<div class="mr-1">
{% if trip.max_people == 0 %}
<strong class="text-[#f43f5e]">&#9888; {{ trip.planned_starting_time }} Uhr
<strong class="text-[#f43f5e]">&#9888; {{ trip.planned_starting_time }} Uhr</strong>
<small class="text-[#f43f5e]">(Absage {{ trip.cox_name }} -
{% if trip.trip_type %}
{{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }}
{% endif %}
</strong>
<small class="text-[#f43f5e]">(Absage {{ trip.cox_name }})</small>
{% endif %})
</small>
{% else %}
<strong class="text-primary-900">{{ trip.planned_starting_time }} Uhr
<strong class="text-primary-900">{{ trip.planned_starting_time }} Uhr</strong>
<small class="text-gray-600">({{ trip.cox_name }} -
{% if trip.trip_type %}
{{ trip.trip_type.icon | safe }}{{ trip.trip_type.name }}
{% endif %}
</strong>
<small class="text-gray-600">({{ trip.cox_name }})</small>
{% endif %})
</small>
{% endif %}
<br />
<a href="#" data-sidebar="true" data-trigger="sidebar"