From d4e849d2b27f171ffb3e88e9d9be0b1481a702a1 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Wed, 4 Sep 2013 15:30:05 -0400 Subject: [PATCH] edx.org: adds custom styling for register button in case of verified option/content displayed --- lms/static/sass/_shame.scss | 4 ++++ lms/templates/courseware/mktg_course_about.html | 2 +- lms/templates/mktg_iframe.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lms/static/sass/_shame.scss b/lms/static/sass/_shame.scss index c20f748bec..1dd61aa420 100644 --- a/lms/static/sass/_shame.scss +++ b/lms/static/sass/_shame.scss @@ -170,6 +170,10 @@ &:hover .track { opacity: 1.0; } + + &.has-option-verified { + padding-top: 12px !important; + } } // already registered but course not started or registration is closed diff --git a/lms/templates/courseware/mktg_course_about.html b/lms/templates/courseware/mktg_course_about.html index 784ca673b9..f9fc7b97ef 100644 --- a/lms/templates/courseware/mktg_course_about.html +++ b/lms/templates/courseware/mktg_course_about.html @@ -57,7 +57,7 @@
${_("You Are Registered")}
%endif %elif allow_registration: - ${_("Register for")} ${course.display_number_with_default | h} + ${_("Register for")} ${course.display_number_with_default | h} %if len(course_modes) > 1: and choose your student track diff --git a/lms/templates/mktg_iframe.html b/lms/templates/mktg_iframe.html index 4b4d38dceb..27b6545424 100644 --- a/lms/templates/mktg_iframe.html +++ b/lms/templates/mktg_iframe.html @@ -27,7 +27,7 @@