From 346ec161fe99594ed71d8ca9a11e15955b94a4d9 Mon Sep 17 00:00:00 2001 From: Thomas Tracy Date: Thu, 24 Jun 2021 10:32:50 -0400 Subject: [PATCH] [refactor] Ttracy/MICROBA-1297: ID verify messaging updates on dashboard (#28012) * [refactor] Reword dashboard verify ID message Small change to reword ID verification messaging on the course dashboard and remove one of the buttons. * set coloring of warning message * follow patter for theme font colors --- lms/static/sass/multicourse/_dashboard.scss | 6 +++++- .../dashboard/_dashboard_certificate_information.html | 1 - lms/templates/dashboard/_dashboard_course_listing.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index b12bcd0fca..037c94590d 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -1067,9 +1067,13 @@ } } + &.course-status-processing { + color: theme-color('error'); + } + &.course-status-earned-not-available, &.course-status-certavailable { - color: #0d7d4d; + color: theme-color('success'); } &.course-status-certavailable { diff --git a/lms/templates/dashboard/_dashboard_certificate_information.html b/lms/templates/dashboard/_dashboard_certificate_information.html index 5169845562..56a9a06c51 100644 --- a/lms/templates/dashboard/_dashboard_certificate_information.html +++ b/lms/templates/dashboard/_dashboard_certificate_information.html @@ -66,7 +66,6 @@ else: % elif cert_status['status'] == 'unverified':

${Text(_("Your certificate was not issued because you do not have a current verified identity with {platform_name}. ")).format(platform_name=settings.PLATFORM_NAME)} - ${Text(_("Verify your identity now."))}

% endif diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 4b820a8c0a..ea52213f4a 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -366,7 +366,7 @@ from lms.djangoapps.experiments.utils import UPSELL_TRACKING_FLAG % if verification_status['status'] == VERIFY_STATUS_NEED_TO_VERIFY:
% if verification_status['days_until_deadline'] is not None: -

${_('Verification not yet complete.')}

+

${_('To earn a certificate, you must verify your ID')}

${ungettext( 'You only have {days} day left to verify for this course.', 'You only have {days} days left to verify for this course.',