Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
150:b43e1288ff80 | 151:e1d1a70d312d |
---|---|
1 {% extends 'side_block.html' %} | 1 {% extends 'side_block.html' %} |
2 {% load smiley_tags %} | |
3 {% block block_title %}Shoutbox{% endblock %} | 2 {% block block_title %}Shoutbox{% endblock %} |
4 {% block block_content %} | 3 {% block block_content %} |
5 <div id="shoutbox-shout-container"> | 4 <div id="shoutbox-shout-container"> |
6 {% for shout in shouts %} | 5 {% for shout in shouts %} |
7 <p> | 6 <p> |
8 <span class="shoutbox-user">{{ shout.user.username }}:</span> | 7 <span class="shoutbox-user">{{ shout.user.username }}:</span> |
9 <span class="shoutbox-shout">{{ shout.shout|smiley_html|urlizetrunc:15 }}</span> | 8 <span class="shoutbox-shout">{{ shout.html|safe }}</span> |
10 <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span> | 9 <span class="shoutbox-date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span> |
11 </p> | 10 </p> |
12 {% endfor %} | 11 {% endfor %} |
13 </div> | 12 </div> |
14 <center><a href="{% url shoutbox-history page=1 %}">Shout History</a></center> | 13 <center><a href="{% url shoutbox-history page=1 %}">Shout History</a></center> |