2014-01-03 13:32:13 -05:00
|
|
|
img(src="/images/level/code_editor_background.png").code-background
|
2014-07-09 16:41:42 -04:00
|
|
|
span.code-background
|
2016-08-02 13:40:55 -04:00
|
|
|
.ace
|
|
|
|
.save-status(data-i18n="play_level.code_saved")
|
|
|
|
.programming-language-container
|
|
|
|
if view.spell.level.isType('web-dev')
|
|
|
|
- var campaign = view.spell.level.get('campaign') || '';
|
|
|
|
if campaign.indexOf('web-dev-1') >= 0
|
|
|
|
span.programming-language-label(data-i18n='play_level.language')
|
|
|
|
span.programming-language-label.spr :
|
|
|
|
span.programming-language HTML
|
|
|
|
else
|
|
|
|
span.programming-language-label(data-i18n='play_level.languages')
|
|
|
|
span.programming-language-label.spr :
|
|
|
|
span.programming-language.spr HTML
|
|
|
|
span.programming-language-label.spr /
|
|
|
|
span.programming-language JavaScript
|
|
|
|
else
|
|
|
|
span.programming-language-label(data-i18n='play_level.programming_language')
|
|
|
|
span.programming-language-label.spr :
|
|
|
|
span.programming-language= view.spell.displayCodeLanguage
|