From 9f95edf203e5fda1ee4fd6acb089f5c6f0a5e884 Mon Sep 17 00:00:00 2001 From: Son NK Date: Thu, 30 Jan 2020 00:29:00 +0700 Subject: [PATCH] Move billing button to setting page --- app/dashboard/templates/dashboard/setting.html | 14 +++++++++++++- templates/header.html | 6 +----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/app/dashboard/templates/dashboard/setting.html b/app/dashboard/templates/dashboard/setting.html index 49d6d37d..0fa8eb92 100644 --- a/app/dashboard/templates/dashboard/setting.html +++ b/app/dashboard/templates/dashboard/setting.html @@ -8,7 +8,7 @@ {% block default_content %} -
+
{{ form.csrf_token }} @@ -103,6 +103,18 @@
+ + {% if current_user.get_subscription() %} +
+

Billing

+
+ Manage your current subscription. +
+ + Manage Billing + + {% endif %} +

Export Data

diff --git a/templates/header.html b/templates/header.html index f9bc896a..8e246774 100644 --- a/templates/header.html +++ b/templates/header.html @@ -32,11 +32,7 @@