mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 04:41:28 +02:00
Fix: Missing renamed methods (#1105)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
This commit is contained in:
parent
99ce10a1bc
commit
db6ec2dbe6
@ -87,7 +87,7 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% set sub = current_user.get_subscription() %}
|
||||
{% set sub = current_user.get_paddle_subscription() %}
|
||||
{% if sub and sub.cancelled %}
|
||||
<div class="alert alert-primary" role="alert">
|
||||
You have an active subscription until {{ sub.next_bill_date.strftime("%Y-%m-%d") }}. <br>
|
||||
|
@ -27,9 +27,9 @@
|
||||
{% if current_user.lifetime %}
|
||||
You have lifetime access to the Premium plan.
|
||||
{% elif current_user.lifetime_or_active_subscription() %}
|
||||
{% if current_user.get_subscription() %}
|
||||
{% if current_user.get_paddle_subscription() %}
|
||||
<div>
|
||||
{{ current_user.get_subscription().plan_name() }} plan subscribed via Paddle.
|
||||
{{ current_user.get_paddle_subscription().plan_name() }} plan subscribed via Paddle.
|
||||
<a href="{{ url_for('dashboard.billing') }}">
|
||||
Manage Subscription ➡
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user