comparison gpp/templates/potd/view.html @ 267:ded03f2513e9

Fixing #116. Allow formatting on POTD description and enable TinyMCE in the admin.
author Brian Neal <bgneal@gmail.com>
date Sat, 25 Sep 2010 18:55:21 +0000
parents 2d299909e074
children daa2916f5b34
comparison
equal deleted inserted replaced
266:4532ed27bed8 267:ded03f2513e9
25 Submitted by 25 Submitted by
26 <a href="{% url bio-view_profile username=potd.user.username %}">{{ potd.user.username }}</a> 26 <a href="{% url bio-view_profile username=potd.user.username %}">{{ potd.user.username }}</a>
27 on {{ potd.date_added|date:"d F Y" }}.<br /> 27 on {{ potd.date_added|date:"d F Y" }}.<br />
28 This photo has been Photo of the Day {{ potd.potd_count }} time{{ potd.potd_count|pluralize }}. 28 This photo has been Photo of the Day {{ potd.potd_count }} time{{ potd.potd_count|pluralize }}.
29 </p> 29 </p>
30 <p class="description">{{ potd.description }}</p> 30 <p class="description">{{ potd.description|safe }}</p>
31 <p class="details"> 31 <p class="details">
32 If you would like us to feature your photo, send it along with your username, a title, and 32 If you would like us to feature your photo, send it along with your username, a title, and
33 short description to <a href="mailto:admin@surfguitar101.com">admin@surfguitar101.com</a>. 33 short description to <a href="mailto:admin@surfguitar101.com">admin@surfguitar101.com</a>.
34 </p> 34 </p>
35 {% get_comment_count for potd as comment_count %} 35 {% get_comment_count for potd as comment_count %}