diff --git a/lms/templates/index.html b/lms/templates/index.html index db5389e7a0..10abc52674 100644 --- a/lms/templates/index.html +++ b/lms/templates/index.html @@ -17,10 +17,7 @@ from openedx.core.djangolib.markup import HTML, Text % if homepage_overlay_html: ${homepage_overlay_html | n, decode.utf8} % else: - ## Translators: 'Open edX' is a registered trademark, please keep this untranslated. See http://open.edx.org for more information. -
${_("It works! This is the default homepage for this Open edX instance.")}
+ <%include file="index_overlay.html" /> % endif % if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'): diff --git a/lms/templates/index_overlay.html b/lms/templates/index_overlay.html new file mode 100644 index 0000000000..393cc7764e --- /dev/null +++ b/lms/templates/index_overlay.html @@ -0,0 +1,11 @@ +<%page expression_filter="h"/> + +<%! +from django.utils.translation import ugettext as _ +from openedx.core.djangolib.markup import HTML, Text +%> + +## Translators: 'Open edX' is a registered trademark, please keep this untranslated. See http://open.edx.org for more information. +${_("It works! This is the default homepage for this Open edX instance.")}