add multiplier "new feature" alert

This commit is contained in:
Tyler Renelle 2013-03-03 22:06:34 -05:00
parent d925c43c7b
commit 1bd067f32f
2 changed files with 9 additions and 0 deletions

View file

@ -63,6 +63,9 @@ module.exports.app = (appExports, model) ->
appExports.closeOnliesNotification = (e, el) ->
user.set('flags.onliesNotification', 'hide')
appExports.closeMultiplierNotification = (e, el) ->
user.set('flags.multiplierNotification', 'hide')
appExports.customizeGender = (e, el) ->
user.set 'preferences.gender', $(el).attr('data-value')

View file

@ -22,5 +22,11 @@
 chime in with your recommendations on this mechanic.
</p>
</div>
{/}
{#if equal(_user.flags.multiplierNotification, 'show')}
<div class='alert alert-success'>
<a x-bind="click:closeMultiplierNotification" class=pull-right>[x]</a>
<p>New Feature: Priority Multiplier! You can now multiply "more important" tasks on a 1x, 2x, or 3x scale. <a target="_blank" href="https://trello.com/card/priority-multiplier/50e5d3684fe3a7266b0036d6/17">See details</a>.</p>
</div>
{/}