Current Plan
{% if current_user.get_subscription() %}
You are on the {{ current_user.get_subscription().plan_name() }} plan.
Manage Subscription
{% elif manual_sub %}
You are on the Premium plan. The plan ends {{ manual_sub.end_at | dt }}
({{ manual_sub.end_at.format("YYYY-MM-DD") }}).
{% if manual_sub.is_giveaway %}
To support SimpleLogin it's possible to change to a paid plan.
Upgrade
{% endif %}
{% elif current_user.lifetime %}
You have the lifetime licence.
To support SimpleLogin it's possible to change to a paid plan.
Upgrade
{% elif current_user.in_trial() %}
You are in the trial period. The trial ends {{ current_user.trial_end | dt }}.
{% else %}
You are on the Free plan.
{% endif %}