From 900a7fa3acf30b65cde05e558cbc912d4d330ded Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Thu, 19 Sep 2024 14:17:02 +0200 Subject: [PATCH] billing: Remove settings tab from billing urls. In commit 89003dcb25, we removed the tabs from the billing page. --- corporate/lib/registration.py | 4 ++-- web/templates/invitation_failed_error.hbs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/corporate/lib/registration.py b/corporate/lib/registration.py index 8fed382bf5..cd4ba6754a 100644 --- a/corporate/lib/registration.py +++ b/corporate/lib/registration.py @@ -19,7 +19,7 @@ def generate_licenses_low_warning_message_if_required(realm: Realm) -> str | Non return None format_kwargs = { - "billing_page_link": "/billing/#settings", + "billing_page_link": "/billing/", "deactivate_user_help_page_link": "/help/deactivate-or-reactivate-a-user", } @@ -58,7 +58,7 @@ def send_user_unable_to_signup_group_direct_message_to_admins( "[deactivate inactive users]({deactivate_user_help_page_link}) to allow new members to join." ).format( email=user_email, - billing_page_link="/billing/#settings", + billing_page_link="/billing/", deactivate_user_help_page_link="/help/deactivate-or-reactivate-a-user", ) diff --git a/web/templates/invitation_failed_error.hbs b/web/templates/invitation_failed_error.hbs index c708979708..668cfa1740 100644 --- a/web/templates/invitation_failed_error.hbs +++ b/web/templates/invitation_failed_error.hbs @@ -27,13 +27,13 @@ {{#if has_billing_access}} {{#tr}} To invite users, please increase the number of licenses or deactivate inactive users. - {{#*inline "z-link-billing"}}{{> @partial-block}}{{/inline}} + {{#*inline "z-link-billing"}}{{> @partial-block}}{{/inline}} {{#*inline "z-link-help-page"}}{{> @partial-block}}{{/inline}} {{/tr}} {{else}} {{#tr}} Please ask a billing administrator to increase the number of licenses or deactivate inactive users, and try again. - {{#*inline "z-link-billing"}}{{> @partial-block}}{{/inline}} + {{#*inline "z-link-billing"}}{{> @partial-block}}{{/inline}} {{#*inline "z-link-help-page"}}{{> @partial-block}}{{/inline}} {{/tr}} {{/if}}