summaryrefslogtreecommitdiffstats
path: root/templates/expedition.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/expedition.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/expedition.html')
-rw-r--r--templates/expedition.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index 4fab025..548dc4f 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -51,7 +51,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
{% endfor %}
<br/>
{% for survexblock in persondayactivities.survexblocks %}
- <a href="{% url svx survexblock.survexfile.path %}" class="dayindexsurvex-{{survexblock.DayIndex}}">S</a>
+ <a href="{% url "svx" survexblock.survexfile.path %}" class="dayindexsurvex-{{survexblock.DayIndex}}">S</a>
{% endfor %}
</td>
{% else %}
@@ -67,7 +67,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
<form action="" method="GET"><input type="submit" name="reload" value="Reload"></form>
<h3>Logbooks and survey trips per day</h3>
-<a href="{% url newLogBookEntry expeditionyear=expedition.year %}">New logbook entry</a>
+<a href="{% url "newLogBookEntry" expeditionyear=expedition.year %}">New logbook entry</a>
<table class="expeditionlogbooks">
<tr><th>Date</th><th>Logged trips</th><th>Surveys</th></tr>
{% regroup dateditems|dictsort:"date" by date as dates %}
@@ -78,7 +78,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
{% if item.isLogbookEntry %}<a href="{{ item.get_absolute_url }}">{{item.title|safe}}</a><br/>{% endif %}
{% endfor %}</td>
<td>{% for item in date.list %}
- {% if item.isSurvexBlock %}<a href="{% url svx item.survexfile.path %}">{{item.name}}</a><br/>{% endif %}
+ {% if item.isSurvexBlock %}<a href="{% url "svx" item.survexfile.path %}">{{item.name}}</a><br/>{% endif %}
{% endfor %}</td>
</tr>
{% endfor %}