{% extends "boards/base.html" %} {% load i18n %} {% load cache %} {% load board %} {% load static %} {% block head %} {% if tag %} {{ tag.name }} - {{ site_name }} {% else %} {{ site_name }} {% endif %} {% if current_page.has_previous %} {% endif %} {% if current_page.has_next %} {% endif %} {% endblock %} {% block content %} {% get_current_language as LANGUAGE_CODE %} {% if tag %}

{% if is_favorite %} {% else %} {% endif %} {% if is_hidden %} H {% else %} H {% endif %} {% autoescape off %} {{ tag.get_view }} {% endautoescape %} {% if moderator %} [{% trans 'Edit tag' %}] {% endif %}

{% blocktrans with thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ thread_count }} threads and {{ post_count }} posts.{% endblocktrans %}

{% endif %} {% if threads %} {% if current_page.has_previous %} {% endif %} {% for thread in threads %} {% cache 600 thread_short thread.id thread.last_edit_time moderator LANGUAGE_CODE %}
{% post_view thread.get_opening_post moderator is_opening=True thread=thread truncated=True need_open_link=True %} {% if not thread.archived %} {% with last_replies=thread.get_last_replies %} {% if last_replies %} {% if thread.get_skipped_replies_count %}
{% blocktrans with count=thread.get_skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %}
{% endif %}
{% for post in last_replies %} {% post_view post is_opening=False moderator=moderator truncated=True %} {% endfor %}
{% endif %} {% endwith %} {% endif %}
{% endcache %} {% endfor %} {% if current_page.has_next %} {% endif %} {% else %}
{% trans 'No threads exist. Create the first one!' %}
{% endif %}
{% trans "Create new thread" %}
{% csrf_token %} {{ form.as_div }}
(ctrl-enter)
{% trans 'Tags must be delimited by spaces. Text or image is required.' %}
{% trans 'Text syntax' %}
{% endblock %} {% block metapanel %} {{ site_name }} {{ version }} {% trans "Pages:" %} << [ {% for page in paginator.center_range %} {{ page }} {% if not forloop.last %},{% endif %} {% endfor %} ] >> [RSS] {% endblock %}