{% extends "_club_base.html" %} {% load i18n lucide %} {% comment %} The club-staff shell: team managers, coaches and admins only (never parents or players -- see club.mixins.ClubStaffRequiredMixin). Mirrors controlpanel/base.html's block structure, extending the club's own skin instead of the platform's. {% endcomment %} {% block head_title %} {% block section_title %}{% trans "Management" %}{% endblock section_title %} {% endblock head_title %} {% block nav_toggle %} {% endblock nav_toggle %} {% comment %} Kept in the navbar itself only at `lg`+, where there's no hamburger drawer to hold them instead -- see the comment on `nav_icons_class` in _base.html. {% endcomment %} {% block nav_icons_class %}hidden items-center lg:flex{% endblock nav_icons_class %} {% block menu %} {% endblock menu %} {% block main %} {# Below `lg` the sidebar is hidden and {% block nav_toggle %} above opens this instead. #} {# flex-col below `sm`: title over a full-width, stacked column of action buttons reads far better on a phone than the same row wrapping mid-button. #}

{% block heading %}{% trans "Management" %}{% endblock heading %}

{% block subheading %}{% endblock subheading %}
{% block actions %}{% endblock actions %}
{% comment %} A final billing notice follows the admin onto every management page -- but only at error level (inside 7 days of archiving, or already past it). Shown from the moment anything is owed it would sit on every screen for weeks and train people to ignore the one week it matters. home.html includes the same partial at every level, hence the guard here rather than inside the partial. {% endcomment %} {% if billing_notice.is_urgent and nav != "home" %} {% include "management/_billing_notice.html" %} {% endif %} {% block panel %}{% endblock panel %} {% endblock main %}