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:
parent
152156227d
commit
31461531fc
@ -132,6 +132,7 @@ def caveindex(request):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
caves1623 = list(Cave.objects.filter(areacode="1623"))
|
caves1623 = list(Cave.objects.filter(areacode="1623"))
|
||||||
|
caves1624 = list(Cave.objects.filter(areacode="1624"))
|
||||||
caves1626 = list(Cave.objects.filter(areacode="1626"))
|
caves1626 = list(Cave.objects.filter(areacode="1626"))
|
||||||
caves1627 = list(Cave.objects.filter(areacode="1627"))
|
caves1627 = list(Cave.objects.filter(areacode="1627"))
|
||||||
caves1623.sort(key=caveKey)
|
caves1623.sort(key=caveKey)
|
||||||
@ -140,7 +141,12 @@ def caveindex(request):
|
|||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
"caveindex.html",
|
"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):
|
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>
|
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
<h3>1627</h3>
|
<h3>1627</h3>
|
||||||
<div style="column-count: 3;">
|
<div style="column-count: 3;">
|
||||||
<table class="searchable">
|
<table class="searchable">
|
||||||
@ -98,8 +99,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
|
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</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="{% url "newcave" %}">New Cave</a><br>
|
||||||
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
|
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
|
||||||
</p>
|
</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 %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user