codecombat/app/templates/courses/progress-dot.jade
2016-04-04 15:19:27 -07:00

15 lines
360 B
Text

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