2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 05:11:52 +00:00

Hack to turn cave URL to absolute links, so they can work from anywhere on the website.

This commit is contained in:
Martin Green 2023-05-08 22:32:49 +01:00
parent f7fca58c57
commit 77ed1b444c

View File

@ -1,5 +1,5 @@
<dl> <dl>
<a href="{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0.name }}</a> <a href="/{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0.name }}</a>
{% if entrance.marking %} {% if entrance.marking %}
<dt>Marking</dt><dd>{{ entrance.marking_val|safe }}</dd> <dt>Marking</dt><dd>{{ entrance.marking_val|safe }}</dd>
{% endif %} {% endif %}