Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
119:b8f1dcc9fae4 | 120:f8f4514b806a |
---|---|
25 {% endif %} | 25 {% endif %} |
26 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4> | 26 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4> |
27 <p>{{ forum.description }}</p></td> | 27 <p>{{ forum.description }}</p></td> |
28 <td class="forum-topics">{{ forum.topic_count }}</td> | 28 <td class="forum-topics">{{ forum.topic_count }}</td> |
29 <td class="forum-posts">{{ forum.post_count }}</td> | 29 <td class="forum-posts">{{ forum.post_count }}</td> |
30 <td class="forum-last_post">{% last_post_info forum.last_post MEDIA_URL %}</td> | 30 <td class="forum-last_post">{% last_post_info forum.last_post %}</td> |
31 </tr> | 31 </tr> |
32 {% endfor %} | 32 {% endfor %} |
33 </tbody> | 33 </tbody> |
34 </table> | 34 </table> |
35 {% endfor %} | 35 {% endfor %} |
36 <p>{% current_forum_time user %}</p> | |
36 </div> | 37 </div> |
37 {% endblock %} | 38 {% endblock %} |