diff --git a/templates/logbook2005style.html b/templates/logbook2005style.html index 051cbee..cca877c 100644 --- a/templates/logbook2005style.html +++ b/templates/logbook2005style.html @@ -23,8 +23,10 @@ See troggle/code/views/other.py and core.models/logbooks.py writelogbook(year, f <div class="tripdate" id="{{logbook_entry.slug}}">{{logbook_entry.date|date:'Y-m-d'}}</div> <div class="trippeople">{% for personlogentry in logbook_entry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}<u>{{personlogentry.personexpedition.person|safe}}</u>{% else %}{{ personlogentry.personexpedition.person|safe }}{% endif %}, {% endfor %}</div> -<div class="triptitle"><a href="/logbookedit/{{logbook_entry.slug}}">{{logbook_entry.title|safe}}</a></div> - +<div class="triptitle">{{logbook_entry.title|safe}}</div> +<br /> +<a href="/logbookedit/{{logbook_entry.slug}}">Edit this entry</a> +<br /> {{logbook_entry.text|safe}} <div class="timeug">T/U: {{logbook_entry.time_underground|safe}} hours</div> {% endfor %} diff --git a/templates/logbookform.html b/templates/logbookform.html index b8a94f0..8dce873 100644 --- a/templates/logbookform.html +++ b/templates/logbookform.html @@ -95,10 +95,13 @@ <hr /> {% if output %} -This is the HTML which will be put into the logbook.html, and below that is the HTML as rendered to be read as part of the full logbook. +<details><summary> +Click this triangle to see the HTML which has been put into logbook.html, and below that is the rendered logbook entry. +</summary> <pre> {{output}} </pre> +</details> <hr> <style> .tripdate, .trippeople {