{% set page_title = _("Forums") %} {% extends theme("management/management_layout.html") %} {% 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|markup|safe }}
---
{% else %}
{% if forum.locked %} {% else %} {% endif %}
{{ forum.description|markup|safe }}
{% if forum.show_moderators %}
{% trans %}Moderators{% endtrans %}: {% for moderator in forum.moderators %} {{ moderator.username }}{% if not loop.last %}, {% endif %} {% endfor %}
{% endif %}
{% if forum.last_post_id %}
{{ forum.last_post_title|crop_title }}
{{ forum.last_post_created|time_since }}
{% else %} {% trans %}No posts.{% endtrans %} {% endif %} {# endif forum.last_post_id #}
{% endif %} {# endif forum.external #}
{% endfor %}
{% endfor %}
{# {% trans %}Edit{% endtrans %} |
#} {% endblock %}