{# A single post-thread line. Shared by post.html's #id_post_table loop, the   #}
{# room game-views carousel POST view, and the `epic:room_post` AJAX endpoint  #}
{# (which renders this partial standalone for the just-typed line). adman /     #}
{# taxman / mailman-authored system Lines may carry HTML anchors (note-ref /    #}
{# post-attribution) so they render |safe; user-typed Lines stay escaped.      #}
{# `display_text` strips the `[<iso timestamp>] ` prefix tax-ledger Lines carry #}
{# to satisfy `unique_together = (post, text)` — the per-line `created_at`      #}
{# timestamp on the right renders the user-facing moment.                      #}
{% load lyric_extras %}
<li class="post-line {% if line.author.username == 'adman' or line.author.username == 'taxman' or line.author.username == 'mailman' %}post-line--system{% endif %}">
    <span class="post-line-author">{{ line.author|at_handle }}</span>
    <span class="post-line-text">{% if line.author.username == 'adman' or line.author.username == 'taxman' or line.author.username == 'mailman' %}{{ line.display_text|safe }}{% else %}{{ line.display_text }}{% endif %}</span>
    <time class="post-line-time" datetime="{{ line.created_at|date:'c' }}">{{ line.created_at|relative_ts }}</time>
</li>
