Add links to entrances page

This commit is contained in:
Martin Green 2023-07-03 09:32:34 +01:00
parent 01964e7cf6
commit 52299fb6fd

View File

@ -9,12 +9,12 @@
<table> <table>
<theader> <theader>
<tr><th>Name</th><th>Point</th><th>Position</th>tr> <tr><th>Name</th><th>Caves</th><th>Point</th><th>Position</th></tr>
</theader> </theader>
<tbody> <tbody>
<ul> <ul>
{% for entrance in entrances %} {% for entrance in entrances %}
<tr><td>{{ entrance }}</td><td>{{ entrance.best_station }}</td><td>{{ entrance.latlong }}</td></tr> <tr><td>{{ entrance }}</td><td>{% for cave in entrance.cavelist %}<a href="{{ cave.url }}">{{ cave }}</a>{% endfor %}</td><td>{{ entrance.best_station }}</td><td>{{ entrance.latlong }}</td></tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</ul> </ul>