From 227271fec62331dcce730e40c7cc725f3bc676ad Mon Sep 17 00:00:00 2001 From: Nate Hardison Date: Fri, 31 May 2013 19:12:02 -0700 Subject: [PATCH] Theme the courseware dashboard Again, most of the work here is replacing "edX" with the `PLATFORM_NAME` setting. Need to ensure that the `news` boolean is indeed a falsy value as well, or just add a `theme_enabled()` test to disable the news block entirely (since news is an edX-specific feature). --- lms/templates/dashboard.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 75c0cafabd..bb69c6798c 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -150,6 +150,8 @@ + ## `news` should be `None` whenever a non-edX theme is enabled: + ## see common/djangoapps/student/views.py#_get_news %if news: