sponsorship_request: Minor changes.

* Show if requested org is hosted on Zulip Cloud.
* Change how user numbers are displayed.
This commit is contained in:
Aman Agrawal 2023-12-17 12:32:48 +00:00 committed by Tim Abbott
parent 1e0339c18b
commit 311a645c5a
2 changed files with 13 additions and 7 deletions

View File

@ -2460,6 +2460,7 @@ class BillingSession(ABC):
"paid_users_count": sponsorship_request.paid_users_count,
"paid_users_description": sponsorship_request.paid_users_description,
"requested_plan": sponsorship_request.requested_plan,
"is_cloud_organization": isinstance(self, RealmBillingSession),
}
send_email(
"zerver/emails/sponsorship_request",

View File

@ -1,6 +1,12 @@
{% extends "zerver/emails/email_base_messages.html" %}
{% block content %}
<br />
<b>Zulip Cloud?</b> {{ is_cloud_organization }}
<br /><br />
<b>Support URL</b>: <a class="sponsorship_request_link" href="{{ support_url }}">{{ support_url }}</a>
<br /><br />
@ -19,14 +25,13 @@
<br /><br />
<b>Expected users</b>:
<br />
<ul>
<li>Total: {{ expected_total_users }}</li>
<li>Paid: {{ paid_users_count }}</li>
</ul>
<b>Expected Users</b>: {{ expected_total_users }}
<br/>
<b>Paid staff</b>: {{ paid_users_count }}
<b>Description of paid users</b>:
<br /><br />
<b>Description of paid staff</b>:
<br />
{{ paid_users_description }}