mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Fix HOC complete text in /courses
This commit is contained in:
parent
405785bafe
commit
5a72d32f60
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ block content
|
|||
- var course = view.courses.get(view.hocCourseInstance.get('courseID'));
|
||||
- var campaign = view.campaigns.get(course.get('campaignID'));
|
||||
- var stats = campaign.statsForSessions(view.hocCourseInstance.sessions);
|
||||
- showHOCComplete = stats.levels.done;
|
||||
- showHOCComplete = stats.levels.done && !view.classrooms.size();
|
||||
|
||||
.text-center
|
||||
if !showHOCComplete
|
||||
|
@ -40,11 +40,11 @@ block content
|
|||
else
|
||||
h1 Amazing! You've completed the Hour of Code course!
|
||||
h2 Ready for more? Play the campaign mode!
|
||||
ul
|
||||
ul.text-left
|
||||
li Use gems to unlock new items!
|
||||
li Play through brand new worlds and challenges
|
||||
li Learn even more programming!
|
||||
a.btn.btn-lg.btn-success(href="/play")
|
||||
a.btn.btn-lg.btn-success(href="/play") Play Now
|
||||
|
||||
if view.hocCourseInstance && !view.classrooms.size()
|
||||
h3 Saved Games
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue