{% extends "base.html" %} {% load wiki_markup %} {% block title %}Logbook {{logbookentry.id}}{% endblock %} {% block content %}

{{logbookentry.title|safe}}

{{logbookentry.expedition.name}}

place: {{logbookentry.place}}

{% if logbookentry.logbookentry_prev %} {{logbookentry.logbookentry_prev.date}} {% endif %} {% if logbookentry.logbookentry_next %} {{logbookentry.logbookentry_next.date}} {% endif %}

{% for persontrip in logbookentry.persontrip_set.all %} {% ifequal persontrip.person_expedition logbookentry.author %} {% endfor %}
CaverT/UPrevNext
{{persontrip.person_expedition.person.personrole_set.count}} {% else %} {% endifequal %} {{persontrip.person_expedition.person}} {% if persontrip.timeunderground %} - T/U {{persontrip.timeunderground}}

{% endif %}
{% if persontrip.persontrip_prev %} {{persontrip.persontrip_prev.date}} {% endif %} {% if persontrip.persontrip_next %} {{persontrip.persontrip_next.date}} {% endif %}
{{logbookentry.date}} {{logbookentry.text|wiki_to_html}}
{% endblock %}