{% extends 'base.html' %} {% load i18n %} {% load static %} {% load forum_filter %} {% load hitcount_tags %} {% block extra_js %} {{form_comment.media.js}} {% endblock %} {% block content %}
{% get_hit_count for topic as total_hits %}

{% trans "Forum" %}: {{topic.forum.name}}

{% if user.id %} {% include "musette/notification.html" %} {% endif %}

{{topic.forum.description|safe}}


{{topic.title}}

{{topic.description|safe}} {% if topic.attachment %} {% endif %}


{% if total_hits|add:"0" > 1 %}

{% trans "This topic has" %} {{ total_hits }} {% trans "views" %}

{% else %}

{% trans "This topic has" %} {{ total_hits }} {% trans "view" %}

{% endif %}

{% trans "Users" %} {{topic|get_tot_users_comments|safe}}

{{topic.date}}


{% include "musette/topic.html" %}
{% if comments.count > 0 %}
{% endif %} {% if user.id != None %}
{% for message in messages %} {% if message.tags != "error" %} {% else %} {% endif %} {% endfor %}
{% csrf_token%}
{% for field in form_comment %} {% if field.name == "description" %}
{{ field }} {% if form_comment.description.errors %}
{{ form_comment.description.errors }}
{% endif %}
{% endif %} {% endfor %}
{% endif %}
{% if topic.user.id == user.id %} {% endif %} {% endblock %} {% block hitcount_javascript %} {% insert_hit_count_js_variables for topic %} {% endblock %}