From 1d94484139a4641c8abb242eecb3774ba52010c2 Mon Sep 17 00:00:00 2001 From: asadiqbal Date: Fri, 21 Dec 2018 14:06:17 +0500 Subject: [PATCH] updated the edx.org template --- themes/edx.org/lms/templates/dashboard.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/themes/edx.org/lms/templates/dashboard.html b/themes/edx.org/lms/templates/dashboard.html index 63a54c5a80..249394faeb 100644 --- a/themes/edx.org/lms/templates/dashboard.html +++ b/themes/edx.org/lms/templates/dashboard.html @@ -91,6 +91,13 @@ from student.models import CourseEnrollment banner.showMessage(${redirect_message | n, dump_js_escaped_json}) % 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}) + + % endif