{#- A community's discussions: the latest active first, the unread ones marked; the filters as pills, a filter on titles, starting a discussion. Drawn in `mockups/templates/forum.html`. -#} {% extends "ads_community.html" %} {% import "forum/_head.html" as f with context %} {% block page_title %}{{ _("Discussions") }} ยท {{ g.community.name }}{% endblock %} {% block content %}
{{ f.head("week" if filter == "week" else "latest") }} {#- Narrows the threads to those whose title has the words, across all of the community's threads, on the server. -#}
{% if q %}{{ _("Show all") }}{% endif %}
{% if threads %}
{% for thread in threads %}{{ m.thread_row(thread, unread.get(thread, 0)) }}{% endfor %}
{{ _("Subject") }}{{ _("Replies") }}{{ _("Last post") }}
{% else %}
{% if q %}{{ _("No discussion has these words in its title.") }}{% else %}{{ _("No discussion has been started in this community yet.") }}{% endif %}
{% endif %} {% if has_more %}
{{ _("All the discussions, by month") }}
{% endif %}
{% endblock %}