comparison gpp/templates/forums/display_post.html @ 104:59688577a8f1

Forums: display of sticky status. Moderators/superusers see IP address of post. Added a can_reply flag to the template and have view compute it.
author Brian Neal <bgneal@gmail.com>
date Thu, 17 Sep 2009 01:44:51 +0000
parents d0d779dd0832
children 08ddfd835305
comparison
equal deleted inserted replaced
103:bb3f0d315c5f 104:59688577a8f1
10 </td> 10 </td>
11 <td class="forum-post-body"> 11 <td class="forum-post-body">
12 <div class="forum-post-info quiet"> 12 <div class="forum-post-info quiet">
13 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> 13 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a>
14 Posted on {{ post.creation_date|date:"M d, Y H:i" }} 14 Posted on {{ post.creation_date|date:"M d, Y H:i" }}
15 {% if can_moderate %}from IP: {{ post.user_ip }}{% endif %}
16
15 </div> 17 </div>
16 <div class="forum-post-body"> 18 <div class="forum-post-body">
17 {{ post.html|safe }} 19 {{ post.html|safe }}
18 </div> 20 </div>
19 <div class="forum-post-info-tools"> 21 <div class="forum-post-info-tools">