mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-26 09:11:59 +00:00
[svn r8046] forgotten
This commit is contained in:
parent
0a9bfa3178
commit
3a61277647
26
troggle/templates/logbookentry.html
Normal file
26
troggle/templates/logbookentry.html
Normal file
@ -0,0 +1,26 @@
|
||||
{% 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>
|
||||
<em>[wiki_to_html doesn't do paragraphs. don't know where it is located]</em>
|
||||
<div>{{logbookentry.text|wiki_to_html}}</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user