diff --git a/src/app/character.coffee b/src/app/character.coffee index 7595f386d4..9478e09768 100644 --- a/src/app/character.coffee +++ b/src/app/character.coffee @@ -61,14 +61,8 @@ module.exports.app = (appExports, model) -> batch.commit() browser.resetDom(model) - appExports.closeAlgosNotification = (e, el) -> - user.set('flags.algosNotification', 'hide') - - appExports.closeOnliesNotification = (e, el) -> - user.set('flags.onliesNotification', 'hide') - - appExports.closePriorityNotification = (e, el) -> - user.set('flags.priorityNotification', 'hide') + appExports.closeNewStuff = (e, el) -> + user.set('flags.newStuff', 'hide') appExports.customizeGender = (e, el) -> user.set 'preferences.gender', $(el).attr('data-value') diff --git a/styles/app/alerts.styl b/styles/app/alerts.styl index 4cf63147c9..69c57453c6 100644 --- a/styles/app/alerts.styl +++ b/styles/app/alerts.styl @@ -1,3 +1,19 @@ +.new-stuff + position: fixed + text-align: center + top: 0 + left: 0 + width: 100% + height: 0 + z-index: 1020 + +.new-stuff> .alert + border-top: 0 + border-radius: 0 0 4px 4px + padding-right: 14px + display: inline-block + + // variables gpColor = #FBEFC0 diff --git a/views/app/alerts.html b/views/app/alerts.html index 55ad0571e8..ee1fbc0a15 100644 --- a/views/app/alerts.html +++ b/views/app/alerts.html @@ -1,32 +1,16 @@ - + + {#if equal(_user.flags.newStuff,'show')} +
+

+ New Stuff! +

+ +
+ {/} + + {#if _flash.error}
    {#each _flash.error as :error}
  • {:error}
  • {/}
- {/} - - {#if equal(_user.flags.algosNotification,'show')} -
- [x] -

New features! Custom day start, new and better algorithms, authentication enhancements. See details here. -  "Hey, I had more Exp before this roll-out!" Restore your Exp here.

-
- {/} - - {#if equal(_user.flags.onliesNotification, 'show')} -
- [x] -

- "Onlies" now gain / lose value just like other habits, and are reset back to 0 at the beginning of each day. -  See details here, and -  chime in with your recommendations on this mechanic. -

-
- {/} - - {#if equal(_user.flags.priorityNotification, 'show')} -
- [x] -

New Feature: Priority Multiplier! You can now multiply "more important" tasks on a 1x, 1.5x, or 2x scale. See details.

-
{/} \ No newline at end of file diff --git a/views/app/index.html b/views/app/index.html index 6a88e40aab..2f60f1a6a9 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -25,6 +25,7 @@ +