diff options
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index f742edd..57c1c18 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -8,7 +8,12 @@ <div id="col2">
<p><a href="{% url expedition logbookentry.expedition.year %}">{{logbookentry.expedition.name}}</a></p>
-<p>place: {{logbookentry.place}}</p>
+
+{% if logbookentry.cave %}
+ <p>place: <a href="{% url cave logbookentry.cave.href %}">{{logbookentry.place}}</p>
+{% else %}
+ <p>{{logbookentry.place}}</p>
+{% endif %}
<p>
{% if logbookentry.logbookentry_prev %}
|