{% extends "cranefly/layout.html" %} {% import "_forms.html" as form_theme with context %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=forum.name,page=pagination['page']) }}{% endblock %} {% block breadcrumb %}{{ super() }} {% for parent in parents %}
{{ forum.name }}{% if forum.show_details and forum.type != 'redirect' %}
{% if acl.forums.can_browse(forum) and (acl.threads.can_read_threads(forum) == 2 or (acl.threads.can_read_threads(forum) == 1 and forum.last_poster_id == user.pk)) %}
{% if forum.last_thread_id -%}
{% trans %}Latest{% endtrans %}: {{ forum.last_thread_name|short_string(30) }}
{%- else -%}
{% trans %}This forum is empty{% endtrans %}
{%- endif %}
{%- else -%}
{% trans %}This forum is protected{% endtrans %}
{%- endif %}
{% endif %}
|
{% trans %}Thread{% endtrans %} | {% trans %}Rating{% endtrans %} | {% trans %}Activity{% endtrans %} | {% if user.is_authenticated() and list_form %}{% endif %} |
---|---|---|---|
{{ thread.name }}
{% trans user=thread_starter(thread), start=thread.start|reldate|low %}by {{ user }} {{ start }}{% endtrans %}
|
{{ replies(thread.replies) }} - {% trans user=thread_reply(thread), last=thread.last|reltimesince|low %}last by {{ user }} {{ last }}{% endtrans %}
|
{% if user.is_authenticated() and list_form %}
{% if thread.forum_id == forum.pk %}{% else %} {% endif %} | {% endif %}|
{% trans %}There are no threads in this forum.{% endtrans %} |