A large batch of club-management features built up over one session: - Club dashboard banner warning admins 1 month before billing ends - Full Events/EventSeries CRUD (recurrence builder, occurrence lifecycle, per-team permissions), with match->game rename and game-specific fields (score, competition, live status, external game ID) - Django-admin competition dropdown, gated per-club by feature flag - Auto-import of RBIHF fixtures (scrape -> diff -> preview -> confirm), with location/opponent dropdowns suggested from existing club data - Feature-flag-gated Shop/Forms nav sections, reusing the same flag machinery for the RBIHF import button - Team roster now scoped to members active this season or next, sorted and grouped by position - Club sport type (ice hockey / other), shown in the control panel's club subtitle - Per-season team photo upload from the team page - New public read-only API (Django Ninja) at /api/v1/: news, team rosters, upcoming/live/per-team games, and sponsors -- auto-documented via Swagger UI, CORS-enabled for a club's own external website - Club sponsors: admin-only CRUD (logo, URL, active date window) plus a date-windowed, optionally randomized API endpoint - Assorted fixes: NullBooleanField dropdown rendering, cross-club event validation timing, searchable-select chip placement, btn-neutral -> default button style sweep, calendar-month chart windows Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R1gj3J1QPfP38XWpnpbFpy
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
{% extends "account/base_manage.html" %}
|
|
{% load allauth i18n lucide %}
|
|
|
|
{% comment %}
|
|
Overridden for layout: Cancel sits beside Sign Out, both with icons.
|
|
|
|
Cancel points at "/" rather than the Referer header — "/" already resolves per tenant
|
|
(club home on a club subdomain, control panel on the base domain), whereas Referer can
|
|
be missing or off-site, and is not something to turn into a link unchecked.
|
|
{% endcomment %}
|
|
|
|
{% block head_title %}
|
|
{% trans "Sign Out" %}
|
|
{% endblock head_title %}
|
|
|
|
{% block content %}
|
|
{% element h1 %}
|
|
{% trans "Sign Out" %}
|
|
{% endelement %}
|
|
{% element p %}
|
|
{% trans 'Are you sure you want to sign out?' %}
|
|
{% endelement %}
|
|
|
|
<form class="mt-8" method="post" action="{% url 'account_logout' %}">
|
|
{% csrf_token %}
|
|
{{ redirect_field }}
|
|
|
|
<div class="flex flex-wrap items-center justify-end gap-2">
|
|
<a class="btn btn-outline gap-2" href="/">{% lucide "arrow-left" size=16 %} {% trans "Cancel" %}</a>
|
|
<button class="btn btn-primary gap-2" type="submit">{% lucide "log-out" size=16 %} {% trans "Sign Out" %}</button>
|
|
</div>
|
|
</form>
|
|
{% endblock content %}
|