Mercurial > public > sg101
diff gpp/templates/forums/display_post.html @ 113:d97ceb95ce02
Forums: ForumLastVisit logic in place. Need to add code for topics and posts next.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 11 Oct 2009 19:10:54 +0000 |
parents | 80ab249d1adc |
children | 535d02d1c017 |
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html Wed Sep 30 00:42:13 2009 +0000 +++ b/gpp/templates/forums/display_post.html Sun Oct 11 19:10:54 2009 +0000 @@ -17,9 +17,10 @@ </div> <div class="forum-post-body"> {{ post.html|safe }} - {% ifnotequal post.creation_date post.update_date %} + {% if post.has_been_edited %} + <p>{{ post.creation_date|date:"M d, Y H:i:s" }} {{ post.update_date|date:"M d, Y H:i:s" }}</p> <p class="small quiet">Last edited: {{ post.update_date|date:"M d, Y H:i:s" }}</p> - {% endifnotequal %} + {% endif %} </div> <div class="forum-post-info-tools"> {% if can_reply %}