diff --git a/authentication/tests.py b/authentication/tests.py index a3b62d7..2635530 100644 --- a/authentication/tests.py +++ b/authentication/tests.py @@ -295,7 +295,7 @@ class TwoFactorPageTests(TestCase): self.assertNotContains(self.response, 'placeholder="Code"') def test_cancel_sits_beside_sign_in_and_is_not_primary(self): - self.assertContains(self.response, ' {% if subscription %} @@ -78,7 +78,7 @@ {% if not due.payments.all %}
{% csrf_token %} - +
{% endif %} {% endif %} diff --git a/controlpanel/templates/controlpanel/_club_features_card.html b/controlpanel/templates/controlpanel/_club_features_card.html index e335918..8a88fca 100644 --- a/controlpanel/templates/controlpanel/_club_features_card.html +++ b/controlpanel/templates/controlpanel/_club_features_card.html @@ -8,7 +8,7 @@

{% lucide "toggle-right" size=18 %} Features

-
{% lucide "wrench" size=14 %} Manage features + {% lucide "wrench" size=14 %} Manage features
diff --git a/controlpanel/templates/controlpanel/_club_health_table.html b/controlpanel/templates/controlpanel/_club_health_table.html index f85df8a..dc34d63 100644 --- a/controlpanel/templates/controlpanel/_club_health_table.html +++ b/controlpanel/templates/controlpanel/_club_health_table.html @@ -122,7 +122,7 @@ {% empty %} diff --git a/controlpanel/templates/controlpanel/billing.html b/controlpanel/templates/controlpanel/billing.html index a826711..f9496b0 100644 --- a/controlpanel/templates/controlpanel/billing.html +++ b/controlpanel/templates/controlpanel/billing.html @@ -53,7 +53,7 @@ {% empty %} diff --git a/controlpanel/templates/controlpanel/club_detail.html b/controlpanel/templates/controlpanel/club_detail.html index 0da2336..0d334f6 100644 --- a/controlpanel/templates/controlpanel/club_detail.html +++ b/controlpanel/templates/controlpanel/club_detail.html @@ -34,7 +34,7 @@ {% endblock subheading %} {% block actions %} - {% lucide "pencil" size=16 %} Edit + {% lucide "pencil" size=16 %} Edit{% lucide "external-link" size=16 %} Open {% if club.is_archived %} diff --git a/controlpanel/templates/controlpanel/club_form.html b/controlpanel/templates/controlpanel/club_form.html index be9a906..a300444 100644 --- a/controlpanel/templates/controlpanel/club_form.html +++ b/controlpanel/templates/controlpanel/club_form.html @@ -16,13 +16,21 @@ {% endfor %}
- {% for field in form %} - {% form_field field %} - {% endfor %} + {% form_field form.name %} + {% form_field form.slug %} + + {% form_field form.logo %} + +
+ + {% form_field form.primary_color %} + {% form_field form.secondary_color %} + {% form_field form.season_start %} + {% form_field form.season_duration_months %}
diff --git a/controlpanel/templates/controlpanel/club_list.html b/controlpanel/templates/controlpanel/club_list.html index a815aa4..e736d6a 100644 --- a/controlpanel/templates/controlpanel/club_list.html +++ b/controlpanel/templates/controlpanel/club_list.html @@ -5,9 +5,9 @@ {% block actions %} {% if show_archived %} - {% lucide "archive-x" size=16 %} Hide archived clubs + {% lucide "archive-x" size=16 %} Hide archived clubs {% else %} - {% lucide "archive" size=16 %} Show archived clubs + {% lucide "archive" size=16 %} Show archived clubs {% endif %} {% lucide "plus" size=16 %} New club {% endblock actions %} @@ -24,7 +24,7 @@ class="input input-bordered w-full max-w-xs"> - + {% if search %} {% lucide "x" size=16 %} Clear filter {% endif %} diff --git a/controlpanel/templates/controlpanel/features.html b/controlpanel/templates/controlpanel/features.html index 64fa957..15c3209 100644 --- a/controlpanel/templates/controlpanel/features.html +++ b/controlpanel/templates/controlpanel/features.html @@ -93,7 +93,7 @@ {% empty %} diff --git a/templates/account/logout.html b/templates/account/logout.html index 0deb535..2fb25e6 100644 --- a/templates/account/logout.html +++ b/templates/account/logout.html @@ -26,7 +26,7 @@ {{ redirect_field }} diff --git a/templates/mfa/authenticate.html b/templates/mfa/authenticate.html index 925302c..f12c199 100644 --- a/templates/mfa/authenticate.html +++ b/templates/mfa/authenticate.html @@ -33,7 +33,7 @@
- +
- {% lucide "pencil" size=14 %} Edit + {% lucide "pencil" size=14 %} Edit
- +
{{ flag.clubs.count }} {{ flag.note|default:"-" }} - +