From dce8fde29a7106ea011b0d8d830a3ca8506c5d75 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 16 Apr 2024 12:12:19 +0100 Subject: [PATCH] Update template --- templates/trip_page.html | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/templates/trip_page.html b/templates/trip_page.html index 0c1d05a..da05843 100644 --- a/templates/trip_page.html +++ b/templates/trip_page.html @@ -248,23 +248,22 @@

Holidays

{% if holidays %} - - - {% for item in holidays %} - {% set country = get_country(item.country) %} - - {% if loop.first or item.date != loop.previtem.date %} - - {% else %} - - {% endif %} - - - - {% endfor %} -
{{ display_date(item.date) }}{{ country.flag }} {{ country.name }}{{ item.display_name }}
+ + {% for item in holidays %} + {% set country = get_country(item.country) %} + + {% if loop.first or item.date != loop.previtem.date %} + + {% else %} + + {% endif %} + + + + {% endfor %} +
{{ display_date(item.date) }}{{ country.flag }} {{ country.name }}{{ item.display_name }}
{% else %} -

No public holidays during trip.

+

No public holidays during trip.

{% endif %}