907 B · text History 263b40b
{# A flagged post as a Classic table row. #}
<tr id="flags-{{ item.post_id }}" class="align-top {% if item.resolved %}opacity-60{% endif %}">
  <td class="min-w-64">
    <a href="/t/{{ item.topic_id }}#post-{{ item.post_number }}" class="font-medium link link-hover">#{{ item.post_number }} in {{ item.topic_title }}</a>
    {% include "admin/_author_glance.html" %}
    <div class="prose prose-xs mt-1 max-h-24 max-w-md overflow-hidden text-xs opacity-80">{{ item.cooked | safe }}</div>
  </td>
  <td class="min-w-56">
    <div class="mb-1 flex flex-wrap gap-1">{% for r in item.reasons %}<span class="badge badge-sm">{{ r[0] }} ×{{ r[1] }}</span>{% endfor %}</div>
    {% include "admin/_hold.html" %}
    {% include "admin/_flag_list.html" %}
  </td>
  <td class="whitespace-nowrap">{% include "admin/_flag_counts.html" %}</td>
  <td class="min-w-64">{% include "admin/_flag_actions.html" %}</td>
</tr>