diff options
Diffstat (limited to 'templates/person.html')
-rw-r--r-- | templates/person.html | 8 |
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>
|