forked from Ruderverein-Donau-Linz/rowt
Merge pull request 'reservation-styling' (#838) from reservation-styling into staging
Reviewed-on: Ruderverein-Donau-Linz/rowt#838
This commit is contained in:
commit
ebc7c32351
@ -92,26 +92,25 @@
|
|||||||
{% if day.events | length > 0 or day.trips | length > 0 or day.boat_reservations | length > 0 %}
|
{% if day.events | length > 0 or day.trips | length > 0 or day.boat_reservations | length > 0 %}
|
||||||
<div class="grid grid-cols-1 gap-3 mb-3">
|
<div class="grid grid-cols-1 gap-3 mb-3">
|
||||||
{# --- START Boatreservations--- #}
|
{# --- START Boatreservations--- #}
|
||||||
|
{% for _, reservations_for_event in day.boat_reservations %}
|
||||||
{% for _, reservations_for_event in day.boat_reservations %}
|
{% set reservation = reservations_for_event[0] %}
|
||||||
{% set reservation = reservations_for_event[0] %}
|
<div class="pt-2 px-3 border-gray-200">
|
||||||
<div class="pt-2 px-3 {% if not loop.first %}border-t{% endif %} border-gray-200">
|
<div class="flex justify-between items-center">
|
||||||
<div class="flex justify-between items-center">
|
<div class="mr-1">
|
||||||
<div class="mr-1">
|
<span class="text-primary-900 dark:text-white">
|
||||||
<strong class="text-primary-900 dark:text-white">
|
⏳ {{ reservation.time_desc }} <small class="text-gray-600 dark:text-gray-100">({{ reservation.user_applicant.name }})</small><br/>
|
||||||
Reservierung
|
<strong>
|
||||||
{% for reservation in reservations_for_event -%}
|
{% for reservation in reservations_for_event -%}
|
||||||
{{ reservation.boat.name }}
|
{{ reservation.boat.name }}
|
||||||
{%- if not loop.last %} + {% endif -%}
|
{%- if not loop.last %} + {% endif -%}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
: {{ reservation.time_desc }}
|
</strong>
|
||||||
</strong>
|
</span>
|
||||||
<small class="text-gray-600 dark:text-gray-100">(von {{ reservation.user_applicant.name }}, Grund: {{ reservation.usage}})</small>
|
<small class="text-gray-600 dark:text-gray-100">(Reservierung - {{ reservation.usage}})</small>
|
||||||
<br />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
</div>
|
||||||
|
{% endfor %}
|
||||||
{# --- END Boatreservations--- #}
|
{# --- END Boatreservations--- #}
|
||||||
{# --- START Events --- #}
|
{# --- START Events --- #}
|
||||||
{% if day.events | length > 0 %}
|
{% if day.events | length > 0 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user