{% set page_title = _("Forums") %} {% extends theme("management/management_layout.html") %} {% block breadcrumb %} {% endblock %} {% block management_content %} {% from theme('macros.html') import render_pagination, navlink with context %}
{% trans %}Manage Forums{% endtrans %}
{% for category in categories %}
{% trans %}Forum{% endtrans %}
{% for forum in category.forums %}
{% if forum.external %}
{% trans %}Link to{% endtrans %}: {{ forum.title }}
{{ forum.description|nonpost_markup }}
{% trans %}Edit Link{% endtrans %}
{% else %}
{% if forum.locked %} {% else %} {% endif %}
{{ forum.description|nonpost_markup }}
{% if forum.show_moderators %}
{% trans %}Moderators{% endtrans %}: {% for moderator in forum.moderators %} {{ moderator.username }}{% if not loop.last %}, {% endif %} {% endfor %}
{% endif %}
{% trans %}Edit Forum{% endtrans %}
{% endif %} {# endif forum.external #}
{% endfor %}
{% endfor %}
{% include theme('confirm_dialog.html') %} {% endblock %}