expoweb/troggle/templates/person.html

40 lines
985 B
HTML
Raw Normal View History

2008-10-27 00:36:06 +00:00
{% extends "base.html" %}
{% load wiki_markup %}
{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
2008-10-27 00:36:06 +00:00
{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person|wiki_to_html_short}}</a>{% endblock %}
2009-02-17 01:09:11 +00:00
{% block contentheader %}
<h2> {{person|wiki_to_html_short}} </h2>
{% endblock %}
2009-01-24 18:26:49 +00:00
2009-02-17 01:09:11 +00:00
{% block content %}
{% if person.blurb %}
2009-02-17 01:09:11 +00:00
{{person.blurb}}
{% endif %}
{% for pic in person.photo_set.all %}
{% if pic.is_mugshot %}
2009-02-17 01:09:11 +00:00
<div class="figure">
<p> <img src="{{ pic.file.url }}" class="thumbnail" />
<p> {{ pic.caption }}
</p>
</p>
2009-02-17 01:09:11 +00:00
</div>
{% endif %}
{% endfor %}
<br class="clearfloat" />
<h3>{{person|wiki_to_html_short}} has been on expo in the following years:</h3>
2009-01-24 18:26:49 +00:00
<p>
<ul>
{% for personexpedition in person.personexpedition_set.all %}
<li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a></li>
{% endfor %}
</ul>
2009-01-24 18:26:49 +00:00
</p>
2008-10-27 00:36:06 +00:00
{% endblock %}