Mercurial > public > sg101
annotate gpp/templates/forums/post_ip.html @ 271:4746df47a538
Follow on to last rev (r292) for #126. Missed updating a shoutbox template. Also the repoze.timeago package uses UTC time by default. Change this to local time for now until we decide to switch over to UTC for everything.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 26 Sep 2010 17:42:00 +0000 |
parents | fe900598f81c |
children | daa2916f5b34 |
rev | line source |
---|---|
bgneal@216 | 1 {% extends 'base.html' %} |
bgneal@216 | 2 {% block title %}Post IP Address Info: {{ post.user_ip }}{% endblock %} |
bgneal@216 | 3 {% block content %} |
bgneal@216 | 4 <h2>Post IP Address Info: {{ post.user_ip }}</h2> |
bgneal@216 | 5 <p> |
bgneal@216 | 6 This <a href="{{ post.get_absolute_url }}">post</a> was created by |
bgneal@216 | 7 <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a> from the IP address |
bgneal@216 | 8 <a href="http://www.dnsstuff.com/tools/whois/?ip={{ post.user_ip }}">{{ post.user_ip }}</a>. |
bgneal@216 | 9 </p> |
bgneal@216 | 10 {% if ip_users %} |
bgneal@216 | 11 <p>All users who have posted from {{ post.user_ip }}:</p> |
bgneal@216 | 12 <ul> |
bgneal@216 | 13 {% for user in ip_users %} |
bgneal@216 | 14 <li><a href="{% url bio-view_profile username=user %}">{{ user }}</a> |
bgneal@216 | 15 (<a href="{% url forums-posts_for_user username=user %}">posts</a>)</li> |
bgneal@216 | 16 {% endfor %} |
bgneal@216 | 17 </ul> |
bgneal@216 | 18 {% endif %} |
bgneal@216 | 19 {% endblock %} |