diff options
Diffstat (limited to 'templates/entranceindex.html')
-rw-r--r-- | templates/entranceindex.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/entranceindex.html b/templates/entranceindex.html index 115c33b..6c26c9d 100644 --- a/templates/entranceindex.html +++ b/templates/entranceindex.html @@ -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> |