summaryrefslogtreecommitdiffstats
path: root/templates/person.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:23:57 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:23:57 +0100
commitb31d022c1ab0ee4e33b477f913aeb200ad9e0b58 (patch)
treeed9aaacfd1b937d4613ea373728116cddabd2b6e /templates/person.html
parent919c7e932a8e230a970efb8308e71bb10f15a6fb (diff)
downloadtroggle-b31d022c1ab0ee4e33b477f913aeb200ad9e0b58.tar.gz
troggle-b31d022c1ab0ee4e33b477f913aeb200ad9e0b58.tar.bz2
troggle-b31d022c1ab0ee4e33b477f913aeb200ad9e0b58.zip
[svn] Dynamic thumbnail generation for photos and survey scans using imagekit, further improving registration system, other misc.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8336 by cucc @ 5/10/2009 11:05 PM
Diffstat (limited to 'templates/person.html')
-rw-r--r--templates/person.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/person.html b/templates/person.html
index d28f82a..adc6aba 100644
--- a/templates/person.html
+++ b/templates/person.html
@@ -11,13 +11,13 @@
{% block content %}
{% if person.blurb %}
-{{person.blurb}}
+{{person.blurb|safe}}
{% endif %}
{% for pic in person.photo_set.all %}
{% if pic.is_mugshot %}
<div class="figure">
- <p> <img src="{{ pic.file.url }}" class="thumbnail" />
+ <p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
<p> {{ pic.caption }}
</p>
</p>