summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-03-10 18:58:58 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2022-03-10 18:58:58 +0000
commit822f8a169939fd79fa8149de2ebbbdcfa8fc8990 (patch)
tree39f4c1c1a897c03b86d3fd976afbf478d10afa57 /templates/logbookentry.html
parent488ce46d7314235a53e703eff6cf12870ccba044 (diff)
downloadtroggle-822f8a169939fd79fa8149de2ebbbdcfa8fc8990.tar.gz
troggle-822f8a169939fd79fa8149de2ebbbdcfa8fc8990.tar.bz2
troggle-822f8a169939fd79fa8149de2ebbbdcfa8fc8990.zip
Fix URL bug
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html5
1 files changed, 2 insertions, 3 deletions
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 %}