{% extends "base.html" %} {% load staticfiles i18n %} {% block title %}{% trans 'Forum' %} {{ forum.title }}{% endblock %} {% block content %}

 {{ forum.title }}

 {% if not user.is_anonymous %}{% trans 'Post topic' %}{% else %}{% trans 'Login and post topic' %}{% endif %}
{% include "mgof/forum/paginate.html" %}
{% if topics %} {% for topic in topics %} {% endfor %}
{% trans "Topic" %} {% trans "Views" %} {% trans "Posts" %} {% trans "Last post" %}
{% if is_moderator == True %} {% if topic.is_moderated == False %} {% url "forum-topic-set_monitoring" topic_pk=topic.pk monitoring_level=1 as topic_url %} {% elif topic.is_moderated == True %} {% url "forum-topic-set_monitoring" topic_pk=topic.pk monitoring_level=0 as topic_url %} {% endif %} {% if topic.is_closed == True %} {% else %} {% endif %} {% endif %} {% if is_moderator == True %}{% endif %} {{ topic.title }} {{ topic.num_views }} {{ topic.num_posts }} {{ topic.last_post_date }} {% trans 'by' %} {{ topic.last_post_username }}
{% else %}

{% trans 'There is no topic in the forum yet' %}

 {% trans 'Post topic' %}

{% endif %}
{% include "mgof/forum/paginate.html" %}
{% endblock %}