plans-template: Show end date of legacy plan for push notifications.

Because we can now extend the end date for legacy self-hosted plans,
instead of hard-coding the generic end date in the plans template,
show the specific end date for the current legacy plan.
This commit is contained in:
Lauryn Menard 2024-01-23 13:16:53 +01:00 committed by Tim Abbott
parent e9ea4280ab
commit f6ef2d860b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@
{% if is_self_hosted_realm and customer_plan and customer_plan.tier == customer_plan.TIER_SELF_HOSTED_LEGACY %}
<span class="button current-plan-descriptor" type="button">
<i class="icon current-plan-icon"></i>
Unlimited push notifications<br />until February 15, 2024
Unlimited push notifications<br />until {{ customer_plan.end_date.strftime('%d %B, %Y') }}
</span>
{% elif not is_self_hosted_realm %}
<a href="/self-hosting/" class="button get-started-button">