Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Add new context data to sponsorship requested templates.
Lauryn Menard5bae7e5a33d4
diff --git a/templates/zerver/emails/sponsorship_request.html b/templates/zerver/emails/sponsorship_request.htmlindex e40e366eca1..1409f598eef 100644--- a/templates/zerver/emails/sponsorship_request.html+++ b/templates/zerver/emails/sponsorship_request.html@@ -19,6 +19,19 @@<br /><br />+<b>Expected users</b>:+<br />+<ul>+ <li>Total: {{ expected_total_users }}</li>+ <li>Paid: {{ paid_users_count }}</li>+</ul>++<b>Description of paid users</b>:+<br />+{{ paid_users_description }}++<br /><br />+<b>Requested by</b>: {{ requested_by }} ({{ user_role }}){% endblock %}diff --git a/templates/zerver/emails/sponsorship_request.txt b/templates/zerver/emails/sponsorship_request.txtindex 3c843f8c5d2..480a5880d05 100644--- a/templates/zerver/emails/sponsorship_request.txt+++ b/templates/zerver/emails/sponsorship_request.txt@@ -7,4 +7,11 @@ Organization type: {{ organization_type }}Description:{{ description }}+Expected users:+- Total: {{ expected_total_users }}+- Paid: {{ paid_users_count }}++Description of paid users:+{{ paid_users_description }}+Requested by: {{ requested_by }} ({{ user_role }})