email: Move and rename mituser_invite_email templates.

This commit is contained in:
Rishi Gupta 2017-05-01 11:39:45 -07:00
parent 713303deff
commit 4e779c3e6f
4 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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',