2009-05-13 05:14:28 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load wiki_markup %}
|
|
|
|
|
2009-05-13 05:18:26 +01:00
|
|
|
{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
|
2009-05-13 05:14:28 +01:00
|
|
|
|
2009-05-13 05:56:56 +01:00
|
|
|
{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person|wiki_to_html_short}}</a>{% endblock %}
|
|
|
|
|
2009-05-13 05:52:59 +01:00
|
|
|
{% block contentheader %}
|
|
|
|
<h2> {{person|wiki_to_html_short}} </h2>
|
|
|
|
{% endblock %}
|
2009-05-13 05:44:35 +01:00
|
|
|
|
2009-05-13 05:52:59 +01:00
|
|
|
{% block content %}
|
2009-05-13 05:53:37 +01:00
|
|
|
{% if person.blurb %}
|
2009-05-13 06:23:57 +01:00
|
|
|
{{person.blurb|safe}}
|
2009-05-13 05:53:37 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% for pic in person.photo_set.all %}
|
|
|
|
{% if pic.is_mugshot %}
|
2009-05-13 05:52:59 +01:00
|
|
|
<div class="figure">
|
2009-05-13 06:23:57 +01:00
|
|
|
<p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
|
2009-06-12 05:39:30 +01:00
|
|
|
<p> {{ pic.caption }}</p>
|
|
|
|
<p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a> </>
|
2009-05-13 05:53:37 +01:00
|
|
|
</p>
|
|
|
|
</p>
|
2009-05-13 05:52:59 +01:00
|
|
|
</div>
|
2009-05-13 05:53:37 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
<br class="clearfloat" />
|
|
|
|
|
|
|
|
<h3>{{person|wiki_to_html_short}} has been on expo in the following years:</h3>
|
2009-05-13 05:44:35 +01:00
|
|
|
<p>
|
2009-05-13 05:53:37 +01:00
|
|
|
<ul>
|
2009-05-13 05:35:59 +01:00
|
|
|
{% for personexpedition in person.personexpedition_set.all %}
|
2009-07-27 13:42:54 +01:00
|
|
|
<li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
|
|
|
|
<span style="padding-left:{{personexpedition.persontrip_set.all|length}}0px; background-color:red"></span>
|
|
|
|
{{personexpedition.persontrip_set.all|length}} trips
|
|
|
|
</li>
|
2009-05-13 05:35:59 +01:00
|
|
|
{% endfor %}
|
2009-05-13 05:53:37 +01:00
|
|
|
</ul>
|
2009-05-13 05:44:35 +01:00
|
|
|
</p>
|
|
|
|
|
|
|
|
|
2009-05-13 05:14:28 +01:00
|
|
|
{% endblock %}
|