diff --git a/app/templates/home-view.jade b/app/templates/home-view.jade index c2b35420f..8ad164d34 100644 --- a/app/templates/home-view.jade +++ b/app/templates/home-view.jade @@ -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