diff --git a/templates/cave.html b/templates/cave.html index 2b65bdd..36bc4bd 100644 --- a/templates/cave.html +++ b/templates/cave.html @@ -25,8 +25,8 @@ // Note the special code in views.caves.py to do this. The appropriate .svx/.3d file may not be simply the cave name +.3d const ui = new CV2.CaveViewUI( viewer ); - ui.loadCave('{{svx3d}}.3d'); - //ui.loadCave('/cave/3d/{{cave}}'); + //ui.loadCave('{{svx3d}}.3d'); + ui.loadCave('{% url "cave3d" cave %}'); } window.onload = onLoad; @@ -91,6 +91,8 @@ {{ cave.kataster_status|safe }} {% endif %} {% endcomment %} +{% comment "Is this underground centre line section ever usefull? I suspect it should be deleted. MJG" %} +{% endcomment %} {% if cave.underground_centre_line %}

Underground Centre Line

{{ cave.underground_centre_line|safe }} @@ -193,9 +195,7 @@ All survexfiles for this cave {
{% if cave.survex_file %} Primary survex file for this cave -

[CaveView display of the .3d file is temporarily disabled while we fix things (Nov.2021).
See /handbook/computing/todo.rst.]

- - Download .3d file caves-{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}/{{svx3d}}.3d +
Download .3d file caves-{{ cave.area.all.0.kat_area }}/{{cave.kataster_number}}/{{svx3d}}.3d
cave ID '{{cave.reference}}'