mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-04 13:48:26 -04:00
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:
@@ -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():
|
||||
|
||||
@@ -47,6 +47,10 @@ def pricing_nav():
|
||||
"name": "How to pay",
|
||||
"link": "main.how_to_pay",
|
||||
},
|
||||
{
|
||||
"name": "Billing details",
|
||||
"link": "main.billing_details",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user