From 09a3bc01be920a0464e21f8a63af74b859959af0 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Mon, 5 Aug 2013 12:51:42 -0400 Subject: [PATCH 1/4] show the organization, course number, course run in the course listing page in CMS --- cms/djangoapps/contentstore/views/user.py | 3 +++ cms/static/sass/views/_dashboard.scss | 7 ++++++- cms/templates/index.html | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/cms/djangoapps/contentstore/views/user.py b/cms/djangoapps/contentstore/views/user.py index e1c75bad0f..24df0c64c2 100644 --- a/cms/djangoapps/contentstore/views/user.py +++ b/cms/djangoapps/contentstore/views/user.py @@ -54,6 +54,9 @@ def index(request): course.location, course_id=course.location.course_id, ), + course.display_org_with_default, + course.display_number_with_default, + course.location.name ) return render_to_response('index.html', { diff --git a/cms/static/sass/views/_dashboard.scss b/cms/static/sass/views/_dashboard.scss index ab3ad6f810..6206891542 100644 --- a/cms/static/sass/views/_dashboard.scss +++ b/cms/static/sass/views/_dashboard.scss @@ -330,10 +330,15 @@ body.dashboard { .class-name { display: block; - font-size: 19px; + font-size: 22px; font-weight: 300; } + .class-listing-info { + color: #989898; + margin-right: 15px; + } + .detail { font-size: 14px; font-weight: 400; diff --git a/cms/templates/index.html b/cms/templates/index.html index 9c845ccb5a..150b0c070f 100644 --- a/cms/templates/index.html +++ b/cms/templates/index.html @@ -133,10 +133,13 @@ %if len(courses) > 0: