{% extends "mobile/base.html" %} {% load i18n %} {% 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 (base.html's own precedent -- no Coach mode screens exist yet, so it's never rendered, not even as a dead/inert link). "Payments & dues" does lead somewhere (mobile:payments) and carries its "N OPEN" pill only once open_dues_count is actually > 0. 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 %}
{% endfor %}
{% trans "Personal details" %}
{% trans "Payments & dues" %} {% if open_dues_count %} {% blocktrans count counter=open_dues_count %}{{ counter }} OPEN{% plural %}{{ counter }} OPEN{% endblocktrans %} {% endif %}
{% trans "Notifications" %}
{% trans "Calendar sync" %}

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

{% endif %} {% endblock content %}