summaryrefslogtreecommitdiffstats
path: root/templates/listdir.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
commit789c33fcb6694544abb3991ccd3691a175216a55 (patch)
tree2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/listdir.html
parent0ef4f7832c6b50c3921ff2629240404a77cdf33b (diff)
downloadtroggle-789c33fcb6694544abb3991ccd3691a175216a55.tar.gz
troggle-789c33fcb6694544abb3991ccd3691a175216a55.tar.bz2
troggle-789c33fcb6694544abb3991ccd3691a175216a55.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/listdir.html')
-rw-r--r--templates/listdir.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/listdir.html b/templates/listdir.html
index 7f83b5a..d220ea1 100644
--- a/templates/listdir.html
+++ b/templates/listdir.html
@@ -3,20 +3,20 @@
<h3>Files</h3>
<ul>
{% for lf in listdirfiles %}
-<li><a href="{% url jgtfile lf.0 %}">{{lf.1}}</a> ({{lf.2}} bytes)</li>
+<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a> ({{lf.2}} bytes)</li>
{% endfor %}
</ul>
<h3>Upperdirectories</h3>
<ul>
{% for lf in upperdirs %}
-<li><a href="{% url jgtfile lf.0 %}">{{lf.1}}</a></li>
+<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a></li>
{% endfor %}
</ul>
<h3>Subdirectories</h3>
<ul>
{% for lf in listdirdirs %}
-<li><a href="{% url jgtfile lf.0 %}">{{lf.1}}</a> ({{lf.2}} files)</li>
+<li><a href="{% url "jgtfile" lf.0 %}">{{lf.1}}</a> ({{lf.2}} files)</li>
{% endfor %}
</ul>