feat: AA-1020: Add Credit Information to Progress tab (#726)

This is to match what the old Progress tab would show so we
can enable this for all credit courses as well
This commit is contained in:
Dillon Dumesnil
2021-11-05 11:08:29 -07:00
committed by GitHub
parent f7428db3c3
commit 64eb268cb0
17 changed files with 279 additions and 27 deletions

View File

@@ -9,8 +9,8 @@ import messages from '../courseware/course/course-exit/messages';
function IntlDashboardLink({ intl }) {
return (
<Hyperlink
className="text-gray-700"
style={{ textDecoration: 'underline' }}
variant="muted"
isInline
destination={`${getConfig().LMS_BASE_URL}/dashboard`}
>
{intl.formatMessage(messages.dashboardLink)}
@@ -28,8 +28,8 @@ function IntlIdVerificationSupportLink({ intl }) {
}
return (
<Hyperlink
className="text-gray-700"
style={{ textDecoration: 'underline' }}
variant="muted"
isInline
destination={getConfig().SUPPORT_URL_ID_VERIFICATION}
>
{intl.formatMessage(messages.idVerificationSupportLink)}
@@ -46,8 +46,8 @@ function IntlProfileLink({ intl }) {
return (
<Hyperlink
className="text-gray-700"
style={{ textDecoration: 'underline' }}
variant="muted"
isInline
destination={`${getConfig().LMS_BASE_URL}/u/${username}`}
>
{intl.formatMessage(messages.profileLink)}