comparison gpp/templates/forums/display_post.html @ 212:fad7548b7f6e

Fix #80: give moderators the ability to deactivate users for spam.
author Brian Neal <bgneal@gmail.com>
date Sun, 09 May 2010 20:53:34 +0000
parents b4305e18d3af
children 8c1832b9d815
comparison
equal deleted inserted replaced
211:3a626c48e9ae 212:fad7548b7f6e
47 title="Flag this post as spam, abuse, or a violation of site rules."> 47 title="Flag this post as spam, abuse, or a violation of site rules.">
48 <img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /></a> 48 <img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /></a>
49 {% if can_moderate %} 49 {% if can_moderate %}
50 <a href="#" class="post-delete" id="dp-{{ post.id }}" 50 <a href="#" class="post-delete" id="dp-{{ post.id }}"
51 title="Delete this post"><img src="{{ MEDIA_URL }}icons/cross.png" alt="Delete post" /></a> 51 title="Delete this post"><img src="{{ MEDIA_URL }}icons/cross.png" alt="Delete post" /></a>
52 {% if post.user != user %}
53 <a href="{% url forums-spammer post.id %}" title="This is spam">
54 <img src="{{ MEDIA_URL }}icons/exclamation.png" alt="Spammer" /></a>
55 {% endif %}
52 {% endif %} 56 {% endif %}
53 </div> 57 </div>
54 </td> 58 </td>
55 </tr> 59 </tr>