show status of trip by adding icon and text
This commit is contained in:
parent
cdebcefae8
commit
cecf15320d
@ -43,7 +43,7 @@
|
||||
class="text-gray-600">({{ planned_event.name }})</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.notes %}<small class='block'>{{ planned_event.notes }}</small>{% endif %}"
|
||||
data-header="<strong>{{ planned_event.planned_starting_time }} Uhr </strong> ({{ planned_event.name }}){% if planned_event.notes %}<small class='block'>{{ planned_event.notes }}</small>{% endif %}"
|
||||
data-body="#event{{ planned_event.trip_details_id }}"
|
||||
class="inline-block link-primary mr-3">
|
||||
Details
|
||||
@ -139,10 +139,15 @@
|
||||
<div class="pt-2 reset-js" data-coxneeded="false">
|
||||
<div class="flex justify-between items-center">
|
||||
<div>
|
||||
<strong class="text-primary-900">{{ trip.planned_starting_time }} Uhr</strong> <small
|
||||
class="text-gray-600">({{ trip.cox_name }})</small><br />
|
||||
<strong class="text-primary-900">{% if trip.max_people == 0 %}<span class="text-[#f43f5e]">⚠ </span>{% endif %}{{ trip.planned_starting_time }} Uhr</strong>
|
||||
{% if trip.max_people == 0 %}
|
||||
<small class="text-[#f43f5e]">(Absage {{ trip.cox_name }})</small>
|
||||
{% else %}
|
||||
<small class="text-gray-600">({{ trip.cox_name }})</small>
|
||||
{% endif %}
|
||||
<br />
|
||||
<a href="#" data-sidebar="true" data-trigger="sidebar"
|
||||
data-header="<strong>{{ trip.planned_starting_time }} Uhr</strong> ({{ trip.cox_name }}){% if trip.notes %}<small class='block'>{{ trip.notes }}</small>{% endif %}"
|
||||
data-header="<strong>{% if trip.max_people == 0 %}⚠ {% endif %}{{ trip.planned_starting_time }} Uhr</strong> ({{ trip.cox_name }}){% if trip.notes and trip.max_people > 0 %}<small class='block'>{{ trip.notes }}</small>{% endif %}{% if trip.max_people == 0 %}<small class='block'>Ausfahrt abgesagt!</small>{% endif %}"
|
||||
data-body="#trip{{ trip.trip_details_id }}"
|
||||
class="inline-block link-primary mr-3">
|
||||
Details
|
||||
|
Loading…
Reference in New Issue
Block a user