confirm_email_change.txt 997 Bytes
Newer Older
1
<%! from django.core.urlresolvers import reverse %>
2
<%! from django.utils.translation import ugettext as _ %>
3
<%! from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %>
4
<%! from edxmako.shortcuts import render_to_string, marketing_link %>
5 6 7
${_("This is to confirm that you changed the e-mail associated with "
  "{platform_name} from {old_email} to {new_email}. If you "
  "did not make this request, please contact us immediately. Contact "
8
  "information is listed at:").format(
9
      platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME),
10 11 12 13
      old_email=old_email,
      new_email=new_email
  )
}
14

15 16
% if settings.FEATURES['ENABLE_MKTG_SITE']:
    ${marketing_link('CONTACT')}
17
% else:
18 19 20 21 22
    % if is_secure:
        https://${ site }${reverse('contact')}
    % else:
        http://${ site }${reverse('contact')}
    % endif
23
% endif
24

25
${_("We keep a log of old e-mails, so if this request was unintentional, we can investigate.")}