{% extends 'punkweb_bb/base.html' %} {% load static bbcode_tags styled_username %} {% block extra_head %} {% endblock %} {% block extra_script %} {% endblock %} {% block content %}
{% if punkweb_bb.settings.SHOUTBOX_ENABLED|default:True %} {% 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.rendered}}
{{subcategory.thread_count}} {{subcategory.post_count}} {% if subcategory.latest_thread %} {% if subcategory.latest_thread.latest_post %}
{% if subcategory.latest_thread.latest_post.user.profile.image %} {% else%} {% endif %}
{{subcategory.latest_thread.title}}
{{subcategory.latest_thread.latest_post.user|styled_username}}
{% else %}
{% if subcategory.latest_thread.user.profile.image %} {% else%} {% endif %}
{{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 %}
{% if thread.user.profile.image %} {% else%} {% endif %}
{{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)
{% if punkweb_bb.settings.DISCORD_WIDGET_ENABLED %} {% if punkweb_bb.settings.DISCORD_SERVER_ID %} {% else %}

Discord Widget Error

DISCORD_SERVER_ID not configured in settings module.

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