mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-21 04:52:47 -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
|