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
251e7756
Commit
251e7756
authored
Jul 02, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - makes course org/number/name block an entire link
parent
2a5c5518
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cms/static/sass/elements/_header.scss
+2
-1
cms/templates/widgets/header.html
+1
-1
No files found.
cms/static/sass/elements/_header.scss
View file @
251e7756
...
@@ -159,8 +159,9 @@
...
@@ -159,8 +159,9 @@
}
}
// entire link
// entire link
a
{
.course-link
{
@include
transition
(
color
0
.25s
ease-in-out
);
@include
transition
(
color
0
.25s
ease-in-out
);
display
:
block
;
color
:
$gray-d1
;
color
:
$gray-d1
;
&
:hover
{
&
:hover
{
...
...
cms/templates/widgets/header.html
View file @
251e7756
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<
%
ctx_loc =
context_course.location
%
>
<
%
ctx_loc =
context_course.location
%
>
<h2
class=
"info-course"
>
<h2
class=
"info-course"
>
<span
class=
"sr"
>
Current Course:
</span>
<span
class=
"sr"
>
Current Course:
</span>
<a
href=
"${reverse('course_index', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}"
>
<a
class=
"course-link"
href=
"${reverse('course_index', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}"
>
<span
class=
"course-org"
>
${ctx_loc.org}
</span><span
class=
"course-number"
>
${ctx_loc.course}
</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_with_default}"
>
${context_course.display_name_with_default}
</span>
<span
class=
"course-title"
title=
"${context_course.display_name_with_default}"
>
${context_course.display_name_with_default}
</span>
</a>
</a>
...
...
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