{% extends "base.html" %} {% import "partials/forum_macros.html" as fm with context %} {% block body_class %}{% endblock %} {% block title %}Moderator desk — MoonBite Discussions{% endblock %} {% block meta_description %}Moderator tools for the MoonBite forum.{% endblock %} {% block head_extra %} {% include "partials/forum_style.html" %} {% endblock %} {% block content %}
{% if disabled %} {% elif login %} {% else %} {% set tw, lw = metrics.this_week, metrics.last_week %} {% macro delta(a, b) -%} {%- if b == 0 and a == 0 %}no change{% elif b == 0 %}new this week{% else %}{% set pct = ((a - b) / b * 100)|round|int %}{{ '+' if pct >= 0 }}{{ pct }}% vs last week ({{ b }}){% endif -%} {%- endmacro %}
  1. Discussions
  2. Moderator desk

Moderator desk

{% if request.args.get('error') %}{% endif %}

Last 7 days, people only (verified posts not counted)

People posting
{{ tw.posters }}
{{ delta(tw.posters, lw.posters) }}
New threads
{{ tw.threads }}
{{ delta(tw.threads, lw.threads) }}
Replies
{{ tw.replies }}
{{ delta(tw.replies, lw.replies) }}
{% set a, n = metrics.answered_24h %}
Answered in 24h
{% if n %}{{ (a / n * 100)|round|int }}%{% else %}–{% endif %}
{{ a }} of {{ n }} threads, last 30 days. Aim for 100%.

Reports {{ reports|length }} open

{% for r in reports %} {% set link = url_for('discussion_thread_page', thread_id=r.thread_id) ~ ('#c-' ~ r.id if r.kind == 'r' else '') %}
{{ r.title }}{% if r.kind == 'r' %} comment{% endif %}
{{ r.author }}: {{ r.excerpt }}
{{ r.count }} report{{ '' if r.count == 1 else 's' }}{% for why in r.reasons %}{{ reasons[why] }}{% endfor %}{{ r.last_ago }}
{% if not r.removed %}{{ fm.mod_button(r.kind, r.id, 'remove', 'Remove', url_for('discussions_mod_page')) }}{% endif %} {{ fm.mod_button(r.kind, r.id, 'dismiss', 'Keep it', url_for('discussions_mod_page')) }}
{% else %}

No open reports.

{% endfor %}

Waiting for a first reply {{ metrics.unanswered|length }}

{% for w in metrics.unanswered %}
asked {{ fm.ago(w.ago) }}
{% else %}

Every thread has a reply.

{% endfor %}

Newest posts

{% for p in recent %} {% set link = url_for('discussion_thread_page', thread_id=p.thread_id) ~ ('#c-' ~ p.id if p.kind == 'r' else '') %}
{{ p.title }}{% if p.kind == 'r' %} comment{% endif %}{% if p.removed %} removed{% endif %}
{{ p.author }}{% if p.is_official %} (verified){% endif %}: {{ p.excerpt }}
{{ fm.ago(p.ago) }}
{{ fm.mod_button(p.kind, p.id, 'restore' if p.removed else 'remove', 'Restore' if p.removed else 'Remove', url_for('discussions_mod_page')) }}
{% else %}

Nothing posted yet.

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