summaryrefslogtreecommitdiffstats
path: root/templates/cave.html
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2023-06-07 23:08:28 +0100
committerMartin Green <martin.speleo@gmail.com>2023-06-07 23:08:28 +0100
commitd242a8bb1dfc286b1a226795a47b6b3e0e878fb9 (patch)
tree6a011221186d50437cac9c72e6c6ec120bf99a53 /templates/cave.html
parent0cd32d6a15a2ded9b1edac66954e0b729ed4d154 (diff)
downloadtroggle-d242a8bb1dfc286b1a226795a47b6b3e0e878fb9.tar.gz
troggle-d242a8bb1dfc286b1a226795a47b6b3e0e878fb9.tar.bz2
troggle-d242a8bb1dfc286b1a226795a47b6b3e0e878fb9.zip
Try using url template command to link to 3d files
Diffstat (limited to 'templates/cave.html')
-rw-r--r--templates/cave.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/cave.html b/templates/cave.html
index 979e4b7..2b65bdd 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -196,6 +196,7 @@
<p>[<a href="https://aardgoose.github.io/CaveView.js/">CaveView</a> display of the .3d file is temporarily disabled while we fix things (Nov.2021).<br> See <a href="/handbook/computing/todo.rst">/handbook/computing/todo.rst</a>.]<br><br>
Download .3d file <a href="/cave/3d/{{cave}}">caves-{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}/{{svx3d}}.3d</a>
+ Download .3d file <a href="{% url "cave3d" cave %}">caves-{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}/{{svx3d}}.3d</a>
<br>
cave ID '{{cave.reference}}'<br>
cave survex path '{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}'