{% load static i18n %} {% comment %} App shell for Coach mode (C1-C6) -- design_handoff_rosterchief_platform/README.md's "Coach mode (mobile, dark chrome)" section. Standalone from mobile/templates/mobile/ base.html (Member mode's shell) rather than a shared parent: the two have almost no markup in common beyond the outer / skeleton -- dark ink header instead of navy, a light .coach-sheet body that overlaps the header by 20px (the mode's own signature, see assets/mobile.css's own comment), and a dark .coach-tab-bar instead of the white one. Reuses the SAME stylesheet (static/css/mobile.css) and the same mobile:manifest/ mobile:icon/mobile:service_worker PWA plumbing as Member mode -- one app, one manifest, two modes, not two separate PWAs. The tab bar only ever links to screens that actually exist. Today (C1) is the only coach screen built so far, so it's the only coach item -- Me reuses the *existing* member mobile:me page rather than a separate coach-Me screen (see CoachTodayView's own docstring). No dead links: as C2/C4/C5/C6 land, they get their own tab/entry point then, not stubbed in ahead of time (same principle mobile/templates/mobile/ me.html's own comment already applies to "Household & contacts"/"Coach mode" before this existed). {% endcomment %} {% block title %}{{ screen_title }} · {{ club.name }}{% endblock title %} {% if club.secondary_color %} {% endif %} {% block extra_head %}{% endblock extra_head %}
{% if club.logo %} {% else %} {{ club.initials }} {% endif %} {{ active_team.name|default:club.name }} {% if me %}{% trans "Head coach" %} · {{ me.first_name }}{% endif %}
{% if staffed_teams|length > 1 %}
{% for team in staffed_teams %} {{ team.short_name }} {% endfor %}
{% endif %}
{% trans "Member" %} {% trans "Coach" %}
{% block header_extra %}{% endblock header_extra %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% block content %}{% endblock content %}
{% block extra_body %}{% endblock extra_body %}