email: Update strings in remote_realm log in confirmation email.

This commit is contained in:
Alya Abbott 2023-12-12 11:11:28 -08:00 committed by Tim Abbott
parent e515574b3e
commit a2f72edc68
4 changed files with 6 additions and 10 deletions

View File

@ -89,7 +89,7 @@ class RemoteBillingAuthenticationTest(BouncerTestCase):
f"{settings.SELF_HOSTING_MANAGEMENT_SUBDOMAIN}.{settings.EXTERNAL_HOST}"
r"(\S+)"
),
email_body_contains="This link will expire in 24 hours",
email_body_contains="confirm your email and log in to Zulip plan management",
)
if return_without_clicking_confirmation_link:
return result

View File

@ -7,15 +7,11 @@
{% block content %}
<p>
{% trans %}
Click the button below to log in to Zulip plan management for <b>{{ remote_realm_host }}</b>.
{% endtrans %}
{% trans %}
This link will expire in {{ validity_in_hours }} hours.
Click the button below to confirm your email and log in to Zulip plan management for <b>{{ remote_realm_host }}</b>.
{% endtrans %}
</p>
<p>
<a class="button" href="{{ confirmation_url }}">{{ _("Log in") }}</a>
<a class="button" href="{{ confirmation_url }}">{{ _("Confirm and log in") }}</a>
</p>
<p>
{% 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 %}

View File

@ -1 +1 @@
{% trans %}Log in to Zulip plan management{% endtrans %}
{% trans %}Confirm email for Zulip plan management{% endtrans %}

View File

@ -1,6 +1,6 @@
{% trans %}Click the link below to log in to Zulip plan management for {{remote_realm_host}}.{% endtrans %} {% trans %}This link will expire in {{ validity_in_hours }} hours.{% endtrans %}
{% trans %}Click the link below to confirm your email and log in to Zulip plan management for {{remote_realm_host}}.{% endtrans %}
{{ _("Log in") }}: {{ confirmation_url }}
{{ _("Confirm and log in") }}: {{ confirmation_url }}
{% trans %}Questions? Learn more at {{ billing_help_link }} or contact {{ billing_contact_email }}.{% endtrans %}