summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2018-04-20 20:55:12 +0100
committerSam Wenham <sam@wenhams.co.uk>2018-04-20 20:55:12 +0100
commitaf13e84c74790032d9280fc0487b1e0f0383ef5b (patch)
treedd9e20a46cb80f6e587c892545c3e5672e7106b8 /templates
parentbcaa4b27d2b55bca4046fa565fa1c116426e655c (diff)
downloadtroggle-af13e84c74790032d9280fc0487b1e0f0383ef5b.tar.gz
troggle-af13e84c74790032d9280fc0487b1e0f0383ef5b.tar.bz2
troggle-af13e84c74790032d9280fc0487b1e0f0383ef5b.zip
Fix the django for the spinny js cave viewer.
Make the paths settings (don't hard code things like this!!) Add " round spinny urls from the late merge (the rest were done for the move off 1.4.2
Diffstat (limited to 'templates')
-rw-r--r--templates/cave.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/cave.html b/templates/cave.html
index 6589a48..1ba898e 100644
--- a/templates/cave.html
+++ b/templates/cave.html
@@ -564,7 +564,7 @@ div#scene {
{% endif %}
{% if cave.survex_file %}
<h2>Survex File</h2>
- {{ cave.survex_file|safe }} <a href="{% if cave.kataster_number %}{% url cave3d cave.kataster_number %}{% else %}{% url cave3d cave.unofficial_number %}{% endif %}">3d file</a>
+ {{ cave.survex_file|safe }} <a href="{% if cave.kataster_number %}{% url "cave3d" cave.kataster_number %}{% else %}{% url "cave3d" cave.unofficial_number %}{% endif %}">3d file</a>
<div id='scene'></div>
{% endif %}
{% if cave.notes %}