{# Shared post-header (owner-style): a title + the "shared between … & me" /   #}
{# "just me" prose. Used by post.html's owner branch AND the room game-views    #}
{# POST view (the private game chat), so the two render identically. Params:    #}
{#   header_title    — the title text (post.title; or "Gamer Introduction")     #}
{#   other_recipients — the users to list as chips (post recipients; or the     #}
{#                      gamers OCCUPYING SEATS at the table — NOT mere token-    #}
{#                      depositors, who can retract + leave without committing)  #}
{#   self_user       — whose "& me, …" / "just me, …" line this is (the post    #}
{#                      owner, or the viewer in the game chat)                   #}
{# The invitee branch of post.html ("shared with" + "created by") stays bespoke #}
{# there; only the chip + owner-style header are shared.                        #}
{% load lyric_extras %}
<header class="post-header">
    <h3 class="post-title">{{ header_title }}</h3>
    {% if other_recipients %}
        <p class="post-shared-recipients">shared between {% for r in other_recipients %}{% include "apps/billboard/_partials/_post_recipient.html" with r=r %}{% if not forloop.last %}, {% endif %}{% endfor %}</p>
        <p class="post-shared-self">&amp; me, <span class="post-attribution">{{ self_user|at_handle }} the {{ self_user.active_title_display }}</span></p>
    {% else %}
        <p class="post-shared-self">just me, <span class="post-attribution">{{ self_user|at_handle }} the {{ self_user.active_title_display }}</span></p>
    {% endif %}
</header>
