summaryrefslogtreecommitdiffstats
path: root/templates/logbookentry.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:25:17 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:25:17 +0100
commit7aee3fb920a1477332d78c8f3fb546da428be6e8 (patch)
treecdfacfc1ef181881d2ac1c7f4c8d4bce2ec917eb /templates/logbookentry.html
parent8c818906b5c1228a6fb411cb96d1bd5f1663b49a (diff)
downloadtroggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.tar.gz
troggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.tar.bz2
troggle-7aee3fb920a1477332d78c8f3fb546da428be6e8.zip
[svn] QM parser now parses Hauchhoehle QMs.py
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
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r--templates/logbookentry.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index b76d9ab..2e34ba3 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -2,7 +2,7 @@
{% 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>
@@ -11,6 +11,7 @@
{% 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 %}