mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-29 13:21:54 +00:00
7aee3fb920
Photo model added. Logbook parser now puts mugshots in as photo models, and descriptions from the old folk html pages in as "blurbs" on the person model. Experimented with eye candy and a random logbook quote generator. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8094 by aaron @ 12/31/2008 2:59 AM
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load wiki_markup %}
|
|
|
|
{% block title %}Logbook {{logbookentry.id}}{% endblock %}
|
|
{% block editLink %}<a href="{{settings.URL_ROOT}}admin/expo/logbookentry/{{logbookentry.id}}">edit </a>{% endblock %}
|
|
{% block content %}
|
|
<div class="logbookblock">
|
|
<h2>{{logbookentry.title}} - {{logbookentry.date}}</h2>
|
|
<h3>place (to be a link to cave shaped object): <u>{{logbookentry.place}}</u></h3>
|
|
<ul>
|
|
{% for persontrip in logbookentry.persontrip_set.all %}
|
|
<li>
|
|
<a href="/person/{{persontrip.personexpedition.person.id}}">{{persontrip.personexpedition}}</a>
|
|
<a href="{{settings.URL_ROOT}}admin/expo/logbookentry/{{logbookentry.id}}">edit </a>
|
|
{% ifequal persontrip.personexpedition logbookentry.author %}
|
|
(author)
|
|
{% endifequal %}
|
|
{% if persontrip.timeunderground %}
|
|
- T/U {{persontrip.timeunderground}}</p>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<div>{{logbookentry.text|wiki_to_html}}</div>
|
|
</div>
|
|
{% endblock %}
|