kickstarter celebration notification

This commit is contained in:
Tyler Renelle 2013-02-15 19:24:03 -05:00
parent 8e39aa16c1
commit 7ce6ae3eee
2 changed files with 10 additions and 0 deletions

View file

@ -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')

View file

@ -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>