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:
		@@ -92,26 +92,25 @@
 | 
			
		||||
                    {% 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">
 | 
			
		||||
                            {# --- START Boatreservations--- #}
 | 
			
		||||
 | 
			
		||||
            {% for _, reservations_for_event in day.boat_reservations %}
 | 
			
		||||
                {% set reservation = reservations_for_event[0] %}
 | 
			
		||||
                                    <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="mr-1">
 | 
			
		||||
                                                    <strong class="text-primary-900 dark:text-white">
 | 
			
		||||
                                                        Reservierung 
 | 
			
		||||
                        {% for reservation in reservations_for_event -%}
 | 
			
		||||
                            {{ reservation.boat.name }}
 | 
			
		||||
                            {%- if not loop.last %} + {% endif -%}
 | 
			
		||||
                        {% endfor -%}
 | 
			
		||||
						: {{ reservation.time_desc }} 
 | 
			
		||||
                                                    </strong>
 | 
			
		||||
                                                    <small class="text-gray-600 dark:text-gray-100">(von {{ reservation.user_applicant.name }}, Grund: {{ reservation.usage}})</small>
 | 
			
		||||
                                                <br />
 | 
			
		||||
                                            </div>
 | 
			
		||||
                            {% for _, reservations_for_event in day.boat_reservations %}
 | 
			
		||||
                            {% set reservation = reservations_for_event[0] %}
 | 
			
		||||
                                <div class="pt-2 px-3 border-gray-200">
 | 
			
		||||
                                    <div class="flex justify-between items-center">
 | 
			
		||||
                                        <div class="mr-1">
 | 
			
		||||
                                            <span 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/>
 | 
			
		||||
                                                <strong>
 | 
			
		||||
                                                {% for reservation in reservations_for_event -%}
 | 
			
		||||
                                                    {{ reservation.boat.name }}
 | 
			
		||||
                                                    {%- if not loop.last %} + {% endif -%}
 | 
			
		||||
                                                {% endfor -%}
 | 
			
		||||
                                                </strong>
 | 
			
		||||
                                            </span>
 | 
			
		||||
                                            <small class="text-gray-600 dark:text-gray-100">(Reservierung - {{ reservation.usage}})</small>
 | 
			
		||||
                                        </div>
 | 
			
		||||
                                    </div>
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
                                </div>
 | 
			
		||||
                            {% endfor %}
 | 
			
		||||
                            {# --- END Boatreservations--- #}
 | 
			
		||||
                            {# --- START Events --- #}
 | 
			
		||||
                            {% if day.events | length > 0 %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user