Merge pull request '[TASK] group reservations in log to avoid near-duplicates' (#420) from group-reservations-in-log into main
Reviewed-on: #420
This commit is contained in:
		| @@ -2,7 +2,8 @@ | ||||
|     <div class="bg-white dark:bg-primary-900 rounded-md shadow pb-2 mt-3"> | ||||
|         <h2 class="h2">Reservierungen ({{ reservations | length }})</h2> | ||||
|         <div class="grid grid-cols-1 gap-3 mb-3 w-full"> | ||||
|             {% for reservation in reservations %} | ||||
|             {% for _, reservations_for_event in reservations %} | ||||
|                 {% set reservation = reservations_for_event[0] %} | ||||
|                 <div class="pt-2 px-3 border-t text-primary-900 dark:text-white"> | ||||
|                     <strong class="block"> | ||||
|                         {{ reservation.start_date | date(format="%d.%m.%Y") }} | ||||
| @@ -13,7 +14,10 @@ | ||||
|                         <small>({{ reservation.time_desc }})</small> | ||||
|                     </strong> | ||||
|                     <span class="block"> | ||||
|                         {{ reservation.boat.name }} | ||||
|                         {% for reservation in reservations_for_event %} | ||||
|                             {{ reservation.boat.name }} | ||||
|                             {% if not loop.last %}+{% endif %} | ||||
|                         {% endfor %} | ||||
|                         <small>({{ reservation.user_applicant.name }})</small> | ||||
|                     </span> | ||||
|                     <span class="text-sm italic">{{ reservation.usage }}</span> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user