mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-04 09:53:55 -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 course = view.courses.get(view.hocCourseInstance.get('courseID'));
|
||||||
- var campaign = view.campaigns.get(course.get('campaignID'));
|
- var campaign = view.campaigns.get(course.get('campaignID'));
|
||||||
- var stats = campaign.statsForSessions(view.hocCourseInstance.sessions);
|
- var stats = campaign.statsForSessions(view.hocCourseInstance.sessions);
|
||||||
- showHOCComplete = stats.levels.done;
|
- showHOCComplete = stats.levels.done && !view.classrooms.size();
|
||||||
|
|
||||||
.text-center
|
.text-center
|
||||||
if !showHOCComplete
|
if !showHOCComplete
|
||||||
|
@ -40,11 +40,11 @@ block content
|
||||||
else
|
else
|
||||||
h1 Amazing! You've completed the Hour of Code course!
|
h1 Amazing! You've completed the Hour of Code course!
|
||||||
h2 Ready for more? Play the campaign mode!
|
h2 Ready for more? Play the campaign mode!
|
||||||
ul
|
ul.text-left
|
||||||
li Use gems to unlock new items!
|
li Use gems to unlock new items!
|
||||||
li Play through brand new worlds and challenges
|
li Play through brand new worlds and challenges
|
||||||
li Learn even more programming!
|
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()
|
if view.hocCourseInstance && !view.classrooms.size()
|
||||||
h3 Saved Games
|
h3 Saved Games
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue