Fix for LEARNER-859: Updating styling on the course updates page to more clearly differentiate between multiple updates. Specifically:

- Updated styling on date in the top left corner
- Added horizontal line between updates
- Removed ability to toggle updates on and off
- Cleaned up code to always show all updates:
This commit is contained in:
Harry Rein
2017-05-30 15:10:55 -04:00
parent b97af89fe8
commit 6761a87bfb
8 changed files with 97 additions and 27 deletions

View File

@@ -4,17 +4,15 @@ Tests for course_info
import ddt
from django.conf import settings
from milestones.tests.utils import MilestonesTestCaseMixin
from nose.plugins.attrib import attr
from xmodule.html_module import CourseInfoModule
from xmodule.modulestore import ModuleStoreEnum
from xmodule.modulestore.django import modulestore
from xmodule.modulestore.xml_importer import import_course_from_xml
from milestones.tests.utils import MilestonesTestCaseMixin
from ..testutils import (
MobileAPITestCase, MobileCourseAccessTestMixin, MobileAuthTestMixin
)
from ..testutils import MobileAPITestCase, MobileAuthTestMixin, MobileCourseAccessTestMixin
@attr(shard=3)

View File

@@ -171,3 +171,24 @@
}
}
}
// Course Updates Page
.course-updates {
.all-updates {
.updates-article {
margin: ($baseline*6/5) 0;
padding-bottom: ($baseline*6/5);
border-bottom: 1px solid $lms-border-color;
.date {
font-size: font-size(small);
font-weight: 300;
float: none;
padding-bottom: ($baseline/4);
}
&:last-child {
border-bottom: 0;
}
}
}
}