{% extends 'musette/base_musette.html' %} {% load i18n %} {% load static %} {% load forum_tags %} {% load hitcount_tags %} {% block extra_js %} {{form_comment.media.js}} {% endblock %} {% block content %}
{% get_hit_count for topic as total_hits %}
{{topic.user|get_path_profile|safe}}
{% if topic.user.id == user.id %} {% trans "Edit" %} {% trans "Delete" %} {% endif %}

{{topic.title}} {% if topic.is_top %} {% endif %}


{{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" %}
{% comment %} Real time comment with angular {% endcomment %} {% verbatim %}
{{comment.description | htmlToPlaintext }}
{{ comment.username }}
{% endverbatim %} {% 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 %}