diff --git a/lms/templates/courseware/courseware-chromeless.html b/lms/templates/courseware/courseware-chromeless.html index 112ce928a0..39c062dbab 100644 --- a/lms/templates/courseware/courseware-chromeless.html +++ b/lms/templates/courseware/courseware-chromeless.html @@ -71,7 +71,9 @@ ${HTML(fragment.foot_html())}
- ${HTML(fragment.body_html())} +
+ ${HTML(fragment.body_html())} +
% if course.show_calculator or is_edxnotes_enabled(course): diff --git a/lms/templates/courseware/courseware.html b/lms/templates/courseware/courseware.html index 37363b3681..c82ca94ac2 100644 --- a/lms/templates/courseware/courseware.html +++ b/lms/templates/courseware/courseware.html @@ -151,39 +151,39 @@ ${HTML(fragment.foot_html())} % endif
-
-
- % if getattr(course, 'entrance_exam_enabled') and \ - getattr(course, 'entrance_exam_minimum_score_pct') and \ - entrance_exam_current_score is not UNDEFINED: - % if not entrance_exam_passed: -

- ${_('To access course materials, you must score {required_score}% or higher on this \ - exam. Your current score is {current_score}%.').format( - required_score=int(round(course.entrance_exam_minimum_score_pct * 100)), - current_score=int(round(entrance_exam_current_score * 100)) - )} -

- - % else: -

- ${_('Your score is {current_score}%. You have passed the entrance exam.').format( - current_score=int(round(entrance_exam_current_score * 100)) - )} -

+ }); + + % else: +

+ ${_('Your score is {current_score}%. You have passed the entrance exam.').format( + current_score=int(round(entrance_exam_current_score * 100)) + )} +

+ % endif % endif - % endif - ${HTML(fragment.body_html())} + ${HTML(fragment.body_html())}