diff --git a/src/app/index.coffee b/src/app/index.coffee index 5ce8ca10bb..ae8460665a 100644 --- a/src/app/index.coffee +++ b/src/app/index.coffee @@ -69,9 +69,11 @@ get '/:uid?', (page, model, {uid}, next) -> # also update in scoring.coffee. TODO create a function accessible in both locations (lvl*100)/5 - # ========== KickStarter Campaign Notifiation ========== + # ========== Notifiations ========== unless model.get('_user.notifications.kickstarter') model.set('_user.notifications.kickstarter', 'show') + unless model.get('_user.flags.aws_migrating') + model.set('_user.flags.aws_migrating', 'show') # Render Page page.render() @@ -295,6 +297,8 @@ ready (model) -> exports.closeKickstarterNofitication = (e, el) -> model.set('_user.notifications.kickstarter', 'hide') + exports.closeAwsNotification = (e, el) -> + model.set('_user.flags.aws_migrating', 'hide') # ========== CRON ========== diff --git a/views/app/index.html b/views/app/index.html index 62690ac735..0089ae6b20 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -123,6 +123,13 @@ {/} + {#if equal(_user.flags.aws_migrating,'show')} +
+ Dismiss + Hey guys, Tyler here. Working on migrating to AWS to fix the "Offline" error people are experiencing (follow issue here. Hang tight. +
+ {/} +
{#unless _loggedIn} Login / Register