From 7d5cfe859a3001dae6ed35ea4526af28b6583149 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 5 Mar 2024 08:01:17 +0100 Subject: [PATCH] Don't show prices for travel and accommodation if not authenticated --- templates/trip_page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/trip_page.html b/templates/trip_page.html index 651bec2..ac8a381 100644 --- a/templates/trip_page.html +++ b/templates/trip_page.html @@ -144,7 +144,7 @@ country code {{ item.country }} not found {% endif %} - {% if item.price and item.currency %} + {% if g.user.is_authenticated and item.price and item.currency %} | price: {{ item.price }} {{ item.currency }} {% endif %}

@@ -170,7 +170,7 @@ country code {{ item.country }} not found {% endif %} - {% if item.price and item.currency %} + {% if g.user.is_authenticated and item.price and item.currency %} | price: {{ item.price }} {{ item.currency }} {% endif %}