{# On a held topic (its opening post is held for review): why, for the
author; the queue item, for staff. Nobody else gets here (404). Expects
`topic` and `posts`. #}
{% if topic.held_at %}
{% for op in posts if op.post_number == 1 %}
<div class="alert alert-warning alert-soft text-sm" role="note" data-held-topic>
<i class="fas fa-hourglass-half"></i>
{% if user and user.is_staff %}
<span>Held: the opening post is waiting for review; only its author and staff see this topic.
<a href="/admin/flags#flags-{{ op.id }}" class="link font-semibold" data-held-queue>Review it in the queue</a></span>
{% else %}
<span>Held for review{% if op.held %}: {{ op.held | join("; ") }}{% endif %}. Until staff look at it, only you and staff can see this topic.</span>
{% endif %}
</div>
{% endfor %}
{% endif %}
neiam
/recourse
public · Issues · Pulls · Labels · Forks · Compare · Actions success · Badges · Packages
⭐
Log in to mark this repository.
823 B · text
History
263b40b