{# vim: set ts=2 et sts=2 sw=2: #} {% extends "forums/base.html" %} {% from "forums/includes/forum_macros.html" import thread_list with context %} {# L10n: {f} is the name of the forum. #} {% set title = _('{f} | Forums')|f(f=forum.name) %} {% set crumbs = [(url('forums.forums'), _('Forums')), (None, forum.name)] %} {% set canonical_url = unlocalized_url('forums.threads', forum.slug) %} {% if threads.number > 1 %} {% set canonical_url = canonical_url|urlparams(page=threads.number) %} {% endif %} {% block content %}

{{ forum.name }}

{% if is_watching_forum %}{{ _('Watching') }}{% endif %}
{% if user.is_authenticated() %}
{{ csrf() }} {% if is_watching_forum %} {% set watch = _('Stop watching') %} {% else %} {% set watch = _('Watch this forum') %} {% endif %}
{% endif %} {% if not user.is_authenticated() or forum.allows_posting_by(user) %} {{ _('Post a new thread') }} {% endif %}
  1. {{ _('Type') }}
  2. {{ _('Title') }}
  3. {{ _('Author') }}
  4. {{ _('Replies') }}
  5. {{ _('Last Post') }}
{% if threads.object_list %} {{ thread_list(threads, forum) }} {% else %}

{{ _('There are no threads. Maybe you should create some!') }}

{% endif %}
{% endblock %}