Remove microsite_configuration/microsite.py references from individual templates
* mattdrayer: Updated get_themed_template_path
This commit is contained in:
committed by
Matt Drayer
parent
45db325aa4
commit
2d83449240
@@ -6,7 +6,6 @@ from util.date_utils import get_default_time_display
|
||||
from django.utils.translation import ugettext as _
|
||||
from openedx.core.lib.js_utils import escape_json_dumps
|
||||
from contentstore.utils import reverse_usage_url
|
||||
from microsite_configuration import microsite
|
||||
from openedx.core.djangoapps.self_paced.models import SelfPacedConfiguration
|
||||
%>
|
||||
<%block name="title">${_("Course Outline")}</%block>
|
||||
@@ -54,9 +53,6 @@ from openedx.core.djangoapps.self_paced.models import SelfPacedConfiguration
|
||||
%endif
|
||||
|
||||
%if deprecated_blocks_info.get('blocks') or deprecated_blocks_info.get('block_types_enabled'):
|
||||
<%
|
||||
platform_name = microsite.get_value('platform_name', settings.PLATFORM_NAME)
|
||||
%>
|
||||
<div class="wrapper wrapper-alert wrapper-alert-error is-shown">
|
||||
<div class="alert announcement">
|
||||
<i class="feedback-symbol fa fa-warning" aria-hidden="true"></i><span class="sr">${_("Warning")}</span>
|
||||
@@ -87,7 +83,7 @@ from openedx.core.djangoapps.self_paced.models import SelfPacedConfiguration
|
||||
<div class="advance-modules-list">
|
||||
<p class="advance-modules-remove-text">
|
||||
${_("To avoid errors, {platform_name} strongly recommends that you remove unsupported features from the course advanced settings. To do this, go to the {link_start}Advanced Settings page{link_end}, locate the \"Advanced Module List\" setting, and then delete the following modules from the list.").format(
|
||||
platform_name=platform_name,
|
||||
platform_name=static.get_platform_name(),
|
||||
link_start='<a href="{advance_settings_url}">'.format(advance_settings_url=deprecated_blocks_info['advance_settings_url']), link_end="</a>"
|
||||
)}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user