{% extends "cranefly/layout.html" %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=category.name) }}{% endblock %} {% block breadcrumb %}{{ super() }} {% for parent in parents %}
{{ forum.name }}{% if forum.show_details %}
{% if 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 -%}
{% endif %}
{% if forum.subforums %}
{% endif%}
{% if forum.last_poster_id %}{{ forum.last_poster_name }}{% else %}{{ forum.last_poster_name }}{% endif %} - {{ forum.last_thread_date|reltimesince }}
{%- else -%}
{% trans %}This forum is empty{% endtrans %}
{%- endif %}
{%- else -%}
{% trans %}This forum is protected{% endtrans %}
{%- endif %}
{%- else -%}
{% trans clicks=macros.wrap(forum.redirects|intcomma, 'span', 'class="last-poster"') %}{{ clicks }} clicks{% endtrans %}
{%- endif %}
|
{% trans %}Looks like there are no forums to display in this category.{% endtrans %}
{% endif %}