') // jshint ignore: line
+ .height(this.bottomSpacingHeight())
);
-
- HtmlUtils.prepend(
- this.subtitlesMenuEl,
- topSpacer
- );
-
- HtmlUtils.append(
- this.subtitlesMenuEl,
- bottomSpacer
- );
},
/**
diff --git a/lms/djangoapps/bulk_email/tasks.py b/lms/djangoapps/bulk_email/tasks.py
index a7947a6f6b..e3c94fd411 100644
--- a/lms/djangoapps/bulk_email/tasks.py
+++ b/lms/djangoapps/bulk_email/tasks.py
@@ -389,7 +389,7 @@ def _get_source_address(course_id, course_title, truncate=True):
course_title=course_title_no_quotes,
course_name=course_name,
from_email=theming_helpers.get_value(
- 'bulk_email_default_from_email',
+ 'email_from_address',
settings.BULK_EMAIL_DEFAULT_FROM_EMAIL
)
)
diff --git a/lms/templates/emails/activation_email.txt b/lms/templates/emails/activation_email.txt
index 56a49702b6..a697fada1a 100644
--- a/lms/templates/emails/activation_email.txt
+++ b/lms/templates/emails/activation_email.txt
@@ -1,10 +1,13 @@
<%! from django.utils.translation import ugettext as _ %>
-${_("Thank you for signing up for {platform_name}.").format(platform_name=settings.PLATFORM_NAME)}
+<%! from openedx.core.djangoapps.theming.helpers import get_value as get_themed_value %>
+${_("Thank you for signing up for {platform_name}.").format(
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME)
+)}
${_("Change your life and start learning today by activating your "
"{platform_name} account. Click on the link below or copy and "
"paste it into your browser's address bar.").format(
- platform_name=settings.PLATFORM_NAME
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME)
)}
% if is_secure:
@@ -15,4 +18,4 @@ ${_("Change your life and start learning today by activating your "
${_("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 "
- "{platform_name} website.").format(platform_name=settings.PLATFORM_NAME)}
+ "{platform_name} website.").format(platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME))}
diff --git a/lms/templates/emails/activation_email_subject.txt b/lms/templates/emails/activation_email_subject.txt
index 01514b5f4f..8fb64f9abc 100644
--- a/lms/templates/emails/activation_email_subject.txt
+++ b/lms/templates/emails/activation_email_subject.txt
@@ -1,3 +1,6 @@
<%! from django.utils.translation import ugettext as _ %>
+<%! from openedx.core.djangoapps.theming.helpers import get_value as get_themed_value %>
-${_("Activate Your {platform_name} Account").format(platform_name=settings.PLATFORM_NAME)}
+${_("Activate Your {platform_name} Account").format(
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME
+))}
diff --git a/lms/templates/emails/confirm_email_change.txt b/lms/templates/emails/confirm_email_change.txt
index ae33c82609..b462d78e37 100644
--- a/lms/templates/emails/confirm_email_change.txt
+++ b/lms/templates/emails/confirm_email_change.txt
@@ -1,9 +1,15 @@
<%! from django.core.urlresolvers import reverse %>
<%! from django.utils.translation import ugettext as _ %>
+<%! from openedx.core.djangoapps.theming.helpers import get_value as get_themed_value %>
${_("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 "
- "information is listed at:").format(platform_name=settings.PLATFORM_NAME, old_email=old_email, new_email=new_email)}
+ "information is listed at:").format(
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME),
+ old_email=old_email,
+ new_email=new_email
+ )
+}
% if is_secure:
https://${ site }${reverse('contact')}
@@ -11,5 +17,4 @@ ${_("This is to confirm that you changed the e-mail associated with "
http://${ site }${reverse('contact')}
% endif
-${_("We keep a log of old e-mails, so if this request was unintentional, we "
- "can investigate.")}
+${_("We keep a log of old e-mails, so if this request was unintentional, we can investigate.")}
diff --git a/lms/templates/emails/email_change.txt b/lms/templates/emails/email_change.txt
index 79f8929f99..618320fb49 100644
--- a/lms/templates/emails/email_change.txt
+++ b/lms/templates/emails/email_change.txt
@@ -1,8 +1,14 @@
<%! from django.utils.translation import ugettext as _ %>
+<%! from openedx.core.djangoapps.theming.helpers import get_value as get_themed_value %>
${_("We received a request to change the e-mail associated with your "
"{platform_name} account from {old_email} to {new_email}. "
"If this is correct, please confirm your new e-mail address by "
- "visiting:").format(platform_name=settings.PLATFORM_NAME, old_email=old_email, new_email=new_email)}
+ "visiting:").format(
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME),
+ old_email=old_email,
+ new_email=new_email
+ )
+}
% if is_secure:
https://${ site }/email_confirm/${ key }
@@ -13,4 +19,4 @@ ${_("We received a request to change the e-mail associated with your "
${_("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 "
- "{platform_name} web site.").format(platform_name=settings.PLATFORM_NAME)}
+ "{platform_name} web site.").format(platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME))}
diff --git a/lms/templates/emails/email_change_subject.txt b/lms/templates/emails/email_change_subject.txt
index 7c9e3fb400..acc114bb98 100644
--- a/lms/templates/emails/email_change_subject.txt
+++ b/lms/templates/emails/email_change_subject.txt
@@ -1,2 +1,5 @@
<%! from django.utils.translation import ugettext as _ %>
-${_("Request to change {platform_name} account e-mail").format(platform_name=settings.PLATFORM_NAME)}
+<%! from openedx.core.djangoapps.theming.helpers import get_value as get_themed_value %>
+${_("Request to change {platform_name} account e-mail").format(
+ platform_name=get_themed_value('PLATFORM_NAME', settings.PLATFORM_NAME)
+)}
diff --git a/openedx/core/djangoapps/credit/email_utils.py b/openedx/core/djangoapps/credit/email_utils.py
index 3cdef8955c..2a33ab9156 100644
--- a/openedx/core/djangoapps/credit/email_utils.py
+++ b/openedx/core/djangoapps/credit/email_utils.py
@@ -125,7 +125,7 @@ def send_credit_notifications(username, course_key):
notification_msg.attach(logo_image)
# add email addresses of sender and receiver
- from_address = theming_helpers.get_value('default_from_email', settings.DEFAULT_FROM_EMAIL)
+ from_address = theming_helpers.get_value('email_from_address', settings.DEFAULT_FROM_EMAIL)
to_address = user.email
# send the root email message
diff --git a/openedx/core/djangoapps/user_api/accounts/api.py b/openedx/core/djangoapps/user_api/accounts/api.py
index 48d4e10433..0361e3a761 100644
--- a/openedx/core/djangoapps/user_api/accounts/api.py
+++ b/openedx/core/djangoapps/user_api/accounts/api.py
@@ -398,7 +398,7 @@ def request_password_change(email, orig_host, is_secure):
# Generate a single-use link for performing a password reset
# and email it to the user.
form.save(
- from_email=theming_helpers.get_value('default_from_email', settings.DEFAULT_FROM_EMAIL),
+ from_email=theming_helpers.get_value('email_from_address', settings.DEFAULT_FROM_EMAIL),
domain_override=orig_host,
use_https=is_secure
)
diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt
index 791efe0475..bf8dca3556 100644
--- a/requirements/edx/github.txt
+++ b/requirements/edx/github.txt
@@ -90,7 +90,7 @@ git+https://github.com/edx/xblock-utils.git@v1.0.2#egg=xblock-utils==1.0.2
-e git+https://github.com/edx/edx-reverification-block.git@0.0.5#egg=edx-reverification-block==0.0.5
git+https://github.com/edx/edx-user-state-client.git@1.0.1#egg=edx-user-state-client==1.0.1
git+https://github.com/edx/xblock-lti-consumer.git@v1.0.9#egg=xblock-lti-consumer==1.0.9
-git+https://github.com/edx/edx-proctoring.git@0.12.20#egg=edx-proctoring==0.12.20
+git+https://github.com/edx/edx-proctoring.git@0.12.21#egg=edx-proctoring==0.12.21
# Third Party XBlocks
-e git+https://github.com/mitodl/edx-sga@172a90fd2738f8142c10478356b2d9ed3e55334a#egg=edx-sga