diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 6adca7a26c..2fecaf66da 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -480,7 +480,10 @@ def dashboard(request): message = "" if not user.is_active: - message = render_to_string('registration/activate_account_notice.html', {'email': user.email}) + message = render_to_string( + 'registration/activate_account_notice.html', + {'email': user.email, 'platform_name': settings.PLATFORM_NAME} + ) # Global staff can see what courses errored on their dashboard staff_access = False diff --git a/lms/djangoapps/courseware/features/signup.feature b/lms/djangoapps/courseware/features/signup.feature index b04a950bef..60067d5b20 100644 --- a/lms/djangoapps/courseware/features/signup.feature +++ b/lms/djangoapps/courseware/features/signup.feature @@ -16,4 +16,4 @@ Feature: LMS.Sign in And I check the checkbox named "terms_of_service" And I check the checkbox named "honor_code" And I submit the registration form - Then I should see "THANKS FOR REGISTERING!" in the dashboard banner + Then I should see "Thanks for Registering!" in the dashboard banner diff --git a/lms/static/sass/elements/_system-feedback.scss b/lms/static/sass/elements/_system-feedback.scss index 2943df4dc8..9a6061fa32 100644 --- a/lms/static/sass/elements/_system-feedback.scss +++ b/lms/static/sass/elements/_system-feedback.scss @@ -6,8 +6,6 @@ // UI : message .wrapper-msg { display: block; - margin-bottom: ($baseline/4); - box-shadow: 0 0 5px $shadow-d1 inset; background: $notify-banner-bg-1; padding: $baseline ($baseline*1.5); diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index 9569ea13ca..f669f65966 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -5,27 +5,6 @@ @include clearfix; padding: ($baseline*2) 0 0 0; - .dashboard-banner { - background: $yellow; - border: 1px solid rgb(200,200,200); - box-shadow: 0 1px 0 0 rgba(255,255,255, 0.6); - padding: 10px; - margin-bottom: 30px; - - &:empty { - display: none; - background-color: #FFF; - } - - h2 { - margin-bottom: 0; - } - - p { - margin-bottom: 0; - } - } - .profile-sidebar { float: left; margin-right: flex-gutter(); @@ -1166,3 +1145,31 @@ opacity: 0.5; } +.dashboard-banner { + + &:empty { + display: none; + } + + .wrapper-msg { + padding-bottom: 0; + } + + .msg { + @include clearfix(); + font-family: $sans-serif; + padding-bottom: $baseline; + border-bottom: thin solid $gray; + + &.title { + @extend %t-title5; + @extend %t-weight4; + font-family: $f-sans-serif; + + // Overriding Platform h2 styles + text-transform: none; + letter-spacing: 0; + } + } +} + diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index be4acc8260..23dac72409 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -24,6 +24,13 @@ %block> -% if reverifications["must_reverify"] or reverifications["denied"]: - -% endif +