{% extends "cranefly/layout.html" %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{% if settings.board_index_title %}{{ settings.board_index_title }}{% else %}{{ settings.board_name }}{% endif %}{% endblock %} {% block meta %}{% if settings.board_index_meta %} {%- endif %}{%- endblock %} {% block content %}
{% for category in forums_list %}{% if category.subforums %}
{% for forum in category.subforums %} {% endfor %}
{{ category.name }}{% if category.description %} {{ category.description }}{% endif %}

{{ 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 %}
{% if forum.description %}

{{ forum.description }}

{% endif %}
{% if forum.type != 'redirect' %} {% trans %}Posts{% endtrans %}: {{ forum.posts|intcomma }} {% trans %}Threads{% endtrans %}: {{ forum.threads|intcomma }} {% else %} {% trans %}Clicks{% endtrans %}: {{ forum.redirects|intcomma }} {% endif %}
{% endif %}{% endfor %}
{% if ranks_online %}
{% for rank in ranks_online %}{% if rank.online %}

{% trans rank_name=_(rank.name) %}{{ rank_name }} Online{% endtrans %}

    {% for online in rank.online %}
  • {{ online.username }} {% if rank.title or online.title %}{% if online.title %}{{ online.title }}{% else %}{{ _(rank.title) }}{% endif %}{% endif %}
  • {% endfor %}
{% endif %}{% endfor %}
{% endif %} {% if popular_threads %} {% endif %}
  • {{ monitor.posts|int|intcomma }}
  • {{ monitor.threads|int|intcomma }}
  • {{ monitor.users|int|intcomma }}
  • {{ users_online|int|intcomma }}
{% if user.is_authenticated() %}
{% endif %}
{% endblock %} {% block javascripts -%}{{ super() }} {%- endblock %}