diff gpp/templates/forums/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 d97ceb95ce02
children 2eb3984ccb15
line wrap: on
line diff
--- a/gpp/templates/forums/index.html	Sat Oct 24 02:39:54 2009 +0000
+++ b/gpp/templates/forums/index.html	Sun Oct 25 21:55:28 2009 +0000
@@ -27,11 +27,12 @@
                   <p>{{ forum.description }}</p></td>
                <td class="forum-topics">{{ forum.topic_count }}</td>
                <td class="forum-posts">{{ forum.post_count }}</td>
-               <td class="forum-last_post">{% last_post_info forum.last_post MEDIA_URL %}</td>
+               <td class="forum-last_post">{% last_post_info forum.last_post %}</td>
             </tr>
          {% endfor %}
       </tbody>
    </table>
 {% endfor %}
+<p>{% current_forum_time user %}</p>
 </div>
 {% endblock %}