Current Plan
{% if current_user.lifetime %}
You have lifetime access to the Premium plan.
{% if not current_user.paid_lifetime %}
To support SimpleLogin you can switch to a paid plan.
Upgrade
{% endif %}
{% elif current_user.get_subscription() %}
You are on the {{ current_user.get_subscription().plan_name() }} plan.
Manage Subscription
{% if current_user.lifetime %}
You have however lifetime access to the Premium plan now so make sure to cancel the previous plan :).
{% endif %}
{% elif manual_sub and manual_sub.is_active() %}
You are on the Premium plan which expires {{ manual_sub.end_at | dt }}
({{ manual_sub.end_at.format("YYYY-MM-DD") }}).
{% if manual_sub.is_giveaway %}
To gain additional features and support SimpleLogin you can upgrade to a Premium plan.
Upgrade
{% endif %}
{% elif apple_sub and apple_sub.is_valid() %}
You are on the Premium plan (subscribed via Apple) which expires {{ apple_sub.expires_date | dt }}
({{ apple_sub.expires_date.format("YYYY-MM-DD") }}).
If you want to subscribe via the Web instead, please make sure to cancel your subscription
on Apple first.
Upgrade
{% elif coinbase_sub and coinbase_sub.is_active() %}
You are on the Premium plan which expires {{ coinbase_sub.end_at | dt }}
({{ coinbase_sub.end_at.format("YYYY-MM-DD") }}).
Extend Subscription
{% elif current_user.in_trial() %}
Your Premium trial expires {{ current_user.trial_end | dt }}.
{% else %}
You are on the Free plan.
{% endif %}