mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-24 08:11:55 +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
29 lines
902 B
HTML
29 lines
902 B
HTML
{% extends "base.html" %}
|
|
{% load wiki_markup %}
|
|
|
|
{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="personblock"><a href="/person/{{person.id}}">{{person|wiki_to_html_short}}</a>
|
|
<ul>
|
|
{% for personexpedition in person.personexpedition_set.all %}
|
|
<li>
|
|
<table><tr><td>
|
|
{{personexpedition.expedition}}
|
|
</td><td>
|
|
<div>
|
|
<ul>
|
|
{% for persontrip in personexpedition.persontrip_set.all %}
|
|
<li><a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
|
|
({{persontrip.logbookentry.place|wiki_to_html_short}}) -
|
|
{{persontrip.logbookentry.title|wiki_to_html_short}}</li>
|
|
{% endfor %}
|
|
<ul>
|
|
</div>
|
|
</td></tr></table>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|