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/logbookentry.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/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index a3ffc3d..93ce32b 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -71,7 +71,7 @@ </div> </div> -{% if logbookentry.filename %}<a href="{% url editLogBookEntry expeditionyear=logbookentry.expedition.year pdate=logbookentry.date pslug=logbookentry.slug %}">Edit</a> <a href="{% url deleteLogBookEntry expeditionyear=logbookentry.expedition.year date=logbookentry.date slug=logbookentry.slug %}">Delete</a>{%endif%} +{% if logbookentry.filename %}<a href="{% url "editLogBookEntry" expeditionyear=logbookentry.expedition.year pdate=logbookentry.date pslug=logbookentry.slug %}">Edit</a> <a href="{% url "deleteLogBookEntry" expeditionyear=logbookentry.expedition.year date=logbookentry.date slug=logbookentry.slug %}">Delete</a>{%endif%} {% endblock %} |