{{extend "forums_layout.html"}} {{block content_main}}
{{if count > 0:}} {{for c in categories:}} {{from uliweb.utils.timesince import timesince for f in c.forums.all().order_by('ordering'):}} {{pass}} {{pass}}
{{=c.name}} 主题 文章 最新文章

{{=f.name}}

{{=f.description}}

{{=f.num_topics}} {{=f.num_posts}} {{=f.get_display_value('last_post_user', f.last_post_user)}}{{=timesince(f.last_reply_on)}}
{{else:}} {{include "inc_message.html"}} {{message('还没有创建任何论坛,请由系统管理员来创建')}} {{pass}}
{{end}}