2009-05-13 05:15:59 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load wiki_markup %}
|
|
|
|
|
|
|
|
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
|
2009-05-13 05:25:17 +01:00
|
|
|
{% block editLink %}<a href="{{settings.URL_ROOT}}admin/expo/logbookentry/{{logbookentry.id}}">edit </a>{% endblock %}
|
2009-05-13 05:15:59 +01:00
|
|
|
{% block content %}
|
|
|
|
<div class="logbookblock">
|
|
|
|
<h2>{{logbookentry.title}} - {{logbookentry.date}}</h2>
|
|
|
|
<h3>place (to be a link to cave shaped object): <u>{{logbookentry.place}}</u></h3>
|
|
|
|
<ul>
|
|
|
|
{% for persontrip in logbookentry.persontrip_set.all %}
|
|
|
|
<li>
|
|
|
|
<a href="/person/{{persontrip.personexpedition.person.id}}">{{persontrip.personexpedition}}</a>
|
2009-05-13 05:25:17 +01:00
|
|
|
<a href="{{settings.URL_ROOT}}admin/expo/logbookentry/{{logbookentry.id}}">edit </a>
|
2009-05-13 05:15:59 +01:00
|
|
|
{% ifequal persontrip.personexpedition logbookentry.author %}
|
|
|
|
(author)
|
|
|
|
{% endifequal %}
|
|
|
|
{% if persontrip.timeunderground %}
|
|
|
|
- T/U {{persontrip.timeunderground}}</p>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<div>{{logbookentry.text|wiki_to_html}}</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|