mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Courses UI - update button text based on enrolled or not
This commit is contained in:
parent
36cc9b5f18
commit
55a58ef0b3
1 changed files with 1 additions and 1 deletions
|
@ -104,4 +104,4 @@ mixin course-block(course, courseID)
|
|||
.row.button-row.center
|
||||
.col-md-12
|
||||
br
|
||||
button.btn.btn-success.btn-continue(data-toggle='modal', data-target="#continueModal", data-course-title="#{course.title}", data-course-id="#{courseID}") Continue
|
||||
button.btn.btn-success.btn-continue(data-toggle='modal', data-target="#continueModal", data-course-title="#{course.title}", data-course-id="#{courseID}") #{course.unlocked ? 'Continue' : 'Enter'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue