diff --git a/templates/logbook2005style.html b/templates/logbook2005style.html index 0104070..b0491b7 100644 --- a/templates/logbook2005style.html +++ b/templates/logbook2005style.html @@ -21,7 +21,7 @@ Exported on {% now 'Y-m-d H:m' %} using control panel webpage and exportlogbook(
{{logbook_entry.date|date:'Y-m-d'}}
-
{% for persontrip in logbook_entry.persontrip_set.all %}{% if persontrip.is_logbook_entry_author %}{{persontrip.personexpedition.person|safe}}{% else %}{{ persontrip.personexpedition.person|safe }}{% endif %}, {% endfor %}
+
{% for personlogentry in logbook_entry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}{{personlogentry.personexpedition.person|safe}}{% else %}{{ personlogentry.personexpedition.person|safe }}{% endif %}, {% endfor %}
{{logbook_entry.title|safe}}
{{logbook_entry.text|safe}} diff --git a/templates/logbookentry.html b/templates/logbookentry.html index d9b0de2..6fff583 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -29,7 +29,7 @@ -{% for personlogentry in logbookentry.persontrip_set.all %} +{% for personlogentry in logbookentry.personlogentry_set.all %} {% if personlogentry.is_logbook_entry_author %}
CaverT/UPrevNext
@@ -64,7 +64,7 @@
{{logbookentry.date|date:"D d M Y"}} - {% for personlogentry in logbookentry.persontrip_set.all %}{% if personlogentry.is_logbook_entry_author %}
{{personlogentry.personexpedition.person}}{% endif %}{% endfor %} + {% for personlogentry in logbookentry.personlogentry_set.all %}{% if personlogentry.is_logbook_entry_author %}
{{personlogentry.personexpedition.person}}{% endif %}{% endfor %}

{{logbookentry.text|safe}}

diff --git a/templates/person.html b/templates/person.html index d88b91b..274448b 100644 --- a/templates/person.html +++ b/templates/person.html @@ -24,8 +24,8 @@
{{personexpedition.expedition.year}} -   - {{personexpedition.persontrip_set.all|length}} +   + {{personexpedition.personlogentry_set.all|length}}