{% extends "mobile/base.html" %} {% load i18n lucide %} {% comment %} M5 -- design_handoff_rosterchief_platform/README.md's M5 section, "Me & my people". See MeView's own docstring (mobile/views.py) for the judgment calls: no license/eligibility field backing "licence OK", so each row's meta line is real roster data instead; "Household & contacts" has no screen to lead to and is omitted, same for the mockup's "Coach mode" promo. "Payments & dues" does lead somewhere (mobile:payments) and carries its "N OPEN" pill only once open_dues_count is actually > 0. "Teams I coach/manage" is new, beyond the mockup -- one row per current-season staff assignment, linking straight into Coach mode for that team. The avatar/name/subtitle row lives in header_extra -- merged into the shared navy app-header (base.html) rather than a separately-coloured block of its own, matching the design canvas's own M5 markup. {% endcomment %} {% block header_extra %} {% if managed_people %}
{% include "mobile/_avatar.html" with person=me size_class="h-14 w-14" text_class="text-xl" bg_class="bg-club" %}
{{ me.get_full_name }}
{% if member_since or team_manager_label %}
{% if member_since %}{% blocktrans with year=member_since|date:"Y" %}Member since {{ year }}{% endblocktrans %}{% endif %} {% if member_since and team_manager_label %}·{% endif %} {{ team_manager_label }}
{% endif %}
{% endif %} {% endblock header_extra %} {% block content %} {% if not managed_people %}

{% trans "No one to show yet" %}

{% trans "Once you're linked to a member record, your profile will show up here." %}

{% else %}
{% trans "People I manage" %}
{% for row in people_rows %} {% if not forloop.first %}
{% endif %} {% include "mobile/_avatar.html" with person=row.person %}
{{ row.person.get_full_name }} {% if row.person == me %}{% trans "(me)" %}{% endif %}
{% if row.membership %}
{{ row.membership.team.short_name }} {% if row.membership.jersey_number %}· #{{ row.membership.jersey_number }}{% endif %}
{% endif %}
{% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}
{% endfor %}
{% if staff_assignments %}
{% trans "Teams I coach/manage" %}
{% for assignment in staff_assignments %} {% if not forloop.first %}
{% endif %} {% lucide "users" size=20 stroke_width=2.4 %}
{{ assignment.team.name }}
{{ assignment.position }}
{% lucide "chevron-right" size=18 class="shrink-0 text-on-dark-dim" %}
{% endfor %}
{% endif %}
{% trans "Personal details" %} {% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}
{% trans "Payments & dues" %} {% if open_dues_count %} {% blocktrans count counter=open_dues_count %}{{ counter }} OPEN{% plural %}{{ counter }} OPEN{% endblocktrans %} {% endif %} {% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}
{% trans "Notifications" %} {% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}
{% trans "Calendar sync" %} {% lucide "chevron-right" size=18 class="shrink-0 text-dim" %}

{% blocktrans with club_name=club.name %}RosterChief · {{ club_name }} · v1.0{% endblocktrans %}

{% endif %} {% endblock content %}