updated the edx.org template
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user