diff options
Diffstat (limited to 'templates/expedition.html')
-rw-r--r-- | templates/expedition.html | 6 |
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 %} |