From 3ad963b8a7323755c8451b1322aacf0a62bb3068 Mon Sep 17 00:00:00 2001 From: Nicholas D'Alfonso Date: Fri, 20 Dec 2019 14:08:42 -0500 Subject: [PATCH] AA-3 course dates cleanup -change Important Course Dates to Upcoming Dates -remove today's date -left align date, right aling rest of info --- .../courseware/tests/test_date_summary.py | 16 ++----- lms/static/images/calendar-alt-regular.svg | 1 + .../sass/features/_course-experience.scss | 43 ++++++++++++++----- .../course-dates-fragment.html | 13 +++--- .../course_experience/dates-summary.html | 33 +++++++------- .../tests/views/test_course_dates.py | 1 - .../tests/views/test_course_home.py | 4 -- .../course_experience/views/course_dates.py | 2 +- 8 files changed, 62 insertions(+), 51 deletions(-) create mode 100644 lms/static/images/calendar-alt-regular.svg diff --git a/lms/djangoapps/courseware/tests/test_date_summary.py b/lms/djangoapps/courseware/tests/test_date_summary.py index 580164e485..7f39f211dc 100644 --- a/lms/djangoapps/courseware/tests/test_date_summary.py +++ b/lms/djangoapps/courseware/tests/test_date_summary.py @@ -176,12 +176,9 @@ class CourseDateSummaryTest(SharedModuleStoreTestCase): self.client.login(username=user.username, password=TEST_PASSWORD) html_elements = [ - '

Important Course Dates

', + '

Upcoming Dates

', '
', - '
', - 'Important Course Dates', + '

Upcoming Dates

', '
', - '
', - '