mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Update /courses default code language shown
This commit is contained in:
parent
d081f7553d
commit
939fd6865b
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ block content
|
|||
span.spr :
|
||||
span.spr(data-i18n="courses.course")
|
||||
span 1
|
||||
span.spr= (me.get('aceConfig') || {}).language === 'python' ? 'Python' : 'JavaScript'
|
||||
span.spr= (me.get('aceConfig') || {}).language === 'javascript' ? 'JavaScript' : 'Python'
|
||||
small
|
||||
a#change-language-link(data-i18n="courses.change_language")
|
||||
+course-instance-body(view.hocCourseInstance)
|
||||
|
@ -86,7 +86,7 @@ block content
|
|||
div(class=classroomClass)
|
||||
h3
|
||||
span.spr= classroom.get('name')
|
||||
span.spr (#{(classroom.get('aceConfig') || {}).language === 'python' ? 'Python' : 'JavaScript'})
|
||||
span.spr (#{(classroom.get('aceConfig') || {}).language === 'javascript' ? 'JavaScript' : 'Python'})
|
||||
a(href="/courses/"+classroom.id, data-i18n="courses.view_class")
|
||||
|
||||
- var courseInstances = view.courseInstances.where({classroomID: classroom.id});
|
||||
|
|
Loading…
Reference in a new issue