Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Use macros for email tags in invitation reminder email.
Vishnu KS2caee3d68ca7
diff --git a/templates/zerver/emails/invitation_reminder.source.html b/templates/zerver/emails/invitation_reminder.source.htmlindex d3768c44abe..c39a560ff90 100644--- a/templates/zerver/emails/invitation_reminder.source.html+++ b/templates/zerver/emails/invitation_reminder.source.html@@ -7,7 +7,7 @@{% block content %}<p>{{ _("Hi again,") }}</p>-<p>{% trans %}This is a friendly reminder that <a href="mailto:{{ referrer_email }}">{{ referrer_name }} ({{ referrer_email }})</a> wants you to join them on Zulip — the team communication tool designed for productivity.{% endtrans %}</p>+<p>{% trans referrer_name=macros.referrer_email_tag(referrer_email, referrer_name) %}This is a friendly reminder that {{ referrer_name }} wants you to join them on Zulip — the team communication tool designed for productivity.{% endtrans %}</p><p>{{ _("To get started, click the button below.") }}@@ -19,10 +19,9 @@</p><p>- {% trans %}+ {% trans referrer_name=macros.email_tag(referrer_email, referrer_name) %}This invitation expires in two days. If the invitation expires,- you'll need to ask <a href="mailto:{{ referrer_email }}">{{ referrer_name }}</a>- for another one.+ you'll need to ask {{ referrer_name }} for another one.{% endtrans %}</p>{% endblock %}