{% from 'common/macros.html' import timestamp, subheader, pager %} {%- extends 'base.html' -%} {%- block content -%} {%- call() subheader(('Threads in "%s"' % topic.name), topic.description) -%}
Actions New thread Subscribe via RSS
{%- if get_active_user().is_mod() -%}
Moderation actions
{%- endif -%} {%- endcall -%} {%- for thread in threads -%}
{{thread.title}} {%- if thread.posts_count / 10 > 1 -%} {{pager(0, (((thread.posts_count / 10) | round(0, 'ceil') )| int), 'flex-last', url=url_for('threads.thread', slug=thread.slug))}} {%- endif -%}
Started by {{thread.started_by_display_name if thread.started_by_display_name else thread.started_by}} on {{timestamp(thread.created_at)}} {{thread.posts_count - 1}} {{'repl' | pluralize(thread.posts_count - 1, 'y', 'ies')}} Latest reply by {{thread.latest_post_display_name if thread.latest_post_display_name else thread.latest_post_username}} on {{timestamp(thread.latest_post_created_at)}}
{%- endfor -%} {{pager(page, page_count, args=request.args)}} {%- endblock -%}