mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 21:01:06 -05:00
e284ec7959
Also, removed duplicated 'Continue' string
34 lines
994 B
Text
34 lines
994 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3(data-i18n="courses.change_language")
|
|
.clearfix
|
|
|
|
block modal-body-content
|
|
#choice-area.text-center
|
|
- var currentLanguage = (me.get('aceConfig') || {}).language || 'python';
|
|
button.lang-choice-btn.btn.btn-success.btn-lg(data-language='python')
|
|
if currentLanguage === 'python'
|
|
span.spr(data-i18n="courses.keep_using")
|
|
span Python
|
|
else
|
|
span.spr(data-i18n="courses.switch_to")
|
|
span Python
|
|
|
|
p
|
|
span.spr -
|
|
span.text-uppercase(data-i18n="general.or")
|
|
span.spl -
|
|
|
|
button.lang-choice-btn.btn.btn-default(data-language='javascript')
|
|
if currentLanguage === 'javascript'
|
|
span.spr(data-i18n="courses.keep_using")
|
|
span JavaScript
|
|
else
|
|
span.spr(data-i18n="courses.switch_to")
|
|
span JavaScript
|
|
|
|
#saving-progress.progress.progress-striped.active.hide
|
|
.progress-bar(style="width: 100%")
|
|
|
|
block modal-footer-content
|