This commit is contained in:
Lai Tuan 2015-06-25 23:30:13 +09:00
parent 270340a79f
commit 29d19ffc37

View file

@ -17,7 +17,7 @@ block outer_content
.alert.alert-danger.lt-ie9
strong(data-i18n="home.no_ie") CodeCombat does not run in Internet Explorer 8 or older. Sorry!
if isMobile
if isIPadBrowser || isMobile
.alert.alert-danger.mobile
strong(data-i18n="home.no_mobile") CodeCombat wasn't designed for mobile devices and may not work!
else if isOldBrowser
@ -25,12 +25,10 @@ block outer_content
strong(data-i18n="home.old_browser") Uh oh, your browser is too old to run CodeCombat. Sorry!
br
span(data-i18n="home.old_browser_suffix") You can try anyway, but it probably won't work.
else if isIPadBrowser
.alert.alert-danger.ipad-browser
strong(data-i18n="home.ipad_browser") Bad news: CodeCombat doesn't run on iPad in the browser. Good news: our native iPad app is awaiting Apple approval.
block extra_footer_content
if explainHourOfCode
if explainHourOfCode
// Does not show up unless lang is en-US.
div.hour-of-code-explanation
| The 'Hour of Code' is a nationwide initiative by