Mercurial > public > sg101
comparison gpp/templates/forums/display_post.html @ 216:fe900598f81c
Implement #85 - display who has posted from a post's IP address.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 30 May 2010 20:51:41 +0000 |
parents | 8c1832b9d815 |
children | 8fd4984d5c3b |
comparison
equal
deleted
inserted
replaced
215:8c1832b9d815 | 216:fe900598f81c |
---|---|
25 <td class="forum-post-body"> | 25 <td class="forum-post-body"> |
26 <div class="forum-post-info quiet{% if post.user_profile.is_stranger %} stranger{% endif %}"> | 26 <div class="forum-post-info quiet{% if post.user_profile.is_stranger %} stranger{% endif %}"> |
27 {% if post.unread %}<img src="{{ MEDIA_URL }}icons/new.png" alt="New" title="New" />{% endif %} | 27 {% if post.unread %}<img src="{{ MEDIA_URL }}icons/new.png" alt="New" title="New" />{% endif %} |
28 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> | 28 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> |
29 Posted on {% forum_date post.creation_date user %} | 29 Posted on {% forum_date post.creation_date user %} |
30 {% if can_moderate %}from IP: {{ post.user_ip }}{% endif %} | 30 {% if can_moderate %}from IP: <a href="{% url forums-post_ip_info post.id %}">{{ post.user_ip }}</a>{% endif %} |
31 </div> | 31 </div> |
32 <div class="forum-post-body"> | 32 <div class="forum-post-body"> |
33 {{ post.html|safe }} | 33 {{ post.html|safe }} |
34 {% if post.user_profile.signature_html %} | 34 {% if post.user_profile.signature_html %} |
35 —{{ post.user_profile.signature_html|safe }} | 35 —{{ post.user_profile.signature_html|safe }} |