Stack the paid-until date under the paid badge
The "until <date>" cover-end now sits on its own row beneath the paid badge, right-aligned, rather than to its left on one line. Only the paid-with-plan branch changed; overdue and n/a are untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -87,11 +87,13 @@
|
||||
<div class="flex flex-row gap-2 items-center justify-end">
|
||||
{% if not club.dues_owed %}
|
||||
{% if club.tier_name %}
|
||||
{% comment %} paid_until is the current period's end — the day grace would start if nothing renews. {% endcomment %}
|
||||
{% comment %} paid_until is the current period's end — the day grace would start if nothing renews. On its own row under the badge. {% endcomment %}
|
||||
<div class="flex flex-col items-end gap-1">
|
||||
<span class="badge badge-success">paid</span>
|
||||
{% if club.paid_until %}
|
||||
<span class="whitespace-nowrap text-xs opacity-60">until {{ club.paid_until|date:"j M Y" }}</span>
|
||||
{% endif %}
|
||||
<span class="badge badge-success">paid</span>
|
||||
</div>
|
||||
{% else %}
|
||||
<span class="badge badge-ghost badge-outline">n/a</span>
|
||||
{% endif %}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user