mirror of https://github.com/zulip/zulip.git
email: Fix naming of mituser_invite_email files.
This commit is contained in:
parent
e89c5e4129
commit
4027adb6cc
|
@ -3066,8 +3066,8 @@ def do_send_confirmation_email(invitee, referrer, body):
|
||||||
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS}
|
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS}
|
||||||
|
|
||||||
if referrer.realm.is_zephyr_mirror_realm:
|
if referrer.realm.is_zephyr_mirror_realm:
|
||||||
subject_template_path = 'confirmation/mituser_invite_email_subject.txt'
|
subject_template_path = 'confirmation/mituser_invite_email.subject'
|
||||||
body_template_path = 'confirmation/mituser_invite_email_body.txt'
|
body_template_path = 'confirmation/mituser_invite_email.txt'
|
||||||
html_body_template_path = None
|
html_body_template_path = None
|
||||||
|
|
||||||
Confirmation.objects.send_confirmation(
|
Confirmation.objects.send_confirmation(
|
||||||
|
|
|
@ -85,8 +85,8 @@ class TemplateTestCase(ZulipTestCase):
|
||||||
unusual = [
|
unusual = [
|
||||||
'confirmation/mituser_confirmation_email.txt',
|
'confirmation/mituser_confirmation_email.txt',
|
||||||
'confirmation/mituser_confirmation_email.subject',
|
'confirmation/mituser_confirmation_email.subject',
|
||||||
'confirmation/mituser_invite_email_body.txt',
|
'confirmation/mituser_invite_email.txt',
|
||||||
'confirmation/mituser_invite_email_subject.txt',
|
'confirmation/mituser_invite_email.subject',
|
||||||
'confirmation/emailchangestatus_confirmation_email.subject',
|
'confirmation/emailchangestatus_confirmation_email.subject',
|
||||||
'confirmation/emailchangestatus_confirmation_email.html',
|
'confirmation/emailchangestatus_confirmation_email.html',
|
||||||
'confirmation/emailchangestatus_confirmation_email.txt',
|
'confirmation/emailchangestatus_confirmation_email.txt',
|
||||||
|
|
Loading…
Reference in New Issue