{% extends 'punkweb_bb/base.html' %} {% load static punkweb_bb render styled_username %} {% block extra_head %} {% endblock %} {% block extra_script %} {% endblock %} {% block content %}
{% punkweb_bb "SHOUTBOX_ENABLED" as shoutbox_enabled %} {% if shoutbox_enabled %} {% include 'punkweb_bb/shoutbox/shoutbox.html' %} {% endif %} {% for category in categories %}
{% for subcategory in category.subcategories.all %} {% endfor %}
{{category.name}} {% if perms.punkweb_bb.add_subcategory %} add {% endif %} {% if perms.punkweb_bb.change_category %} edit {% endif %} {% if perms.punkweb_bb.delete_category %} delete {% endif %}
Threads Posts
{{subcategory.name}}
{{subcategory.description|render}}
{{subcategory.thread_count}} {{subcategory.post_count}} {% if subcategory.latest_thread %} {% if subcategory.latest_thread.latest_post %}
{% include 'punkweb_bb/components/profile_image.html' with user=subcategory.latest_thread.latest_post.user %}
{{subcategory.latest_thread.title}}
{{subcategory.latest_thread.latest_post.user|styled_username}}
{% else %}
{% include 'punkweb_bb/components/profile_image.html' with user=subcategory.latest_thread.user %}
{{subcategory.latest_thread.title}}
{{subcategory.latest_thread.user|styled_username}}
{% endif %} {% else %} No threads {% endif %}
{% endfor %} {% if perms.punkweb_bb.add_category %} add {% endif %}
Recent threads
{% for thread in recent_threads %}
{% include 'punkweb_bb/components/profile_image.html' with user=thread.user %}
{{thread.title}}
{{thread.user|styled_username}}
{% endfor %}
Statistics
Total threads:
{{thread_count}}
Total posts:
{{post_count}}
Total members:
{{users|length}}
{% if newest_user %} {% endif %}
Users online:
{{total_online}} ({{members_online|length}} members, {{staff_online|length}} staff, {{guests_online}} guests)
{% punkweb_bb "DISCORD_WIDGET_ENABLED" as discord_widget_enabled %} {% punkweb_bb "DISCORD_SERVER_ID" as discord_server_id %} {% if discord_widget_enabled %} {% if discord_server_id %} {% else %}

Discord Widget Error

DISCORD_SERVER_ID not configured in settings module.

{% endif %} {% endif %}
{% endblock %}