{% extends "kbforums/base.html" %} {# L10n: {l} is the name of the locale. #} {% set title = _('{locale_name} Discussions | Knowledge Base')|f(locale_name=locale_name) %} {% set crumbs = [(None, _('{locale_name} Discussions')|f(locale_name=locale_name))] %} {% block content %}

{{ _('{l} Knowledge Base Discussions')|f(l=locale_name) }}

{% if user.is_authenticated %}
{% csrf_token %} {% if is_watching_locale %} {% set watch = _('Stop watching this locale') %} {% else %} {% set watch = _('Watch this locale') %} {% endif %}
{% endif %} {% if threads.object_list %}
{% if user.is_authenticated %} {% endif %} {% for thread in threads.object_list %} {% if user.is_authenticated %} {% endif %} {% endfor %}
{{ _('Watch') }}{{ _('Title') }} {{ _('Author') }} {{ _('Replies') }} {{ _('Last Post') }}
{% csrf_token %} {% if thread.watches.filter(user=request.user) %} {% set watch = _('You are watching this thread') %} {% else %} {% set watch = _('You are not watching this thread') %} {% endif %}
{% trans thread_url=thread.get_absolute_url(), thread_title=thread.title, document_discussion_url=url('wiki.discuss.threads',thread.document.slug), document=thread.document %} {{ thread_title }}
in {{ document }} {% endtrans %}
{{ display_name(thread.creator) }} {{ thread.replies }} {{ datetimeformat(thread.last_post.created) }}
{{ _('by {username}')|fe(profile_url=profile_url(thread.last_post.creator), username=display_name(thread.last_post.creator)) }}
{{ threads|paginator }} {% else %}

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

{% endif %}
{% endblock %}