Commit 7eb1375e by Kyle Fiedler

Added fixes to some style and one Cale fix to get things working properly

parent 57020233
...@@ -53,7 +53,7 @@ def index(request): ...@@ -53,7 +53,7 @@ def index(request):
""" """
courses = modulestore().get_items(['i4x', None, None, 'course', None]) courses = modulestore().get_items(['i4x', None, None, 'course', None])
return render_to_response('index.html', { return render_to_response('index.html', {
'courses': [(course.metadata['display_name'], 'courses': [(course.metadata.get('display_name'),
reverse('course_index', args=[ reverse('course_index', args=[
course.location.org, course.location.org,
course.location.course, course.location.course,
......
...@@ -14,9 +14,11 @@ $yellow: #fff8af; ...@@ -14,9 +14,11 @@ $yellow: #fff8af;
$cream: #F6EFD4; $cream: #F6EFD4;
$border-color: #ddd; $border-color: #ddd;
// edX colors // edX colors
$blue: rgb(29,157,217); $blue: rgb(29,157,217);
$pink: rgb(182,37,104); $pink: rgb(182,37,104);
$error-red: rgb(253, 87, 87);
@mixin hide-text { @mixin hide-text {
background-color: transparent; background-color: transparent;
......
...@@ -330,11 +330,6 @@ section.cal { ...@@ -330,11 +330,6 @@ section.cal {
&:hover { &:hover {
opacity: 1; opacity: 1;
width: flex-grid(5) + flex-gutter();
+ section.main-content {
width: flex-grid(7);
}
} }
> header { > header {
......
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