Current Plan
{% if 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 %}
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 Simple Login you can upgrade to a Premium plan.
Upgrade
{% endif %}
{% elif current_user.lifetime %}
You have lifetime access to the Premium plan.
{% if not current_user.paid_lifetime %}
To support Simple Login you can switch to a paid plan.
Upgrade
{% endif %}
{% elif current_user.in_trial() %}
Your Premium trial expires {{ current_user.trial_end | dt }}.
{% else %}
You are on the Free plan.
{% endif %}