diff --git a/core/views/caves.py b/core/views/caves.py index 5f939dc..bd1de70 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -132,6 +132,7 @@ def caveindex(request): pass caves1623 = list(Cave.objects.filter(areacode="1623")) + caves1624 = list(Cave.objects.filter(areacode="1624")) caves1626 = list(Cave.objects.filter(areacode="1626")) caves1627 = list(Cave.objects.filter(areacode="1627")) caves1623.sort(key=caveKey) @@ -140,7 +141,12 @@ def caveindex(request): return render( request, "caveindex.html", - {"caves1623": caves1623, "caves1626": caves1626, "caves1627": caves1627, "notablecaves": getnotablecaves(), "cavepage": True}, + {"caves1623": caves1623, + "caves1626": caves1626, + "caves1627": caves1627, + "caves1624": caves1624, + "notablecaves": getnotablecaves(), + "cavepage": True}, ) def entranceindex(request): diff --git a/templates/caveindex.html b/templates/caveindex.html index 4c2fb52..3b69886 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -84,6 +84,7 @@ Black triangle ▲ against a name indicat Cave Number Index - kept updated
+{% 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.no_location %}▲{% endif %} + {% if cave.entrances %} + {% else %}▲ + {% endif %} + {% else %}▼ + {% endif %} + {% if cave.survex_file %}{% else %}*{% endif %} + |