diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2018-04-11 22:02:57 +0100 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2018-04-11 22:02:57 +0100 |
commit | ffb5d7bdda5e35478a914ee822039f629b3af0fc (patch) | |
tree | 2cd893dd0bc7c99d41cb460f14d36f0c1e2e74ca /templates/index.html | |
parent | 242cf4741a945027fb43d3c6fb08922165c61bf0 (diff) | |
download | troggle-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/index.html')
-rw-r--r-- | templates/index.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/index.html b/templates/index.html index c0974e8..614c180 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,14 +8,14 @@ <h2>The unfinished front page</h2> <ul> <li><b>About {{totallogbookentries}} logbook entries have been loaded</b></li> - <li><b><a href="{% url personindex %}">List of People</a></b></li> - <li><b><a href="{% url caveindex %}">List of Caves</a></b></li> - <li><a href="{% url jgtfile aaaa %}">JGT list of files</a> (temporary simple file list and tunnel use)</li> - <li><a href="{% url survey %}">Survey files</a></li> - <li><a href="{% url svx all %}">Survex directory</a></li> - <li><a href="{% url expedition 2008 %}">Expedition 2008</a></li> - <li><a href="{% url expedition 2007 %}">Expedition 2007</a></li> - <li><a href="{% url expedition 1992 %}">Expedition 1992</a> (earliest parsed)</li> + <li><b><a href="{% url "personindex" %}">List of People</a></b></li> + <li><b><a href="{% url "caveindex" %}">List of Caves</a></b></li> + <li><a href="{% url "jgtfile" aaaa %}">JGT list of files</a> (temporary simple file list and tunnel use)</li> + <li><a href="{% url "survey" %}">Survey files</a></li> + <li><a href="{% url "svx" all %}">Survex directory</a></li> + <li><a href="{% url "expedition" 2008 %}">Expedition 2008</a></li> + <li><a href="{% url "expedition" 2007 %}">Expedition 2007</a></li> + <li><a href="{% url "expedition" 1992 %}">Expedition 1992</a> (earliest parsed)</li> </ul> <h2>Further work</h2> @@ -50,7 +50,7 @@ <ul id="expeditionlist"> {% for expedition in expeditions %} <li> - <a href="{% url expedition expedition.year %}">{{expedition.name}}</a> + <a href="{% url "expedition" expedition.year %}">{{expedition.name}}</a> - <b>{{expedition.logbookentry_set.count}}</b> logbook entries </li> {% endfor %} |