mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-27 17:51:56 +00:00
d639a53f20
wiki_to_html should be used when the field will include paragraphs wiki_to_html_short should be used when the field will not include paragraphs
26 lines
897 B
HTML
26 lines
897 B
HTML
{% extends "base.html" %}
|
|
{% load wiki_markup %}
|
|
|
|
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
|
|
|
|
{% 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>
|
|
{% 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 %}
|