mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
add 1624 caves
This commit is contained in:
parent
152156227d
commit
31461531fc
@ -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):
|
||||
|
@ -84,6 +84,7 @@ Black triangle <span style="color: black">▲</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,8 +99,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
{% endif %}
|
||||
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
|
||||
</td></tr>
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -107,4 +107,29 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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">▲</span>{% endif %}
|
||||
{% if cave.entrances %}
|
||||
{% else %}<span style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span style="color: blue">▼</span>
|
||||
{% endif %}
|
||||
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
|
||||
</td></tr>
|
||||
|
||||
{% 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>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user