billing: Edit text of free trial end confirmation banner.

This commit is contained in:
Alya Abbott 2023-11-27 00:16:17 -08:00 committed by Tim Abbott
parent 9788e7514f
commit 06fd0c9c4b
1 changed files with 4 additions and 1 deletions

View File

@ -212,7 +212,10 @@ export function initialize(): void {
$("#confirm-end-free-trial .dialog_submit_button").on("click", (e) => {
helpers.create_ajax_request("/json/billing/plan", "planchange", [], "PATCH", () =>
window.location.replace(
"/billing/?success_message=" + encodeURIComponent("Successfully ended trial!"),
"/billing/?success_message=" +
encodeURIComponent(
"Your plan will be canceled at the end of the trial. Your card will not be charged.",
),
),
);
e.preventDefault();