edx.org: adds custom styling for register button in case of verified option/content displayed

This commit is contained in:
Brian Talbot
2013-09-04 15:30:05 -04:00
parent a1373f4830
commit d4e849d2b2
3 changed files with 6 additions and 2 deletions

View File

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

View File

@@ -57,7 +57,7 @@
<div class="action is-registered">${_("You Are Registered")}</div>
%endif
%elif allow_registration:
<a class="action action-register register" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong>
<a class="action action-register register ${'has-option-verified' if len(course_modes) > 1 else ''}" href="#">${_("Register for")} <strong>${course.display_number_with_default | h}</strong>
%if len(course_modes) > 1:
<span class="track">
and choose your student track

File diff suppressed because one or more lines are too long