Commit 251e7756 by Brian Talbot

studio - makes course org/number/name block an entire link

parent 2a5c5518
...@@ -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 {
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment