add new billing details page

contains both signed in and signed out versions (when signed in you can
see bank details etc)
This commit is contained in:
Leo Hemsted
2021-08-27 11:44:19 +01:00
parent 85f6881a56
commit a0adf3c63c
8 changed files with 193 additions and 3 deletions

View File

@@ -81,6 +81,19 @@ def how_to_pay():
)
@main.route('/pricing/billing-details')
def billing_details():
if current_user.is_authenticated:
return render_template(
'views/pricing/billing-details.html',
navigation_links=pricing_nav(),
)
return render_template(
'views/pricing/billing-details-signed-out.html',
navigation_links=pricing_nav(),
)
@main.route('/delivery-and-failure')
@main.route('/features/messages-status')
def delivery_and_failure():

View File

@@ -47,6 +47,10 @@ def pricing_nav():
"name": "How to pay",
"link": "main.how_to_pay",
},
{
"name": "Billing details",
"link": "main.billing_details",
},
]