diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-21 12:56:51 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-21 12:56:51 +0000 |
commit | 7caf1690c62bd43f9eb3462a89d0631cba7298b0 (patch) | |
tree | 327f6ff8579767f5096cd031e3ce4fa487bd6e6c /templates/cave.html | |
parent | 4ae79a642e079ecd366601649067680f1b66159c (diff) | |
download | troggle-7caf1690c62bd43f9eb3462a89d0631cba7298b0.tar.gz troggle-7caf1690c62bd43f9eb3462a89d0631cba7298b0.tar.bz2 troggle-7caf1690c62bd43f9eb3462a89d0631cba7298b0.zip |
fix download .3d file
Diffstat (limited to 'templates/cave.html')
-rw-r--r-- | templates/cave.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/cave.html b/templates/cave.html index a7faab2..65d43f5 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -480,17 +480,22 @@ div#scene { <div id="Description"> - +{% comment %} The 'cave' object has text field, not forign-key fields, so we cant dereference to get info on the survex file +{% endcomment %} <p>{% if cave.explorers %} <h2>Explorers</h2> {{ cave.explorers|safe }} {% endif %} <h2>Survex File(s)</h2> - All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave<br /> + All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave {<br /> {% if cave.survex_file %} Primary <a href="/survexfile/{{cave.survex_file}}">survex file</a> for this cave <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> +<br> +cave ID '{{cave.reference}}'<br> +cave survex path '{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}' <div id='scene'></div> {% endif %} {% if cave.underground_description %} |