billing: Remove settings tab from billing urls.

In commit 89003dcb25, we removed the tabs from the billing page.
This commit is contained in:
Lauryn Menard 2024-09-19 14:17:02 +02:00 committed by Tim Abbott
parent ea4e48afa7
commit 900a7fa3ac
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ def generate_licenses_low_warning_message_if_required(realm: Realm) -> str | Non
return None return None
format_kwargs = { format_kwargs = {
"billing_page_link": "/billing/#settings", "billing_page_link": "/billing/",
"deactivate_user_help_page_link": "/help/deactivate-or-reactivate-a-user", "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." "[deactivate inactive users]({deactivate_user_help_page_link}) to allow new members to join."
).format( ).format(
email=user_email, email=user_email,
billing_page_link="/billing/#settings", billing_page_link="/billing/",
deactivate_user_help_page_link="/help/deactivate-or-reactivate-a-user", deactivate_user_help_page_link="/help/deactivate-or-reactivate-a-user",
) )

View File

@ -27,13 +27,13 @@
{{#if has_billing_access}} {{#if has_billing_access}}
{{#tr}} {{#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>. 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}} {{#*inline "z-link-help-page"}}<a href="/help/deactivate-or-reactivate-a-user" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}} {{/tr}}
{{else}} {{else}}
{{#tr}} {{#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. 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}} {{#*inline "z-link-help-page"}}<a href="/help/deactivate-or-reactivate-a-user" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}} {{/tr}}
{{/if}} {{/if}}