Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Remove settings tab from billing urls.
Lauryn Menard900a7fa3acf3
diff --git a/corporate/lib/registration.py b/corporate/lib/registration.pyindex 8fed382bf5d..cd4ba6754a4 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 | Nonreturn Noneformat_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.hbsindex c7089797085..668cfa1740e 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 <z-link-billing>increase the number of licenses</z-link-billing> or <z-link-help-page>deactivate inactive users</z-link-help-page>.- {{#*inline "z-link-billing"}}<a href="/billing/#settings">{{> @partial-block}}</a>{{/inline}}+ {{#*inline "z-link-billing"}}<a href="/billing/">{{> @partial-block}}</a>{{/inline}}{{#*inline "z-link-help-page"}}<a href="/help/deactivate-or-reactivate-a-user" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}{{/tr}}{{else}}{{#tr}}Please ask a billing administrator to <z-link-billing>increase the number of licenses</z-link-billing> or <z-link-help-page>deactivate inactive users</z-link-help-page>, and try again.- {{#*inline "z-link-billing"}}<a href="/billing/#settings">{{> @partial-block}}</a>{{/inline}}+ {{#*inline "z-link-billing"}}<a href="/billing/">{{> @partial-block}}</a>{{/inline}}{{#*inline "z-link-help-page"}}<a href="/help/deactivate-or-reactivate-a-user" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}{{/tr}}{{/if}}