mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 21:21:29 +02:00
do not show paid option for lifetime user
This commit is contained in:
parent
20dfcfb88c
commit
57b390733d
@ -26,11 +26,6 @@
|
|||||||
|
|
||||||
{% if current_user.lifetime %}
|
{% if current_user.lifetime %}
|
||||||
You have lifetime access to the Premium plan.
|
You have lifetime access to the Premium plan.
|
||||||
{% if not current_user.paid_lifetime %}
|
|
||||||
<br>
|
|
||||||
To support SimpleLogin you can switch to a paid plan. <br>
|
|
||||||
<a href="{{ url_for('dashboard.pricing') }}" class="btn btn-sm btn-outline-primary">Upgrade</a>
|
|
||||||
{% endif %}
|
|
||||||
{% elif current_user.get_subscription() %}
|
{% elif current_user.get_subscription() %}
|
||||||
You are on the {{ current_user.get_subscription().plan_name() }} plan. <br>
|
You are on the {{ current_user.get_subscription().plan_name() }} plan. <br>
|
||||||
<a href="{{ url_for('dashboard.billing') }}" class="btn btn-outline-primary">
|
<a href="{{ url_for('dashboard.billing') }}" class="btn btn-outline-primary">
|
||||||
|
Loading…
Reference in New Issue
Block a user