Tweak behavior of registration button for marketing site
If a user is already registered for a course but the course has not started yet, display a grey button that says "you are registered" and goes nowhere instead of the blue "access courseware" button, which goes to the LMS course about page (which 404s).
This commit is contained in:
@@ -79,14 +79,15 @@
|
||||
|
||||
.action {
|
||||
|
||||
// not registered (default)
|
||||
&.action-register {
|
||||
// register or access courseware
|
||||
&.action-register, &.access-courseware {
|
||||
@extend .btn-primary;
|
||||
}
|
||||
|
||||
// already registered
|
||||
// already registered but course not started
|
||||
&.is-registered {
|
||||
@extend .btn-secondary;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
// coming soon
|
||||
|
||||
Reference in New Issue
Block a user