{% import "./macros/pagination.html" as pagination %} {% import "./macros/post-actions.html" as post_actions %} {% import "./macros/post-form.html" as post_form %} {% import "./macros/post.html" as post %} {% extends "base.html" %} {% block theme %}{{ board.config.0.board_theme }}{% endblock %} {% block title %}/{{ board.id }}/ - {{ board.name }}{% endblock %} {% block scripts %} {% endblock %} {% block content %}

/{{ board.id }}/ - {{ board.name }}

{{ board.description }}

Katalog

[Nové vlákno]

{% call post_form::post_form(board, false, 0) %}

{% for (thread, replies) in threads %}
{% call post::post(board, thread, false) %} {% let count = replies.len() %} {% if count > 5 %}

{% let omitted = count - 5 %} {{ "Vynechán|Vynechány|Vynecháno"|czech_plural(omitted) }} {{ omitted }} {{ "příspěvek|příspěvky|příspěvků"|czech_plural(omitted) }}. Zobrazit celé vlákno.

{% for reply_post in replies.iter().rev().take(5).rev() %} {% call post::post(board, reply_post, true) %}
{% endfor %} {% else %} {% for reply_post in replies %} {% call post::post(board, reply_post, true) %}
{% endfor %} {% endif %}

{% endfor %} {% call pagination::pagination("/boards/{}"|format(board.id), pages, page) %}
{% call post_actions::post_actions(tcx.perms) %}
{% endblock %}