2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 12:17:52 +00:00

tidied tables of stations and entrances

This commit is contained in:
2023-11-02 19:24:07 +02:00
parent c95e6e8097
commit 685131a4c1
3 changed files with 29 additions and 58 deletions

View File

@@ -16,10 +16,12 @@
<tbody>
<ul>
{% for entrance in entrances %}
<tr><td>{{ entrance }}</td><td>{% for cave in entrance.cavelist %}<a href="{{ cave.url }}">{{ cave }}</a>{% endfor %}</td><td>
<tr><td>{{ entrance }}</td><td>{% for cave in entrance.cavelist %}<a href="{{ cave.url }}">{{ cave }}</a>{% endfor %}</td>
<td id="{{ entrance.best_station }}"><a href="/stations#{{ entrance.best_station }}">
{% if entrance.best_station%}
{{ entrance.best_station }}
{% endif %}</td>
{% endif %}
</a></td>
<td>{% if entrance.tag %}
<a href="https://www.openstreetmap.org/?mlat={{ entrance.tag.latlong.0|floatformat:7}}&mlon={{entrance.tag.latlong.1|floatformat:7}}">{{ entrance.tag.latlong.0|floatformat:5}} N, {{ entrance.tag.latlong.1|floatformat:5 }} E</a>
{% endif %}</td>