{% extends "forums/base.html" %} {% from 'includes/common_macros.html' import for_contributors_sidebar %} {% 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'), _('Contributor Discussions')), (None, forum.name)] %} {% set canonical_url = canonicalize(viewname='forums.threads', forum_slug=forum.slug) %} {% if threads.number > 1 %} {% set canonical_url = canonical_url|urlparams(page=threads.number) %} {% endif %} {% set ga_content_group = "contributor-forum-home" %} {% block content %}

{{ forum.name }}

{{ forum.description|safe }}
{% if not user.is_authenticated or forum.allows_posting_by(user) %} {{ _('Post a new thread') }} {% endif %} {% if user.is_authenticated %}
{% csrf_token %} {% if is_watching_forum %} {% set watch = _('Stop watching this forum') %} {% else %} {% set watch = _('Watch this forum') %} {% endif %}
{% endif %}
{% if threads.object_list %}
{% endif %}
{% if threads.object_list %} {{ thread_list(threads, forum) }} {% else %} {% endif %}
{{ _('Type') }} {{ _('Title') }} {{ _('Author') }} {{ _('Replies') }} {{ _('Last Post') }}

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

{{ threads|paginator }}
{% endblock %} {% block side %} {{ for_contributors_sidebar(user, settings.WIKI_DEFAULT_LANGUAGE, active=forum.slug) }} {% endblock %}