{% load forum_extras %} {% include 'partials/head.html' %} {% include 'partials/header.html' %} {% include 'partials/video.html' %}

{{ topic.name }}

{% include 'forum/_style.html' %}
{% if forum %}← {{ forum.name }}{% endif %} {% if topic.has_views %}{{ topic.views }} visitas{% endif %} {% if topic.locked %}Tema bloqueado{% endif %}
{% for post in posts %}
{{ post.author.status }}
{% if post.author.joindate %}Registro: {{ post.author.joindate|date:"d/m/Y" }}
{% endif %} Mensajes: {{ post.author.post_count }}
{% if post.deleted %}
[Mensaje eliminado]
{% else %}
{{ post.text|forum_safe }}
{% endif %}
{{ post.time }}{% if post.updated_at and post.updated_at != post.time %} · editado {{ post.updated_at }}{% endif %} {% if post.can_edit and not post.deleted %} Editar ·
{% csrf_token %}
{% endif %} {% if post.deleted and forum_is_moderator %}
{% csrf_token %}
{% endif %}
{% endfor %} {% if pagination.total_pages > 1 %}
{% if pagination.has_prev %}« Anterior{% endif %} {% for p in pagination.page_range %} {% if p == pagination.page %}{{ p }} {% else %}{{ p }}{% endif %} {% endfor %} {% if pagination.has_next %}Siguiente »{% endif %}
{% endif %} {% if can_reply %}

Responder

{% csrf_token %} {{ reply_form.text }}
{{ reply_form.media }}
{% elif topic.locked %}

Este tema está bloqueado. No se admiten nuevas respuestas.

{% elif not forum_is_authenticated %}

Inicia sesión para responder.

{% endif %} {% if forum_is_moderator %}

Moderación

{% if topic.locked %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
{% if topic.deleted %}
{% csrf_token %}
{% else %}
{% csrf_token %}
{% endif %}
{% if move_forums %}
{% csrf_token %}
{% endif %}
{% endif %}
{% include 'partials/social.html' %} {% include 'partials/footer.html' %} {% include 'partials/final.html' %}