mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05:00
🐛Fix teacher dashboard course # progress
This commit is contained in:
parent
8054cd6cf0
commit
efa4b2b158
4 changed files with 13 additions and 10 deletions
|
@ -45,6 +45,7 @@ module.exports =
|
|||
users = _.map userIDs, (id) ->
|
||||
students.get(id)
|
||||
return {
|
||||
courseName: course.get('name')
|
||||
courseNumber: courseIndex + 1
|
||||
levelNumber: levelIndex + 1
|
||||
levelName: level.get('name')
|
||||
|
@ -74,6 +75,7 @@ module.exports =
|
|||
users = _.map userIDs, (id) ->
|
||||
students.get(id)
|
||||
return {
|
||||
courseName: course.get('name')
|
||||
courseNumber: courseIndex + 1
|
||||
levelNumber: levelIndex + 1
|
||||
levelName: level.get('name')
|
||||
|
|
|
@ -1444,7 +1444,7 @@
|
|||
edit: "edit"
|
||||
edit_2: "Edit"
|
||||
remove: "remove"
|
||||
latest_completed: "Latest Completed"
|
||||
latest_completed: "Latest completed" # {change}
|
||||
sort_by: "Sort by"
|
||||
progress: "Progress"
|
||||
completed: "Completed"
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
white-space: nowrap
|
||||
overflow: ellipsis
|
||||
font-weight: bold
|
||||
// line-height: 20px
|
||||
font-size: 14px
|
||||
|
||||
.sort-button
|
||||
border: none
|
||||
|
@ -297,6 +297,9 @@
|
|||
border: thin solid #979797
|
||||
text-align: center
|
||||
|
||||
#join-url-input
|
||||
font-size: 14px
|
||||
|
||||
button
|
||||
height: 50px
|
||||
width: 210px
|
||||
|
|
|
@ -159,11 +159,9 @@ mixin breadcrumbs
|
|||
mixin longLevelName(data)
|
||||
if data
|
||||
div.level-name
|
||||
span(data-i18n="courses.course")
|
||||
span= ' ' + data.courseNumber + ', '
|
||||
span(data-i18n="play_level.level")
|
||||
span= ' ' + data.levelNumber + ': '
|
||||
span= data.levelName
|
||||
span= data.courseName + ': '
|
||||
span(data-i18n='play_level.level')
|
||||
span.spl= data.levelNumber
|
||||
else
|
||||
div.level-name(data-i18n='teacher.not_applicable')
|
||||
|
||||
|
|
Loading…
Reference in a new issue