From 2f3827d60e647573a55fb6806c85bd807bc9b8f1 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 6 Oct 2023 17:01:48 +0300 Subject: [PATCH] Display * triangle caves with no ent or survex --- templates/caveindex.html | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/templates/caveindex.html b/templates/caveindex.html index 510e02d98..e863f3d31 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -24,8 +24,9 @@ Red star * against a name indicates that no survex file is explicitly associated with the cave (but there might be a *fix somewhere)
-Orange triangle against a name indicates that the cave has no Entrance.
- +Blue triangle against a name indicates that the cave is 'pending' creation properly.
+Orange triangle against a name indicates that the cave has no Entrance (and is not 'pending').
+

1623

@@ -40,8 +41,11 @@ Orange triangle against a name indic {% else %} {{cave.unofficial_number }} {{cave.official_name|safe}} {% endif %} + {% if cave.filename %} + {% if cave.entrances %}{% else %}{% endif %} + {% else %} + {% endif %} {% if cave.survex_file %}{% else %}*{% endif %} - {% if cave.entrances %}{% else %}{% endif %} {% endfor %} @@ -58,8 +62,11 @@ Orange triangle against a name indic {% for cave in caves1626 %} {% endfor %} @@ -76,8 +83,11 @@ Orange triangle against a name indic
{% 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 %} + {% if cave.filename %} + {% if cave.entrances %}{% else %}{% endif %} + {% else %} + {% endif %} {% if cave.survex_file %}{% else %}*{% endif %} - {% if cave.entrances %}{% else %}{% endif %}
{% for cave in caves1627 %} {% endfor %}
{% 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 %} + {% if cave.filename %} + {% if cave.entrances %}{% else %}{% endif %} + {% else %} + {% endif %} {% if cave.survex_file %}{% else %}*{% endif %} - {% if cave.entrances %}{% else %}{% endif %}