mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-27 17:51:56 +00:00
f5fdfe3793
Added edit links to caves, people, logbook entries, and people.
40 lines
985 B
HTML
40 lines
985 B
HTML
{% extends "base.html" %}
|
|
{% load wiki_markup %}
|
|
|
|
{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
|
|
|
|
{% block editLink %}| <a href={{person.get_admin_url}}>Edit person {{person|wiki_to_html_short}}</a>{% endblock %}
|
|
|
|
{% block contentheader %}
|
|
<h2> {{person|wiki_to_html_short}} </h2>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if person.blurb %}
|
|
{{person.blurb}}
|
|
{% endif %}
|
|
|
|
{% for pic in person.photo_set.all %}
|
|
{% if pic.is_mugshot %}
|
|
<div class="figure">
|
|
<p> <img src="{{ pic.file.url }}" class="thumbnail" />
|
|
<p> {{ pic.caption }}
|
|
</p>
|
|
</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
<br class="clearfloat" />
|
|
|
|
<h3>{{person|wiki_to_html_short}} has been on expo in the following years:</h3>
|
|
<p>
|
|
<ul>
|
|
{% for personexpedition in person.personexpedition_set.all %}
|
|
<li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</p>
|
|
|
|
|
|
{% endblock %}
|