mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
28 lines
No EOL
761 B
Text
28 lines
No EOL
761 B
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3 Change Course 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'
|
|
| Keep Using Python
|
|
else
|
|
| Switch To Python
|
|
|
|
p - OR -
|
|
|
|
button.lang-choice-btn.btn.btn-default(data-language='javascript')
|
|
if currentLanguage === 'javascript'
|
|
| Keep Using JavaScript
|
|
else
|
|
| Switch to JavaScript
|
|
|
|
#saving-progress.progress.progress-striped.active.hide
|
|
.progress-bar(style="width: 100%")
|
|
|
|
block modal-footer-content
|
|
|