From 0ced6bbb4fa81f0c00bacdae6641bb03046364d5 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sat, 15 Feb 2020 21:22:46 +0700 Subject: [PATCH] Prettify billing page --- .../templates/dashboard/billing.html | 43 +++++++++---------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/app/dashboard/templates/dashboard/billing.html b/app/dashboard/templates/dashboard/billing.html index e33aec37..1e9a25ad 100644 --- a/app/dashboard/templates/dashboard/billing.html +++ b/app/dashboard/templates/dashboard/billing.html @@ -8,35 +8,32 @@ {% endblock %} {% block default_content %} -
-
-

Billing

+
+

Billing

+

+ You are on the {{ current_user.get_subscription().plan_name() }} plan. Thank you very much for supporting + SimpleLogin. 🙌 +

+ + {% if sub.cancelled %}

- You are on the {{ current_user.get_subscription().plan_name() }} plan. Thank you very much for supporting SimpleLogin. 🙌 + Sad to see you go 😢. Your subscription ends {{ current_user.get_subscription().next_bill_date | dt }}.

- {% if sub.cancelled %} -

- Sad to see you go 😢. Your subscription ends {{ current_user.get_subscription().next_bill_date | dt }}. -

+ {% else %} +
+ Click here to update billing information on Paddle, our payment partner:
+ Update billing information +
- {% else %} -
- Click here to update billing information on Paddle, our payment partner:
- Update billing information -
- -
- -
- Don't want to protect your inbox anymore?
- Cancel subscription 😔 -
- {% endif %} - -
+
+
+ Don't want to protect your inbox anymore?
+ Cancel subscription 😔 +
+ {% endif %}