From 3fd3bd4e43e3076adeb95080f83c217a25b8c037 Mon Sep 17 00:00:00 2001 From: Stephen Sanchez Date: Thu, 25 Sep 2014 19:18:15 +0000 Subject: [PATCH] Crude solution to allowing new styles on White Label about pages. --- lms/djangoapps/courseware/views.py | 3 +++ lms/templates/navigation.html | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/courseware/views.py b/lms/djangoapps/courseware/views.py index c9b50d18b6..15d0edaf99 100644 --- a/lms/djangoapps/courseware/views.py +++ b/lms/djangoapps/courseware/views.py @@ -748,6 +748,9 @@ def course_about(request, course_id): 'invitation_only': invitation_only, 'active_reg_button': active_reg_button, 'is_shib_course': is_shib_course, + # We do not want to display the internal courseware header, which is used when the course is found in the + # context. This value is therefor explicitly set to render the appropriate header. + 'disable_courseware_header': True, }) diff --git a/lms/templates/navigation.html b/lms/templates/navigation.html index ab42f2b55d..d5807a93a8 100644 --- a/lms/templates/navigation.html +++ b/lms/templates/navigation.html @@ -36,7 +36,7 @@ site_status_msg = get_site_status_msg(course_id) % endif -