mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
kickstarter celebration notification
This commit is contained in:
parent
8e39aa16c1
commit
7ce6ae3eee
2 changed files with 10 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ module.exports.app = (appExports, model) ->
|
|||
appExports.closeKickstarterNofitication = (e, el) ->
|
||||
user.set('flags.kickstarter', 'hide')
|
||||
|
||||
appExports.closeCelebrationNofitication = (e, el) ->
|
||||
user.set('flags.celebrationEvent', 'hide')
|
||||
|
||||
appExports.customizeGender = (e, el) ->
|
||||
user.set 'preferences.gender', $(el).attr('data-value')
|
||||
|
||||
|
|
|
|||
|
|
@ -225,6 +225,13 @@ do a find for the string after "→"
|
|||
</div>
|
||||
{/}
|
||||
|
||||
{#unless equal(_user.flags.celebrationEvent,'hide')}
|
||||
<div class='alert alert-success'>
|
||||
<a x-bind="click:closeCelebrationNofitication" class=pull-right>[x]</a>
|
||||
<i class='icon-facetime-video'></i> We did it! Let's have a celebration live-stream for making our <a target="_blank" href='http://www.kickstarter.com/projects/lefnire/197254176/'>Kickstarter</a> goal. Sun 2/17 5pm EST, details the <a target="_blank" href='https://plus.google.com/events/cd9hu45bvrgkb5qgra7q05bhnf4?enfplm'>G+ event</a>.
|
||||
</div>
|
||||
{/}
|
||||
|
||||
<Header:>
|
||||
<app:modalDialogs />
|
||||
<ui:connectionAlert>
|
||||
|
|
|
|||
Loading…
Reference in a new issue