{% 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, followed closely for the Colours card (merged swatch+hex row, side-by-side contrast-check boxes) and the Logo card (dashed drop zone) -- markup pulled straight from the design canvas (RosterChief Platform.dc.html), not the prose summary. Three top-level tabs, not just a preview card: Identity (the settings form, plus a small live-updating App & Website mock -- colours from the unsaved form inputs, via the script below) is D9 as designed. Email and PDF are real, not mocks -- every branded email (management/email_previews.py) and generated PDF (management/pdf_previews.py) this club can actually send, rendered with sample data. Those two read the club's *saved* colours (server-rendered in an iframe, see EmailPreviewRenderView/PDFPreviewRenderView), so -- unlike the Identity tab's own mock -- they only reflect a colour change after it's saved, not as you type. The colour math (content colour, contrast ratio) mirrors Club._content_color_for exactly, so what's shown on the Identity tab is the real number the server computes on save, 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 filter_strip %}