[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
This commit is contained in:
Thomas Tracy
2021-06-24 10:32:50 -04:00
committed by GitHub
parent b083ad13d6
commit 346ec161fe
3 changed files with 6 additions and 3 deletions

View File

@@ -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 {

View File

@@ -66,7 +66,6 @@ else:
% elif cert_status['status'] == 'unverified':
<p class="message-copy">
${Text(_("Your certificate was not issued because you do not have a current verified identity with {platform_name}. ")).format(platform_name=settings.PLATFORM_NAME)}
<a href="${reverify_link}"> ${Text(_("Verify your identity now."))}</a>
</p>
% endif
</div>

View File

@@ -366,7 +366,7 @@ from lms.djangoapps.experiments.utils import UPSELL_TRACKING_FLAG
% if verification_status['status'] == VERIFY_STATUS_NEED_TO_VERIFY:
<div class="verification-reminder">
% if verification_status['days_until_deadline'] is not None:
<h4 class="message-title">${_('Verification not yet complete.')}</h4>
<h4 class="message-title">${_('To earn a certificate, you must verify your ID')}</h4>
<p class="message-copy">${ungettext(
'You only have {days} day left to verify for this course.',
'You only have {days} days left to verify for this course.',