Mercurial > public > sg101
comparison gpp/templates/shoutbox/shout_detail.html @ 151:e1d1a70d312d
Implement #43, various shoutbox improvements.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 18 Dec 2009 04:30:49 +0000 |
parents | b43e1288ff80 |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
150:b43e1288ff80 | 151:e1d1a70d312d |
---|---|
1 {% load avatar_tags %} | 1 {% load avatar_tags %} |
2 {% load smiley_tags %} | |
3 <tr> | 2 <tr> |
4 <th> | 3 <th> |
5 <a href="{% url bio-view_profile username=shout.user.username %}">{% avatar shout.user %}</a> | 4 <a href="{% url bio-view_profile username=shout.user.username %}">{% avatar shout.user %}</a> |
6 <a href="{% url bio-view_profile username=shout.user.username %}">{{ shout.user.username }}</a> | 5 <a href="{% url bio-view_profile username=shout.user.username %}">{{ shout.user.username }}</a> |
7 </th> | 6 </th> |
8 <td> | 7 <td> |
9 <div {% ifequal user.id shout.user.id %}class="edit" id="shout-{{ shout.id }}"{% endifequal %}>{{ shout.shout|smiley_html|urlize }}</div> | 8 <div {% ifequal user.id shout.user.id %}class="edit" id="shout-{{ shout.id }}"{% endifequal %}>{{ shout.html|safe }}</div> |
10 </div> | 9 </div> |
11 <br /> | 10 <br /> |
12 <span class="date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span><br /> | 11 <span class="date">{{ shout.shout_date|date:"D M d Y H:i:s" }}</span><br /> |
13 <a href="{% url shoutbox-view shout.id %}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a> | 12 <a href="{% url shoutbox-view shout.id %}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Permalink" title="Permalink" /></a> |
14 <a href="#" class="shout-flag" id="shout-flag-{{ shout.id }}"><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" | 13 <a href="#" class="shout-flag" id="shout-flag-{{ shout.id }}"><img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" |