From 12cee59605de4a3e016d215ce8fc42aa60d09f68 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Wed, 7 Jun 2023 22:38:22 +0100 Subject: [PATCH] Try not showing kataster codes if they are empty/None --- templates/cave.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/cave.html b/templates/cave.html index d403bc4..0ed5520 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -58,7 +58,9 @@ {{ cave.official_name|safe }} + {% if cave.kataster_code %} {{ cave.kataster_code|safe }} + {% endif %}