updated the edx.org template

This commit is contained in:
asadiqbal
2018-12-21 14:06:17 +05:00
parent 2315180641
commit 1d94484139

View File

@@ -91,6 +91,13 @@ from student.models import CourseEnrollment
banner.showMessage(${redirect_message | n, dump_js_escaped_json})
</%static:require_module>
% endif
% if recovery_email_message:
<%static:require_module module_name="js/views/message_banner" class_name="MessageBannerView">
var banner = new MessageBannerView({urgency: 'low', type: 'warning', hideCloseBtn: false, isRecoveryEmailMsg: true});
$('#content').prepend(banner.$el);
banner.showMessage(${recovery_email_message | n, dump_js_escaped_json})
</%static:require_module>
% endif
</%block>
<div class="dashboard-notifications" tabindex="-1">