{% extends "core/base.html" %} {% load lyric_extras %} {% block title_text %}Billpost{% endblock title_text %} {% block header_text %}Billpost{% endblock header_text %} {% block content %} {# Hidden owner span — preserves the existing FT contract that reads the #} {# post owner via #id_post_owner. Visible owner attribution moved into the #} {# self line ("just me, …" / "& me, …") below. #} {{ post.owner|display_name }}
shared between {% for r in other_recipients %}{{ r|at_handle }}{% if not forloop.last %}, {% endif %}{% endfor %}
& me, {{ post.owner|at_handle }} the {{ post.owner.active_title_display }}
{% else %}just me, {{ post.owner|at_handle }} the {{ post.owner.active_title_display }}
{% endif %} {% else %} {# Invitee viewing — "shared with" prose centred on the viewer #} {# (request.user). Sole invitee collapses to a single line; the #} {# "created by …" line attributes the post to its founder. #} {% if other_recipients %}shared with {% for r in other_recipients %}{{ r|at_handle }}{% if not forloop.last %}, {% endif %}{% endfor %}
& me, {{ request.user|at_handle }} the {{ request.user.active_title_display }}
{% else %}shared with me, {{ request.user|at_handle }} the {{ request.user.active_title_display }}
{% endif %}created by {{ post.owner|at_handle }} the {{ post.owner.active_title_display }}
{% endif %}