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
commit46124a770f60f421c98f2edb11ae7c0028398971 (patch)
treedd9e20a46cb80f6e587c892545c3e5672e7106b8 /templates
parent6f6327d267bd7fa568365f6a760e31964174cd4a (diff)
downloadtroggle-46124a770f60f421c98f2edb11ae7c0028398971.tar.gz
troggle-46124a770f60f421c98f2edb11ae7c0028398971.tar.bz2
troggle-46124a770f60f421c98f2edb11ae7c0028398971.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 %}