From 7ce6ae3eeecd0d68dc7fbe09f227e7617fc3361d Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 15 Feb 2013 19:24:03 -0500 Subject: [PATCH] kickstarter celebration notification --- src/app/character.coffee | 3 +++ views/app/index.html | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/src/app/character.coffee b/src/app/character.coffee index abd741743e..2f97987d49 100644 --- a/src/app/character.coffee +++ b/src/app/character.coffee @@ -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') diff --git a/views/app/index.html b/views/app/index.html index ff6b22dc69..e85f7a07b9 100644 --- a/views/app/index.html +++ b/views/app/index.html @@ -225,6 +225,13 @@ do a find for the string after "→" {/} + {#unless equal(_user.flags.celebrationEvent,'hide')} +
+ [x] + We did it! Let's have a celebration live-stream for making our Kickstarter goal. Sun 2/17 5pm EST, details the G+ event. +
+ {/} +