2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

add 1624 caves

This commit is contained in:
Philip Sargent 2023-10-08 00:06:12 +03:00
parent 152156227d
commit 31461531fc
2 changed files with 34 additions and 3 deletions

View File

@ -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):

View File

@ -84,6 +84,7 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
<h3>1627</h3>
<div style="column-count: 3;">
<table class="searchable">
@ -98,9 +99,33 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
{% endif %}
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
</td></tr>
{% endfor %}
{% endfor %}
</table>
</div>
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
<h3>1624</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1624 %}
<tr><td><a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}}</a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}}</a> {% endif %}
{% if cave.filename %}
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
{% if cave.entrances %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span style="color: blue">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
</td></tr>
{% endfor %}
</table>
</div>
<p style="text-align:right">