diff gpp/templates/forums/forum_index.html @ 120:f8f4514b806a

Added a 24-hour time preference flag in the user profile. Added forum template tags for showing forum dates/times adjusted for the user's time zone.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Oct 2009 21:55:28 +0000
parents 535d02d1c017
children 445e1466a98d
line wrap: on
line diff
--- a/gpp/templates/forums/forum_index.html	Sat Oct 24 02:39:54 2009 +0000
+++ b/gpp/templates/forums/forum_index.html	Sun Oct 25 21:55:28 2009 +0000
@@ -40,7 +40,7 @@
          <td class="forum-index_author"><a href="{% url bio-view_profile username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td>
          <td class="forum-index_views">{{ topic.view_count }}</td>
          <td class="forum-index_last_post">
-            {% last_post_info topic.last_post MEDIA_URL %}
+            {% last_post_info topic.last_post %}
          </td>
       </tr>
    {% empty %}
@@ -62,5 +62,6 @@
 {% if can_moderate %}
 <p><a href="{% url forums-mod_forum slug=forum.slug %}">Moderate this forum</a></p>
 {% endif %}
+{% current_forum_time user %}
 </div>
 {% endblock %}