summaryrefslogtreecommitdiffstats
path: root/templates/svxfilecavelist.html
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2018-04-11 22:02:57 +0100
committerSam Wenham <sam@wenhams.co.uk>2018-04-11 22:02:57 +0100
commitffb5d7bdda5e35478a914ee822039f629b3af0fc (patch)
tree2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/svxfilecavelist.html
parent242cf4741a945027fb43d3c6fb08922165c61bf0 (diff)
downloadtroggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.tar.gz
troggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.tar.bz2
troggle-ffb5d7bdda5e35478a914ee822039f629b3af0fc.zip
Upgrade to django 1.5, some functions have been changed
url in templates now requires quotes roung the first arg USE_TZ added
Diffstat (limited to 'templates/svxfilecavelist.html')
-rw-r--r--templates/svxfilecavelist.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/svxfilecavelist.html b/templates/svxfilecavelist.html
index 52c8e83..2f80d46 100644
--- a/templates/svxfilecavelist.html
+++ b/templates/svxfilecavelist.html
@@ -12,23 +12,23 @@
<h2 id="cdir">Caves with subdirectories</h2>
{% for subdircave, cavefiles, subsurvdirs in subdircaves %}
-<h3>{{cavefiles.0.1}} - <a href="{% url survexcavessingle cavefiles.0.1 %}">dates and explorers</a></h3>
+<h3>{{cavefiles.0.1}} - <a href="{% url "survexcavessingle" cavefiles.0.1 %}">dates and explorers</a></h3>
<table>
<tr>
- <td><b><a href="{% url svx cavefiles.0.0 %}">{{cavefiles.0.1}}</a></b></td>
+ <td><b><a href="{% url "svx" cavefiles.0.0 %}">{{cavefiles.0.1}}</a></b></td>
<td>
{% for cavepath, cavename in cavefiles.1 %}
- <a href="{% url svx cavepath %}">{{cavename}}</a>
+ <a href="{% url "svx" cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
{% for primarycavefile, subcavefiles in subsurvdirs %}
<tr>
- <td><a href="{% url svx primarycavefile.0 %}">{{primarycavefile.1}}</a></td>
+ <td><a href="{% url "svx" primarycavefile.0 %}">{{primarycavefile.1}}</a></td>
<td>
{% for cavepath, cavename in subcavefiles %}
- <a href="{% url svx cavepath %}">{{cavename}}</a>
+ <a href="{% url "svx" cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
@@ -44,12 +44,12 @@
{% for primarycavefile, subcavefiles in multifilecaves %}
<tr>
<td>
- <a href="{% url survexcavessingle primarycavefile.1 %}">{{primarycavefile.1}}</a>
+ <a href="{% url "survexcavessingle" primarycavefile.1 %}">{{primarycavefile.1}}</a>
</td>
<td>
- <a href="{% url svx primarycavefile.0 %}">{{primarycavefile.1}}</a> -
+ <a href="{% url "svx" primarycavefile.0 %}">{{primarycavefile.1}}</a> -
{% for cavepath, cavename in subcavefiles %}
- <a href="{% url svx cavepath %}">{{cavename}}</a>
+ <a href="{% url "svx" cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
@@ -59,7 +59,7 @@
<h2 id="csing">Caves of one file</h2>
<p>
{% for cavepath, cavename in onefilecaves %}
- <a href="{% url svx cavepath %}">{{cavename}}</a>
+ <a href="{% url "svx" cavepath %}">{{cavename}}</a>
{% endfor %}
</p>