Added fixes to some style and one Cale fix to get things working properly
This commit is contained in:
@@ -53,7 +53,7 @@ def index(request):
|
||||
"""
|
||||
courses = modulestore().get_items(['i4x', None, None, 'course', None])
|
||||
return render_to_response('index.html', {
|
||||
'courses': [(course.metadata['display_name'],
|
||||
'courses': [(course.metadata.get('display_name'),
|
||||
reverse('course_index', args=[
|
||||
course.location.org,
|
||||
course.location.course,
|
||||
|
||||
@@ -14,9 +14,11 @@ $yellow: #fff8af;
|
||||
$cream: #F6EFD4;
|
||||
$border-color: #ddd;
|
||||
|
||||
|
||||
// edX colors
|
||||
$blue: rgb(29,157,217);
|
||||
$pink: rgb(182,37,104);
|
||||
$error-red: rgb(253, 87, 87);
|
||||
|
||||
@mixin hide-text {
|
||||
background-color: transparent;
|
||||
|
||||
@@ -330,11 +330,6 @@ section.cal {
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
width: flex-grid(5) + flex-gutter();
|
||||
|
||||
+ section.main-content {
|
||||
width: flex-grid(7);
|
||||
}
|
||||
}
|
||||
|
||||
> header {
|
||||
|
||||
Reference in New Issue
Block a user