diff gpp/templates/forums/display_post.html @ 98:d0d779dd0832

Forums: flag posts.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 21:45:35 +0000
parents 93d9e74a471e
children 59688577a8f1
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html	Sun Sep 13 19:58:31 2009 +0000
+++ b/gpp/templates/forums/display_post.html	Sun Sep 13 21:45:35 2009 +0000
@@ -10,11 +10,16 @@
    </td>
    <td class="forum-post-body">
       <div class="forum-post-info quiet">
-         <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a>
+      <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a>
          Posted on {{ post.creation_date|date:"M d, Y H:i" }}
       </div>
       <div class="forum-post-body">
          {{ post.html|safe }}
       </div>
+      <div class="forum-post-info-tools">
+      <a href="#" class="post-flag" id="fp-{{ post.id }}" 
+         title="Flag this post as spam, abuse, or a violation of site rules.">
+         <img src="{{ MEDIA_URL }}icons/flag_red.png" alt="Flag" /></a>
+      </div>
    </td>
 </tr>