comparison gpp/templates/shoutbox/view.html @ 13:777451a98f9d

Shoutbox work: shouts now have absolute URLs. Shouts can now be flagged as abuse. Minor tweak to breadcrumbs css. Added flag date to comments admin.
author Brian Neal <bgneal@gmail.com>
date Thu, 16 Apr 2009 02:00:17 +0000
parents f408971657b9
children e1d1a70d312d
comparison
equal deleted inserted replaced
12:f408971657b9 13:777451a98f9d
17 {% include 'core/pagination.html' %} 17 {% include 'core/pagination.html' %}
18 18
19 <div class="shoutbox-history"> 19 <div class="shoutbox-history">
20 <table> 20 <table>
21 {% for shout in page.object_list %} 21 {% for shout in page.object_list %}
22 <tr> 22 {% include "shoutbox/shout_detail.html" %}
23 <th>
24 <a href="{% url bio-view_profile username=shout.user.username %}">{% avatar shout.user %}</a>
25 <a href="{% url bio-view_profile username=shout.user.username %}">{{ shout.user.username }}</a>
26 </th>
27 <td>
28 <div {% ifequal user shout.user %}class="edit" id="shout-{{ shout.id }}"{% endifequal %}>{{ shout.shout|smilify|urlize }}</div>
29 </div>
30 <br />
31 <span class="date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span>
32 {% ifequal user shout.user %}
33 | <a href="#" class="shout-del" id="shout-del-{{ shout.id }}">Delete</a>
34 {% endifequal %}
35 </td>
36 </tr>
37 {% endfor %} 23 {% endfor %}
38 </table> 24 </table>
39 </div> 25 </div>
40 26
41 {% include 'core/pagination.html' %} 27 {% include 'core/pagination.html' %}