{% 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 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 %}Looks like there are no forums to display in this category.{% endtrans %}
{% endif %}