Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

billing: Add separate entry point for billing login pages.

Aman Agrawal949379581e96
diff --git a/templates/corporate/billing/legacy_server_login.html b/templates/corporate/billing/legacy_server_login.html
index 3db9d5778a1..029cb3cd286 100644
--- a/templates/corporate/billing/legacy_server_login.html
+++ b/templates/corporate/billing/legacy_server_login.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% set PAGE_TITLE = "Authenticate server for Zulip plan management" %}
diff --git a/templates/corporate/billing/remote_billing_confirm_email_form.html b/templates/corporate/billing/remote_billing_confirm_email_form.html
index 14d704b7879..2c15a555cd6 100644
--- a/templates/corporate/billing/remote_billing_confirm_email_form.html
+++ b/templates/corporate/billing/remote_billing_confirm_email_form.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico_signup.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% block title %}
{% if remote_server_hostname %}
diff --git a/templates/corporate/billing/remote_billing_email_confirmation_sent.html b/templates/corporate/billing/remote_billing_email_confirmation_sent.html
index 6cf5db4e398..902af155b83 100644
--- a/templates/corporate/billing/remote_billing_email_confirmation_sent.html
+++ b/templates/corporate/billing/remote_billing_email_confirmation_sent.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico_signup.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% block title %}
{% if remote_server_hostname %}
diff --git a/templates/corporate/billing/remote_billing_finalize_login_confirmation.html b/templates/corporate/billing/remote_billing_finalize_login_confirmation.html
index 50ec0b495d5..c1bbc3598b4 100644
--- a/templates/corporate/billing/remote_billing_finalize_login_confirmation.html
+++ b/templates/corporate/billing/remote_billing_finalize_login_confirmation.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% block title %}
<title>
diff --git a/templates/corporate/billing/remote_billing_server_deactivate.html b/templates/corporate/billing/remote_billing_server_deactivate.html
index 73f2166e4e6..e81f004554b 100644
--- a/templates/corporate/billing/remote_billing_server_deactivate.html
+++ b/templates/corporate/billing/remote_billing_server_deactivate.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% block title %}
<title>{{ _("Deactivate server registration?") }} | Zulip</title>
diff --git a/templates/corporate/billing/remote_billing_server_deactivated_success.html b/templates/corporate/billing/remote_billing_server_deactivated_success.html
index 4bb5dda3aaf..977418fcc6c 100644
--- a/templates/corporate/billing/remote_billing_server_deactivated_success.html
+++ b/templates/corporate/billing/remote_billing_server_deactivated_success.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico_signup.html" %}
-{% set entrypoint = "upgrade" %}
+{% set entrypoint = "billing_auth" %}
{% block title %}
<title>Server registration deactivated | Zulip</title>
diff --git a/web/webpack.assets.json b/web/webpack.assets.json
index 55fe3d63ea1..7ad253e09ec 100644
--- a/web/webpack.assets.json
+++ b/web/webpack.assets.json
@@ -19,16 +19,23 @@
"./src/billing/sponsorship",
"./styles/portico/billing.css"
],
- "upgrade": [
+ "billing_auth": [
"./src/bundles/portico",
"./src/portico/tippyjs",
"./src/billing/helpers",
- "./src/billing/upgrade",
"jquery-validation",
"./src/billing/remote_billing_auth",
"./src/billing/deactivate_server",
"./styles/portico/billing.css"
],
+ "upgrade": [
+ "./src/bundles/portico",
+ "./src/portico/tippyjs",
+ "./src/billing/helpers",
+ "./src/billing/upgrade",
+ "jquery-validation",
+ "./styles/portico/billing.css"
+ ],
"billing-event-status": [
"./src/bundles/portico",
"./styles/portico/landing_page.css",