summaryrefslogtreecommitdiffstats
path: root/templates/person.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:18:26 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:18:26 +0100
commitf5ddbafcb0899d2c95d8512b1316eaeeee9bedab (patch)
treed8186e9c66191da57bc7bec0f5ffe63e835f5445 /templates/person.html
parent13d44fe647b6929137ee4f7d18ba407b8ebaa05a (diff)
downloadtroggle-f5ddbafcb0899d2c95d8512b1316eaeeee9bedab.tar.gz
troggle-f5ddbafcb0899d2c95d8512b1316eaeeee9bedab.tar.bz2
troggle-f5ddbafcb0899d2c95d8512b1316eaeeee9bedab.zip
[svn] Wiki_markup imporved to include paragraphs
wiki_to_html should be used when the field will include paragraphs wiki_to_html_short should be used when the field will not include paragraphs Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8061 by julian @ 11/6/2008 11:24 PM
Diffstat (limited to 'templates/person.html')
-rw-r--r--templates/person.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/person.html b/templates/person.html
index 9d79141..ff1fe62 100644
--- a/templates/person.html
+++ b/templates/person.html
@@ -1,10 +1,10 @@
{% extends "base.html" %}
{% load wiki_markup %}
-{% block title %}Person {{person.id}}{% endblock %}
+{% block title %}Person {{person|wiki_to_html_short}}{% endblock %}
{% block content %}
- <div class="personblock"><a href="/person/{{person.id}}">{{person}}</a>
+ <div class="personblock"><a href="/person/{{person.id}}">{{person|wiki_to_html_short}}</a>
<ul>
{% for personexpedition in person.personexpedition_set.all %}
<li>
@@ -14,7 +14,9 @@
<div>
<ul>
{% for persontrip in personexpedition.persontrip_set.all %}
- <li><a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a> ({{persontrip.logbookentry.place}}) - {{persontrip.logbookentry.title}}</li>
+ <li><a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
+ ({{persontrip.logbookentry.place|wiki_to_html_short}}) -
+ {{persontrip.logbookentry.title|wiki_to_html_short}}</li>
{% endfor %}
<ul>
</div>