{% extends g.theme.master %} {% block title %}{{c.project.name}} / {{app.config.options.mount_label}} / Admin Forums{% endblock %} {% block header %}{{app.config.options.mount_label}} Admin Forums{% endblock %} {% block content %}
{% for forum in app.forums %} {% endfor %}
ForumTopicsPostsLast Post
{% if forum.icon %} {% else %} {% endif %} {{lib.file_field('forum-%s.icon' % loop.index0, '')}}
{{h.really_unicode(forum.name)}} {{lib.text_field('forum-%s.name' % loop.index0, 'Forum Title', h.really_unicode(forum.name))}}
{{h.really_unicode(forum.shortname)}} {{lib.text_field('forum-%s.shortname' % loop.index0, 'Forum Short Name', h.really_unicode(forum.shortname))}}
{{g.markdown.convert(forum.description)|safe}}
{{lib.text_area('forum-%s.description' % loop.index0, 'Description', h.really_unicode(forum.description))}}
{% if forum.subforums %} Subforums: {% for sf in forum.subforums %} {% if loop.index1 != 0 %}, {% endif %} {{sf.name}} {% endfor %} {% endif %}
{{forum.num_topics}} {{forum.num_posts}} {{lib.post_summary(forum.last_post)}} {% if forum.deleted %}
{% else %}
{% endif %}
{{c.add_forum.display(method='POST',action='add_forum',app=app, value=add_forum)}} {% endblock %} {% block extra_js %} {% endblock %}