From 540710f553bcbb40e27fa4b6188018edeaa07241 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Tue, 12 Feb 2013 14:22:42 -0500 Subject: [PATCH] studio - nav revamp: added in dynamic course org and number to header --- cms/static/sass/_header.scss | 8 +++++--- cms/templates/widgets/header.html | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cms/static/sass/_header.scss b/cms/static/sass/_header.scss index 8744b4d307..eac712c4e5 100644 --- a/cms/static/sass/_header.scss +++ b/cms/static/sass/_header.scss @@ -109,15 +109,17 @@ width: 1px; } - .course-number, .course-title { - display: block; + .course-org { + margin-right: ($baseline/4); } - .course-number { + .course-number, .course-org { @include font-size(12); + display: inline-block; } .course-title { + display: block; width: 100%; max-width: 220px; overflow: hidden; diff --git a/cms/templates/widgets/header.html b/cms/templates/widgets/header.html index c664669ead..230c658f31 100644 --- a/cms/templates/widgets/header.html +++ b/cms/templates/widgets/header.html @@ -11,7 +11,7 @@

Current Course:

- PH207x: + ${ctx_loc.org}${ctx_loc.course} ${context_course.display_name}