diff --git a/templates/zerver/no_spare_licenses.html b/templates/zerver/no_spare_licenses.html index 9aacbb210b..46cb35384c 100644 --- a/templates/zerver/no_spare_licenses.html +++ b/templates/zerver/no_spare_licenses.html @@ -5,16 +5,21 @@ {% endblock %} {% block portico_content %} -
-
-
- -

{{ _("This organization cannot accept new members right now.") }}

- -

- {% trans %} - New members cannot join this organization because all Zulip licenses are currently in use. Please contact the person who - invited you and ask them to increase the number of licenses, then try again. - {% endtrans %} -

+
+
+
+
+

{{ _("Organization cannot accept new members right now") }}

+
+
+

+ {% trans %}New members cannot currently join {{ realm_name }} because all Zulip Cloud licenses are in use.{% endtrans %} +

+

+ {{ _("Please contact the person who invited you and ask them to increase the number of licenses, then try again.") }} +

+
+
+
+
{% endblock %} diff --git a/zerver/tests/test_invite.py b/zerver/tests/test_invite.py index c825e4cca3..b3ec2f722f 100644 --- a/zerver/tests/test_invite.py +++ b/zerver/tests/test_invite.py @@ -1542,7 +1542,7 @@ so we didn't send them an invitation. We did send invitations to everyone else!" self.client_post(url, {"key": registration_key, "from_confirmation": 1, "full_name": "bob"}) response = self.submit_reg_form_for_user(email, "password", key=registration_key) self.assert_in_success_response( - ["New members cannot join this organization because all Zulip licenses are"], response + ["Organization cannot accept new members right now"], response ) guest_prereg_user = PreregistrationUser.objects.create(