mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 23:40:25 +00:00
add multiplier "new feature" alert
This commit is contained in:
parent
d925c43c7b
commit
1bd067f32f
2 changed files with 9 additions and 0 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
{/}
|
||||
Loading…
Reference in a new issue