mirror of https://github.com/zulip/zulip.git
emails: Adjust wording in remote realm login link email.
This commit is contained in:
parent
9e90afc504
commit
eb57b4c4f7
|
@ -86,9 +86,9 @@ class RemoteBillingAuthenticationTest(BouncerTestCase):
|
|||
user.delivery_email,
|
||||
url_pattern=(
|
||||
f"{settings.SELF_HOSTING_MANAGEMENT_SUBDOMAIN}.{settings.EXTERNAL_HOST}"
|
||||
r"(\S+)>"
|
||||
r"(\S+)"
|
||||
),
|
||||
email_body_contains="Click the link below to complete the login process",
|
||||
email_body_contains="This link will expire in 2 hours",
|
||||
)
|
||||
if return_without_clicking_confirmation_link:
|
||||
return result
|
||||
|
|
|
@ -314,9 +314,10 @@ def remote_realm_billing_confirm_email(
|
|||
)
|
||||
|
||||
context = {
|
||||
"remote_server_hostname": remote_server.hostname,
|
||||
"remote_realm_host": remote_realm.host,
|
||||
"confirmation_url": url,
|
||||
"billing_help_link": "https://zulip.com/help/self-hosted-billing",
|
||||
"billing_contact_email": "sales@zulip.com",
|
||||
}
|
||||
send_email(
|
||||
"zerver/emails/remote_realm_billing_confirm_login",
|
||||
|
|
|
@ -6,17 +6,12 @@
|
|||
|
||||
{% block content %}
|
||||
<p>
|
||||
{{ _("You have initiated login to the Zulip plan management system for the following organization:") }}
|
||||
<ul>
|
||||
<li>{% trans %}Organization host: {{ remote_realm_host }}{% endtrans %}</li>
|
||||
<li>{% trans %}Server host: {{ remote_server_hostname }}{% endtrans %}</li>
|
||||
</ul>
|
||||
{% trans %}Click the button below to log in to Zulip plan management for <b>{{ remote_realm_host }}</b>. This link will expire in 2 hours.{% endtrans %}
|
||||
</p>
|
||||
<p>
|
||||
{{ _("Click the button below to complete the login process.") }}
|
||||
<a class="button" href="{{ confirmation_url }}">{{ _("Confirm login") }}</a>
|
||||
<a class="button" href="{{ confirmation_url }}">{{ _("Log in") }}</a>
|
||||
</p>
|
||||
<p>
|
||||
{{macros.contact_us_zulip_cloud(support_email)}}
|
||||
{% trans billing_contact_email=macros.email_tag(billing_contact_email) %}Questions? <a href="{{ billing_help_link }}">Learn more</a> or contact {{ billing_contact_email }}.{% endtrans %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{% trans %}Confirm login to Zulip plan management{% endtrans %}
|
||||
{% trans %}Log in to Zulip plan management{% endtrans %}
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
{{ _("You have initiated login to the Zulip plan management system for the following organization:") }}
|
||||
* {% trans %}Organization host: {{ remote_realm_host }}{% endtrans %}
|
||||
{% trans %}Click the link below to log in to Zulip plan management for {{ remote_realm_host }}. This link will expire in 2 hours.{% endtrans %}
|
||||
|
||||
* {% trans %}Server host: {{ remote_server_hostname }}{% endtrans %}
|
||||
|
||||
{{ _("Click the link below to complete the login process;") }}
|
||||
<{{ confirmation_url }}>
|
||||
{{ _("Log in") }}: {{ confirmation_url }}
|
||||
|
||||
{% trans %}Do you have questions or feedback to share? Contact us at {{ support_email }} — we'd love to help!{% endtrans %}
|
||||
{% trans %}Questions? Learn more at {{ billing_help_link }} or contact {{ billing_contact_email }}.{% endtrans %}
|
||||
|
|
Loading…
Reference in New Issue