{% extends "boards/base.html" %} {% load i18n %} {% load markup %} {% load cache %} {% load board %} {% block head %} {% if tag %} Neboard - {{ tag.name }} {% else %} Neboard {% endif %} {% if prev_page %} {% endif %} {% if next_page %} {% endif %} {% endblock %} {% block content %} {% get_current_language as LANGUAGE_CODE %} {% if tag %}

{% if tag in user.fav_tags.all %} {% else %} {% endif %} #{{ tag.name }}

{% endif %} {% if threads %} {% if prev_page %} {% endif %} {% for thread in threads %} {% cache 600 thread_short thread.thread.last_edit_time moderator LANGUAGE_CODE %}
{% if thread.bumpable %}
{% else %}
{% endif %} {% if thread.thread.image %} {% endif %}
{% autoescape off %} {{ thread.thread.text.rendered|truncatewords_html:50 }} {% endautoescape %} {% if thread.thread.is_referenced %}
{% trans "Replies" %}: {% for ref_post in thread.thread.get_sorted_referenced_posts %} >>{{ ref_post.id }}{% if not forloop.last %},{% endif %} {% endfor %}
{% endif %}
{% if thread.last_replies.exists %}
{% for post in thread.last_replies %} {% if thread.bumpable %}
{% else %}
{% endif %} {% if post.image %} {% endif %}
{% autoescape off %} {{ post.text.rendered|truncatewords_html:50 }} {% endautoescape %}
{% if post.is_referenced %}
{% trans "Replies" %}: {% for ref_post in post.get_sorted_referenced_posts %} >>{{ ref_post.id }}{% if not forloop.last %},{% endif %} {% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endcache %} {% endfor %} {% if next_page %} {% endif %} {% else %}
{% trans 'No threads exist. Create the first one!' %}
{% endif %}
{% csrf_token %}
{% trans "Create new thread" %}
{% trans 'Title' %}
{{ form.title }}
{{ form.title.errors }}
{% trans 'Formatting' %}
>{% trans 'quote' %} {% trans 'italic' %} {% trans 'bold' %} {% trans 'spoiler' %} // {% trans 'comment' %}
{% trans 'Text' %}
{{ form.text }}
{{ form.text.errors }}
{% trans 'Image' %}
{{ form.image }}
{{ form.image.errors }}
{% trans 'Tags' %}
{{ form.tags }}
{{ form.tags.errors }}
{{ form.captcha }}
{{ form.captcha.errors }}
{{ form.other.errors }}
{% trans 'Tags must be delimited by spaces. Text or image is required.' %}
{% trans 'Text syntax' %}
{% endblock %} {% block metapanel %} Neboard 1.3 {% trans "Pages:" %} {% for page in pages %} [{{ page }}] {% endfor %} [RSS] {% endblock %}