mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-18 03:23:42 -05:00
19 lines
461 B
Text
19 lines
461 B
Text
|
if completed
|
||
|
span.small-details(data-i18n='teacher.complete')
|
||
|
| Complete
|
||
|
else if started
|
||
|
.fraction-students.small-details
|
||
|
= levelsCompleted
|
||
|
| /
|
||
|
= levelsTotal
|
||
|
span.spl(data-i18n='teacher.levels')
|
||
|
| Levels
|
||
|
.percent-students.small-details
|
||
|
= Math.floor(levelsCompleted / levelsTotal * 100)
|
||
|
| %
|
||
|
span.spl(data-i18n='teacher.complete')
|
||
|
| Complete
|
||
|
else
|
||
|
span.small-details(data-i18n='teacher.assigned')
|
||
|
| Assigned
|