mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-31 19:20:25 +00:00
remove kickstarter notification stuff
This commit is contained in:
parent
7fe4f06f0c
commit
eee1983769
2 changed files with 0 additions and 27 deletions
|
|
@ -57,9 +57,6 @@ module.exports.app = (appExports, model) ->
|
|||
batch.commit()
|
||||
browser.resetDom(model)
|
||||
|
||||
appExports.closeKickstarterNofitication = (e, el) ->
|
||||
user.set('flags.kickstarter', 'hide')
|
||||
|
||||
appExports.closeCelebrationNofitication = (e, el) ->
|
||||
user.set('flags.celebrationEvent', 'hide')
|
||||
|
||||
|
|
@ -107,7 +104,6 @@ userSchema =
|
|||
flags:
|
||||
partyEnabled: false
|
||||
itemsEnabled: false
|
||||
kickstarter: 'show'
|
||||
# ads: 'show' # added on registration
|
||||
|
||||
module.exports.newUserObject = ->
|
||||
|
|
|
|||
|
|
@ -3,27 +3,4 @@
|
|||
<ul class="alert alert-error">
|
||||
{#each _flash.error as :error}<li>{:error}</li>{/}
|
||||
</ul>
|
||||
{/}
|
||||
|
||||
{#if equal(_user.flags.kickstarter,'show')}
|
||||
<div class='alert alert-success'>
|
||||
<a x-bind="click:closeKickstarterNofitication" class=pull-right>[x]</a>
|
||||
|
||||
<table><tr>
|
||||
<td>
|
||||
Hi everyone, last stretch of the <a target="_blank" href="http://kck.st/XoA3Yg">Kickstarter</a>! Let's get a <a target="_blank" href="http://www.kickstarter.com/projects/lefnire/habitrpg-mobile/posts/403016">ton</a> of new features plus mobile apps. With ~25k registered users, if everyone backs $1 we can do it! Help spread the word:
|
||||
</td>
|
||||
<td>
|
||||
<div class="addthis_toolbox addthis_default_style "
|
||||
addthis:url="https://habitrpg.com"
|
||||
addthis:title="HabitRPG - Gamify Your Life">
|
||||
<a class="addthis_button_facebook"></a>
|
||||
<a class="addthis_button_twitter" tw:via="habitrpg"></a>
|
||||
<a class="addthis_button_compact"></a>
|
||||
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
|
||||
</div>
|
||||
</td>
|
||||
</tr></table>
|
||||
|
||||
</div>
|
||||
{/}
|
||||
Loading…
Reference in a new issue