From 91270b0cf8e720cdf6ff654878703f0c039e118c Mon Sep 17 00:00:00 2001 From: Bernard Siebens Date: Wed, 15 Jul 2026 18:28:02 +0200 Subject: [PATCH] Add "Plan end" column to health table and simplify badge styles The health table now includes a "Plan end" column showing the coverage end date ("-" if none). Simplified several badge styles for consistency, replacing "n/a" with "-" and updating waived badges to use a ghost-outline class. --- .../templates/controlpanel/_club_health_table.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/controlpanel/templates/controlpanel/_club_health_table.html b/controlpanel/templates/controlpanel/_club_health_table.html index afc0b08..b42735c 100644 --- a/controlpanel/templates/controlpanel/_club_health_table.html +++ b/controlpanel/templates/controlpanel/_club_health_table.html @@ -20,6 +20,7 @@ Events Plan Dues + Plan end @@ -79,7 +80,7 @@ {% if club.tier_name %} {{ club.tier_name|lower }} {% else %} - n/a + - {% endif %} @@ -95,18 +96,15 @@ {% endcomment %}
{% if club.covered_status == "waived" %} - waived + waived {% elif club.covered_until %} paid {% else %} {% endif %} - {% if club.covered_until %} - until {{ club.covered_until|date:"j M Y" }} - {% endif %}
{% else %} - n/a + - {% endif %} {% else %} €{{ club.dues_owed|floatformat:2 }} @@ -119,6 +117,10 @@ + + {{ club.covered_until|date:"j M Y"|default:"-" }} + + {% lucide "pencil" size=14 %} Edit