From 71b9dbbb2e61b2eb756681c39056dd885e3672de Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Tue, 31 Jul 2012 14:18:04 -0400 Subject: [PATCH 1/2] Remove obsolete js references --- lms/templates/courseware.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lms/templates/courseware.html b/lms/templates/courseware.html index c1658b3dee..3d163c1f78 100644 --- a/lms/templates/courseware.html +++ b/lms/templates/courseware.html @@ -18,14 +18,6 @@ ## ## - ## image input: for clicking on images (see imageinput.html) - - - ## TODO (cpennington): Remove this when we have a good way for modules to specify js to load on the page - ## and in the wiki - - - <%static:js group='courseware'/> <%include file="mathjax_include.html" /> From f3567ddd6637170e71317e57f267f2c7a7824881 Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Tue, 31 Jul 2012 14:03:03 -0400 Subject: [PATCH 2/2] Change absolute paths to relative in scss * makes collectstatic happy --- cms/static/sass/_content-types.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cms/static/sass/_content-types.scss b/cms/static/sass/_content-types.scss index 00af06d5ad..e85d2a5c24 100644 --- a/cms/static/sass/_content-types.scss +++ b/cms/static/sass/_content-types.scss @@ -56,10 +56,10 @@ .module a:first-child { @extend .content-type; - background-image: url('/static/img/content-types/module.png'); + background-image: url('../img/content-types/module.png'); } .module a:first-child { @extend .content-type; - background-image: url('/static/img/content-types/module.png'); + background-image: url('../img/content-types/module.png'); }