annotate gpp/templates/shoutbox/shout.html @ 20:c0d0779b266f
Created a template tag for the latest weblinks: latest_weblinks. This necessitated adding a get_absolute_url function for the Link model along with a new view for it.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 19 Apr 2009 20:41:37 +0000 |
parents |
f408971657b9 |
children |
48621ba5c385 |
rev |
line source |
bgneal@12
|
1 {% load smiley_tags %}
|
bgneal@12
|
2 <p style="display:none;">
|
bgneal@12
|
3 <span class="shoutbox-user">{{ shout.user.username }}:</span>
|
bgneal@12
|
4 <span class="shoutbox-shout">{{ shout.shout|smilify|urlizetrunc:15 }}</span>
|
bgneal@12
|
5 <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
|
bgneal@12
|
6 </p>
|