2015-12-04 14:59:51 -05:00
|
|
|
- var completed = session && session.get('state') && session.get('state').complete;
|
2015-12-03 16:32:22 -05:00
|
|
|
h3 #{i}. #{level.name.replace('Course: ', '')}
|
|
|
|
if session
|
|
|
|
p
|
|
|
|
span.spr(data-i18n="courses.play_time")
|
|
|
|
span #{moment.duration(session.get('playtime'), "seconds").humanize()}
|
|
|
|
p
|
|
|
|
span.spr(data-i18n=completed ? "courses.completed" : "clans.last_played")
|
|
|
|
span #{moment(session.get('changed')).format('MMMM Do YYYY, h:mm:ss a')}
|
|
|
|
if session && canViewSolution
|
2015-12-03 15:07:12 -05:00
|
|
|
strong(data-i18n=completed ? "clans.view_solution" : "clans.view_attempt")
|