mirror of https://github.com/zulip/zulip.git
email: Move and rename mituser_invite_email templates.
This commit is contained in:
parent
713303deff
commit
4e779c3e6f
|
@ -3062,7 +3062,7 @@ def do_send_confirmation_email(invitee, referrer, body):
|
|||
'verbose_support_offers': settings.VERBOSE_SUPPORT_OFFERS}
|
||||
|
||||
if referrer.realm.is_zephyr_mirror_realm:
|
||||
template_prefix = 'confirmation/mituser_invite_email'
|
||||
template_prefix = 'zerver/emails/invitation_mit'
|
||||
else:
|
||||
template_prefix = 'zerver/emails/invitation'
|
||||
|
||||
|
|
|
@ -85,8 +85,8 @@ class TemplateTestCase(ZulipTestCase):
|
|||
unusual = [
|
||||
'zerver/emails/confirm_registration_mit.txt',
|
||||
'zerver/emails/confirm_registration_mit.subject',
|
||||
'confirmation/mituser_invite_email.txt',
|
||||
'confirmation/mituser_invite_email.subject',
|
||||
'zerver/emails/invitation_mit.txt',
|
||||
'zerver/emails/invitation_mit.subject',
|
||||
'zerver/emails/confirm_new_email.subject',
|
||||
'zerver/emails/confirm_new_email.html',
|
||||
'zerver/emails/confirm_new_email.txt',
|
||||
|
|
Loading…
Reference in New Issue