mirror of
https://github.com/simple-login/app.git
synced 2024-11-11 01:42:54 +08:00
only show upgrade button to "free" lifetime user
This commit is contained in:
parent
2f0a5aa429
commit
eb6bfdd56f
1 changed files with 5 additions and 3 deletions
|
@ -192,9 +192,11 @@
|
|||
{% endif %}
|
||||
{% elif current_user.lifetime %}
|
||||
You have the lifetime licence.
|
||||
<br>
|
||||
To support SimpleLogin it's possible to change to a paid plan. <br>
|
||||
<a href="{{ url_for('dashboard.pricing') }}" class="btn btn-sm btn-outline-primary">Upgrade</a>
|
||||
{% if not current_user.paid_lifetime %}
|
||||
<br>
|
||||
To support SimpleLogin it's possible to change to a paid plan. <br>
|
||||
<a href="{{ url_for('dashboard.pricing') }}" class="btn btn-sm btn-outline-primary">Upgrade</a>
|
||||
{% endif %}
|
||||
{% elif current_user.in_trial() %}
|
||||
You are in the trial period. The trial ends {{ current_user.trial_end | dt }}.
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in a new issue