diff gpp/templates/shoutbox/shout.html @ 12:f408971657b9

Changed the shoutbox: posts are now made by Ajax. The smiley farm is loaded only on demand. jQuery is now in the base template. May add scrolling later.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 Apr 2009 01:13:17 +0000
parents
children 48621ba5c385
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/shoutbox/shout.html	Wed Apr 15 01:13:17 2009 +0000
@@ -0,0 +1,6 @@
+{% load smiley_tags %}
+<p style="display:none;">
+<span class="shoutbox-user">{{ shout.user.username }}:</span>
+<span class="shoutbox-shout">{{ shout.shout|smilify|urlizetrunc:15 }}</span>
+<span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
+</p>