comparison gpp/templates/forums/display_post.html @ 114:535d02d1c017

Forums: Implemented unread status for topics and posts.
author Brian Neal <bgneal@gmail.com>
date Sun, 11 Oct 2009 20:27:07 +0000
parents d97ceb95ce02
children 0ce0104c7df3
comparison
equal deleted inserted replaced
113:d97ceb95ce02 114:535d02d1c017
9 Posts: {{ post.user.get_profile.forum_post_count }}<br /> 9 Posts: {{ post.user.get_profile.forum_post_count }}<br />
10 Location: {{ post.user.get_profile.location }}<br /> 10 Location: {{ post.user.get_profile.location }}<br />
11 </td> 11 </td>
12 <td class="forum-post-body"> 12 <td class="forum-post-body">
13 <div class="forum-post-info quiet"> 13 <div class="forum-post-info quiet">
14 {% if post.unread %}<img src="{{ MEDIA_URL }}icons/new.png" alt="New" title="New" />{% endif %}
14 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> 15 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a>
15 Posted on {{ post.creation_date|date:"M d, Y H:i" }} 16 Posted on {{ post.creation_date|date:"M d, Y H:i" }}
16 {% if can_moderate %}from IP: {{ post.user_ip }}{% endif %} 17 {% if can_moderate %}from IP: {{ post.user_ip }}{% endif %}
17 </div> 18 </div>
18 <div class="forum-post-body"> 19 <div class="forum-post-body">