codecombat/app/templates/courses/progress-dot.jade

16 lines
360 B
Text
Raw Normal View History

2016-03-30 16:57:19 -04:00
if !total
span.small-details(data-i18n='teacher.no_progress')
| No Progress
else
.fraction-students.small-details
= complete
| /
= total
span.spl(data-i18n='teacher.students')
| Students
.percent-students.small-details
= Math.floor(complete / total * 100)
| %
span.spl(data-i18n='teacher.complete')
| Complete