{% extends 'musette/base_musette.html' %} {% load i18n %} {% load static %} {% load forum_tags %} {% load hitcount_tags %} {% block extra_js %} {{form_comment.media.js}} {% endblock %} {% block meta %} {{ topic.forum.name }} - {{ topic.title }} {% endblock %} {% block content %}
{% get_hit_count for topic as total_hits %}

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

{{topic.description|safe }} {% if topic.attachment %} {% endif %}
{{ topic.idtopic|get_tot_comments }} {% if user.id %} {% if topic|check_like_topic:user %} {{ topic.like }} {% else %} {{ topic.like }} {% endif %} {% else %} {{ topic.like }} {% 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}}

{% if topic.user.id == user.id and not user.user.is_troll %}
{% trans "Delete" %} {% endif %}

{{topic.date}}

{% trans "Last activity" %} {{topic|get_last_activity|safe}} {% trans "Share" %} {% if topic.user == user and not user.user.is_troll %} {% endif %}

{% include "musette/topic.html" %}
{% comment %} Real time comment with Vue {% endcomment %} {% verbatim %}
{{ comment.username }}
Online
{% endverbatim %} {% trans "Last Seen" %} {% verbatim %} {% endverbatim %} 0 {% trans "minutes" %} {% verbatim %}
{% endverbatim %} {% if comments.count > 0 %}
{% endif %} {% if user.id != None and not topic.is_close and not user.user.is_troll %}
{% 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 %}
{% if suggest %}

{% trans "Suggested Topics" %}


{% for topic in suggest %} {% endfor %}
{% trans "Title" %} {% trans "Forum" %} {% trans "Date" %} {% trans "Comments" %} {% trans "User" %}
{{ topic.title }} {{topic.forum.name }} {{topic.date.date }} {{ topic.idtopic|get_tot_comments }} {{topic.user|get_path_profile|safe}}
{% endif %} {% endblock %} {% block hitcount_javascript %} {% insert_hit_count_js_variables for topic %} {% endblock %}