Mercurial > public > sg101
diff gpp/templates/shoutbox/shoutbox.html @ 151:e1d1a70d312d
Implement #43, various shoutbox improvements.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 18 Dec 2009 04:30:49 +0000 |
parents | 48621ba5c385 |
children | 6a5549c2efb5 |
line wrap: on
line diff
--- a/gpp/templates/shoutbox/shoutbox.html Thu Dec 17 04:14:16 2009 +0000 +++ b/gpp/templates/shoutbox/shoutbox.html Fri Dec 18 04:30:49 2009 +0000 @@ -1,12 +1,11 @@ {% extends 'side_block.html' %} -{% load smiley_tags %} {% block block_title %}Shoutbox{% endblock %} {% block block_content %} <div id="shoutbox-shout-container"> {% for shout in shouts %} <p> <span class="shoutbox-user">{{ shout.user.username }}:</span> - <span class="shoutbox-shout">{{ shout.shout|smiley_html|urlizetrunc:15 }}</span> + <span class="shoutbox-shout">{{ shout.html|safe }}</span> <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span> </p> {% endfor %}