From 549ddd3b6057ef04f1c1fdb77543c4a5ec0bbd23 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 16 Jan 2024 18:10:13 +0000 Subject: [PATCH] Hide holidays if empty --- templates/trip_page.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/trip_page.html b/templates/trip_page.html index e4b57d6..7c97800 100644 --- a/templates/trip_page.html +++ b/templates/trip_page.html @@ -72,6 +72,7 @@ {% for item in trip.travel %} {{ row[item.type](item) }} {% endfor %} + {% if holidays %}

Holidays

@@ -90,6 +91,7 @@ {% endfor %}
+ {% endif %}

{% if prev_trip %}