{% 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 if not forum.deleted %} {% endfor %}
ForumTopicsPostsLast Post
{% if forum.icon %} Forum icon {% else %} Forum icon {% 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))}}
{% if forum.monitoring_email %}{{h.really_unicode(forum.monitoring_email)}}{% else %}No monitoring email set.{% endif %} {{lib.text_field('forum-%s.monitoring_email' % loop.index0, 'Monitoring Email', h.really_unicode(forum.monitoring_email))}}
{% if forum.members_only %}Only viewable by members{% else %}Viewable by anyone{% endif %}
{% if forum.anon_posts %}Anonymous posting allowed{% else %}Anonymous posting not allowed{% endif %}
{{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)}}
{{c.add_forum.display(method='POST',action='add_forum',app=app, value=add_forum)}} {% endblock %} {% block extra_js %} {% endblock %}