{% import "./macros/pagination.html" as pagination %} {% import "./macros/post-actions.html" as post_actions %} {% import "./macros/post.html" as post %} {% extends "base.html" %} {% block title %}Index nadnástěnky{% endblock %} {% block content %}

Index nadnástěnky

Nově naťuknutá vlákna ze všech nástěnek

Katalog

{% for (thread, replies) in threads %}
Vlákno z /{{ thread.board }}/ {% call post::post(boards[thread.board.as_str()], 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(boards[reply_post.board.as_str()], reply_post, true) %}
{% endfor %} {% else %} {% for reply_post in replies %} {% call post::post(boards[reply_post.board.as_str()], reply_post, true) %}
{% endfor %} {% endif %}

{% endfor %} {% call pagination::pagination("/overboard", pages, page) %}
{% call post_actions::post_actions(tcx.perms) %}
{% endblock %}