From 18dc689d4d9305eebaaebd984608745c8ff7a405 Mon Sep 17 00:00:00 2001 From: Kyle Fiedler Date: Tue, 24 Jul 2012 16:36:29 -0400 Subject: [PATCH] Added fix for where the course.css is being brought in --- lms/templates/courseware.html | 4 ++++ lms/templates/info.html | 6 ++++++ lms/templates/main.html | 1 - lms/templates/profile.html | 4 ++++ lms/templates/simplewiki/simplewiki_base.html | 6 ++++++ lms/templates/staticbook.html | 5 +++++ 6 files changed, 25 insertions(+), 1 deletion(-) diff --git a/lms/templates/courseware.html b/lms/templates/courseware.html index 93595a2098..c1658b3dee 100644 --- a/lms/templates/courseware.html +++ b/lms/templates/courseware.html @@ -3,6 +3,10 @@ <%block name="bodyclass">courseware <%block name="title">Courseware – MITx 6.002x +<%block name="headextra"> + <%static:css group='course'/> + + <%block name="js_extra"> diff --git a/lms/templates/info.html b/lms/templates/info.html index 122a185f3a..9365b9e76a 100644 --- a/lms/templates/info.html +++ b/lms/templates/info.html @@ -1,4 +1,10 @@ <%inherit file="main.html" /> +<%namespace name='static' file='static_content.html'/> + +<%block name="headextra"> + <%static:css group='course'/> + + <%include file="course_navigation.html" args="active_page='info'" /> <%! from courseware.courses import get_course_info_section diff --git a/lms/templates/main.html b/lms/templates/main.html index c9b74c669c..7ef8960970 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -7,7 +7,6 @@ <%static:css group='application'/> - <%static:css group='course'/>