Commit 2640ab49 by Nate Hardison

Stanfordize LMS emails

Adjust language of LMS emails to work specifically for Stanford. Here
there be dragons: lots of ugly conditionals that will need to be
changed once we develop a way to "theme" arbitrary strings throughout
the site.
parent adf9dd3d
<%namespace file="../main.html" import="stanford_theme_enabled" />
Thank you for signing up for ${settings.PLATFORM_NAME}! To activate Thank you for signing up for ${settings.PLATFORM_NAME}! To activate
your account, please copy and paste this address into your web your account, please copy and paste this address into your web
browser's address bar: browser's address bar:
...@@ -8,7 +10,15 @@ browser's address bar: ...@@ -8,7 +10,15 @@ browser's address bar:
http://${ site }/activate/${ key } http://${ site }/activate/${ key }
% endif % endif
If you didn't request this, you don't need to do anything; you won't ## Temporary hack until we develop a better way to adjust language
receive any more email from us. Please do not reply to this e-mail; if % if stanford_theme_enabled():
you require assistance, check the help section of the If you didn't request this, you don't need to do anything; you won't
${settings.PLATFORM_NAME} web site. receive any more email from us. Please do not reply to this e-mail;
if you require assistance, check the about section of the
${settings.PLATFORM_NAME} Courses web site.
% else:
If you didn't request this, you don't need to do anything; you won't
receive any more email from us. Please do not reply to this e-mail;
if you require assistance, check the help section of the
${settings.PLATFORM_NAME} web site.
% endif
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
This is to confirm that you changed the e-mail associated with <%namespace file="../main.html" import="stanford_theme_enabled" />
${settings.PLATFORM_NAME} from ${old_email} to ${new_email}. If you ## Again, ugly hack that needs to be changed
did not make this request, please contact us immediately. Contact ## TODO: this probably needs better formatting to look nice in an
information is listed at: ## email client (Mako leaves awkward whitespace)
% if stanford_theme_enabled():
This is to confirm that you changed the e-mail associated with
${settings.PLATFORM_NAME} from ${old_email} to ${new_email}. If you
did not make this request, please contact us at
% if is_secure: ${settings.CONTACT_EMAIL}
https://${ site }${reverse('contact')}
% else: % else:
http://${ site }${reverse('contact')} This is to confirm that you changed the e-mail associated with
${settings.PLATFORM_NAME} from ${old_email} to ${new_email}. If you
did not make this request, please contact us immediately. Contact
information is listed at:
% if is_secure:
https://${ site }${reverse('contact')}
% else:
http://${ site }${reverse('contact')}
% endif
% endif % endif
We keep a log of old e-mails, so if this request was unintentional, we We keep a log of old e-mails, so if this request was unintentional, we
......
<%namespace file="../main.html" import="stanford_theme_enabled" />
We received a request to change the e-mail associated with your We received a request to change the e-mail associated with your
${settings.PLATFORM_NAME} account from ${old_email} to ${new_email}. ${settings.PLATFORM_NAME} account from ${old_email} to ${new_email}.
If this is correct, please confirm your new e-mail address by If this is correct, please confirm your new e-mail address by
...@@ -9,7 +10,15 @@ visiting: ...@@ -9,7 +10,15 @@ visiting:
http://${ site }/email_confirm/${ key } http://${ site }/email_confirm/${ key }
% endif % endif
If you didn't request this, you don't need to do anything; you won't ## TODO: fix this ugly hack
receive any more email from us. Please do not reply to this e-mail; if % if stanford_theme_enabled():
you require assistance, check the help section of the If you didn't request this, you don't need to do anything; you won't
${settings.PLATFORM_NAME} web site. receive any more email from us. Please do not reply to this e-mail;
if you require assistance, check the about section of the
${settings.PLATFORM_NAME} Courses web site.
% else:
If you didn't request this, you don't need to do anything; you won't
receive any more email from us. Please do not reply to this e-mail;
if you require assistance, check the help section of the
${settings.PLATFORM_NAME} web site.
% endif
<%namespace file="../main.html" import="stanford_theme_enabled" />
(Not currently used) (Not currently used)
We are sorry. Our course staff did not approve your request to change ## TODO: fix this ugly hack
your name from ${old_name} to ${new_name}. If you need further % if stanford_theme_enabled():
assistance, please e-mail the course staff at ta@edx.org. We are sorry. Our course staff did not approve your request to change
your name from ${old_name} to ${new_name}. If you need further
assistance, please e-mail the tech support at
${settings.TECH_SUPPORT_EMAIL}.
% else:
We are sorry. Our course staff did not approve your request to change
your name from ${old_name} to ${new_name}. If you need further
assistance, please e-mail the course staff at ta@edx.org.
% endif
${settings.PLATFORM_NAME} has launched! To log in, visit: <%namespace file="../main.html" import="stanford_theme_enabled" />
## TODO: fix ugly hack
% if stanford_theme_enabled():
${settings.PLATFORM_NAME} Courses has launched! To log in, visit:
% else:
${settings.PLATFORM_NAME} has launched! To log in, visit:
% endif
% if is_secure: % if is_secure:
https://${settings.SITE_NAME} https://${settings.SITE_NAME}
...@@ -14,7 +20,12 @@ place to reset it. ...@@ -14,7 +20,12 @@ place to reset it.
Thanks for joining us for the ride! Thanks for joining us for the ride!
The ${settings.PLATFORM_NAME} team ## TODO: fix ugly hack
% if stanford_theme_enabled():
The ${settings.PLATFORM_NAME} Courses team
% else:
The ${settings.PLATFORM_NAME} team
% endif
(Please note that this e-mail address does not receive e-mails -- (Please note that this e-mail address does not receive e-mails --
if you need assistance, please use the help section of the web if you need assistance, please use the help section of the web
......
Welcome to ${settings.PLATFORM_NAME}! <%namespace file="../main.html" import="stanford_theme_enabled" />
## TODO: fix ugly hack
% if stanford_theme_enabled():
Welcome to ${settings.PLATFORM_NAME} Courses!
% else:
Welcome to ${settings.PLATFORM_NAME}!
% endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment