mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 16:51:54 +00:00
f5ddbafcb0
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 Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8061 by julian @ 11/6/2008 11:24 PM
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 %}
|