{% extends "management/base.html" %} {% load i18n lucide ui %} {% comment %} A club's own self-service identity/branding editor -- see management/forms.py's ClubSettingsForm for exactly which fields are editable here versus platform-staff-only (slug, seasons). D9 "Club identity & branding" in the design handoff is the reference: two columns, form fields on the left and a live preview on the right. The preview here is scoped to what actually exists in this app rather than D9's aspirational App/Website/Email tabs -- primary_color drives the sidebar (--tenant-sidebar-bg/fg, base.html), secondary_color drives the club accent (--tenant-club/-dark/-content, buttons/active nav/crest) -- so the mini sidebar + button mock below is genuinely what changing these fields does, not a fabricated mockup. The colour math (content colour, contrast ratio) mirrors Club._content_color_for exactly, so the "computed ratio" shown is the real number the server will use, not an approximation. {% endcomment %} {% block panel_title %}{% trans "Club identity" %}{% endblock panel_title %} {% block heading %}{% trans "Club identity" %}{% endblock heading %} {% block actions %} {% endblock actions %} {% block panel %}
{% trans "Where these colours actually show up in the management app -- updates as you edit, before you save anything." %}