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.

upgrade: Improve styles for onboarding free trial orgs.

Aman Agrawal2ffae56efac8
diff --git a/templates/corporate/upgrade.html b/templates/corporate/upgrade.html
index 2b4be097218..69188dfa7bc 100644
--- a/templates/corporate/upgrade.html
+++ b/templates/corporate/upgrade.html
@@ -9,7 +9,13 @@
<div id="upgrade-page" class="register-account flex full-page">
<div class="center-block new-style">
<div class="pitch">
- <h1>Upgrade {{ realm.name }} to {{ plan }}</h1>
+ <h1>Upgrade {{ realm.name }} to
+ {% if free_trial_days %}
+ Zulip Cloud Standard free trial
+ {% else %}
+ {{ plan }}
+ {% endif %}
+ </h1>
</div>
<div class="white-box">
<div id="upgrade-page-details">
@@ -40,9 +46,8 @@
<input type="hidden" name="onboarding" value="true" />
{% endif %}
{% if onboarding and free_trial_days %}
- <p><b>Not ready to start your trial?</b> <a href="/">Continue with the Zulip Cloud Free plan</a>.</p>
- <hr />
- <h2>Zulip Cloud Standard free trial</h2>
+ <p id="onboarding-free-trial-not-ready" class="not-editable-realm-field"><b>Not ready to start your trial?</b> <a href="/">Continue with the Zulip Cloud Free plan</a>.</p>
+ <hr/>
{% endif %}
<div class="input-box upgrade-page-field no-validation">
{% if free_trial_days %}
diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.css
index c5e6a003fe9..5aa8ed14108 100644
--- a/web/styles/portico/billing.css
+++ b/web/styles/portico/billing.css
@@ -534,6 +534,7 @@ input[name="licenses"] {
}
}
+#upgrade-page-details #onboarding-free-trial-not-ready,
#onboarding-go-to-org .not-editable-realm-field,
#free-trial-top-banner .not-editable-realm-field,
#upgrade-page-details .license-management-section .not-editable-realm-field {