1.4 KiB · text History 6e34613
{# The lameness filter's hold on a queue item: a system flag, with every
   measurement (the tripped ones marked). Dismiss = a false positive, shown
   again; moderate or delete = upheld, a strike for the author. #}
{% if item.hold %}
<div class="rounded-field border border-secondary/50 bg-secondary/10 p-2 text-xs" data-lameness-hold>
  <p class="font-semibold"><i class="fas fa-robot mr-1"></i>Held by the lameness filter <span class="font-normal opacity-60" title="{{ item.hold.created_abs }}">{{ item.hold.created_rel }}</span></p>
  <ul class="list-disc pl-4">{% for r in item.hold.reasons %}<li>{{ r }}</li>{% endfor %}</ul>
  <details class="mt-1">
    <summary class="cursor-pointer opacity-70">Scores</summary>
    <dl class="mt-1 grid grid-cols-[auto_1fr] gap-x-2 font-mono">
      {% for name, value, tripped in item.hold.scores %}<dt class="{% if tripped %}text-error font-semibold{% else %}opacity-60{% endif %}">{{ name }}</dt><dd class="{% if not tripped %}opacity-60{% endif %}">{{ value }}</dd>{% endfor %}
    </dl>
  </details>
  <p class="mt-1 opacity-70" title="Upheld holds in the last {{ item.author_holds.strike_days }} days">
    {{ item.author }}: {{ item.author_holds.strikes }} strike{% if item.author_holds.strikes != 1 %}s{% endif %} · {{ item.author_holds.dismissed }} dismissed · upholding this one: {{ item.author_holds.next_step }}
  </p>
</div>
{% endif %}