{% 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 deliberately stays minimal (Today + Me) even with all six coach screens built -- C2/C3/C4/C5/C6 are reached from Today's own action buttons and "needs you" list, not separate tab items; Me reuses the *existing* member mobile:me page rather than a separate coach-Me screen (see CoachTodayView's own docstring). hx-boost="true" on : every same-shell link/form becomes an AJAX navigation instead of a full browser reload -- see mobile/templates/mobile/base.html's own comment for the full reasoning. Only 's children swap, not the tag itself, so anything that crosses back into the Member shell (bg-paper, its own data attrs) is marked hx-boost="false" to force a real navigation instead. {% 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 "Manager" %}
{% 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 %}