summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/expedition.html1
-rw-r--r--templates/logbookentry.html5
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index 783824a..1e76470 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+<!-- templates/expedition.html - this text visible because this template has been included -->
{% block title %}Expedition {{expedition.name}}{% endblock %}
{% block related %}
{% endblock %}
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index a0a80ca..95854b4 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -1,6 +1,5 @@
{% extends "base.html" %}
-<!-- logbookentry.html - this text visible because this template has been included -->
-
+<!-- templates/logbookentry.html - this text visible because this template has been included -->
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
{% block content %}
@@ -10,7 +9,7 @@
<div id="related">
<p><a href="{{ logbookentry.expedition.get_absolute_url }}">{{logbookentry.expedition.name}}</a>
-&nbsp;&nbsp;&nbsp;&nbsp;<a href="/years/{{logbookentry.expedition.logbookfile}}">Full logbook</a>
+&nbsp;&nbsp;&nbsp;&nbsp;<a href="/years/{{logbookentry.expedition.year}}/{{logbookentry.expedition.logbookfile}}">Full logbook</a>
</p>
{% if logbookentry.cave %}