From 5469794159045a9e21d86303cae9edafd6248001 Mon Sep 17 00:00:00 2001 From: Wookey Date: Wed, 27 Mar 2019 01:59:09 +0000 Subject: [PATCH] Only show unofficial number if it's not already displayed --- templates/caveindex.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/caveindex.html b/templates/caveindex.html index f5a9bbf..9d56d26 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -11,7 +11,7 @@

Notable caves

@@ -20,7 +20,7 @@ {% for cave in caves1623 %} - + {% endfor %}
{% if cave.kataster_number %}{{ cave.kataster_number }}{% else %}{{cave.unofficial_number }}{%endif %} {{cave.official_name|safe}} {% if cave.unofficial_number %}({{cave.unofficial_number }}){%endif %}
{% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}} {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}} {% endif %}
@@ -30,7 +30,8 @@