From c3f88f5defef824887144e28a2e2a1b04fd190b7 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Fri, 19 Sep 2014 14:18:15 -0400 Subject: [PATCH 1/3] Change some text when in professional ed flow ECOM-96 --- lms/templates/verify_student/_verification_header.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lms/templates/verify_student/_verification_header.html b/lms/templates/verify_student/_verification_header.html index 39a33e76eb..cb1b947641 100644 --- a/lms/templates/verify_student/_verification_header.html +++ b/lms/templates/verify_student/_verification_header.html @@ -22,6 +22,13 @@ ${course_name} + %if modes_dict and "professional" in modes_dict: + + + ${_("Professional Education")} + + + %else: %if upgrade: @@ -33,6 +40,7 @@ %endif + %endif From 8bd092ec4b112debc158660aa80564e10a4654fd Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Fri, 19 Sep 2014 16:27:20 -0400 Subject: [PATCH 2/3] adjusting style for professional educationand verification status --- lms/static/sass/views/_verification.scss | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/views/_verification.scss b/lms/static/sass/views/_verification.scss index 6fa3b7bc50..1cf92f5388 100644 --- a/lms/static/sass/views/_verification.scss +++ b/lms/static/sass/views/_verification.scss @@ -368,8 +368,10 @@ .sts-track-value { @extend %copy-badge; - color: $white; + display: inline-block; background: $verified-color-lvl3; + color: $white; + font-weight: 600; .context { margin-right: ($baseline/4); @@ -378,6 +380,14 @@ letter-spacing: 0.1rem; } } + + &.professional-ed { + + .sts-track-value { + background-color: $professional-color-lvl1; + } + + } } .sts-label { From ef1ef9865328aecf80c7e29879b90efec0ea8964 Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Mon, 22 Sep 2014 16:10:23 -0400 Subject: [PATCH 3/3] adjusting ID verified status to be just verified status --- lms/static/sass/views/_verification.scss | 1 - .../verify_student/_verification_header.html | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lms/static/sass/views/_verification.scss b/lms/static/sass/views/_verification.scss index 1cf92f5388..3d0a26e842 100644 --- a/lms/static/sass/views/_verification.scss +++ b/lms/static/sass/views/_verification.scss @@ -374,7 +374,6 @@ font-weight: 600; .context { - margin-right: ($baseline/4); opacity: 0.80; color: $white; letter-spacing: 0.1rem; diff --git a/lms/templates/verify_student/_verification_header.html b/lms/templates/verify_student/_verification_header.html index cb1b947641..b3fdf46af8 100644 --- a/lms/templates/verify_student/_verification_header.html +++ b/lms/templates/verify_student/_verification_header.html @@ -32,11 +32,11 @@ %if upgrade: - ${_("Upgrading to:")} ${_("ID Verified")} + ${_("Upgrading to:")} ${_("Verified")} %elif reverify: - ${_("Re-verifying for:")} ${_("ID Verified")} + ${_("Re-verifying for:")} ${_("Verified")} %else: - ${_("Registering as: ")} ${_("ID Verified")} + ${_("Registering as: ")} ${_("Verified")} %endif @@ -66,11 +66,11 @@ %if upgrade: - ${_("Upgrading to:")} ${_("ID Verified")} + ${_("Upgrading to:")} ${_("Verified")} %elif reverify: - ${_("Re-verifying for:")} ${_("ID Verified")} + ${_("Re-verifying for:")} ${_("Verified")} %else: - ${_("Registering as: ")} ${_("ID Verified")} + ${_("Registering as: ")} ${_("Verified")} %endif