Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
540710f5
Commit
540710f5
authored
Feb 12, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - nav revamp: added in dynamic course org and number to header
parent
c9c026be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
cms/static/sass/_header.scss
+5
-3
cms/templates/widgets/header.html
+1
-1
No files found.
cms/static/sass/_header.scss
View file @
540710f5
...
...
@@ -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
;
...
...
cms/templates/widgets/header.html
View file @
540710f5
...
...
@@ -11,7 +11,7 @@
<div
class=
"info-course"
>
<h2
class=
"sr"
>
Current Course:
</h2>
<a
href=
"${reverse('course_index', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}"
>
<span
class=
"course-
number"
>
PH207x:
</span>
<span
class=
"course-
org"
>
${ctx_loc.org}
</span><span
class=
"course-number"
>
${ctx_loc.course}
</span>
<span
class=
"course-title"
title=
"${context_course.display_name}"
>
${context_course.display_name}
</span>
</a>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment