feat(premium): mystery item notif in toolbar

This commit is contained in:
Tyler Renelle 2014-02-22 21:00:10 -08:00
parent 91d8ebad6d
commit a1e66ab99e
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
db.users.update(
// {'purchased.plan.customerId':{$ne:null}},
{_id:'9'},
{'purchased.plan.customerId':{$ne:null}},
// {_id:'9'},
{$push: {'purchased.plan.mysteryItems':{$each:['armor_mystery_201402','head_mystery_201402','back_mystery_201402']}}},
{multi:true}
)

View file

@ -120,5 +120,9 @@ nav.navbar.navbar-inverse(ng-controller='AuthCtrl',style='min-height:0px;margin-
li(ng-repeat='(k,v) in user.newMessages', ng-if='v.value')
a(ng-click='k==party._id ? $state.go("options.social.party") : $state.go("options.social.guilds.detail",{gid:k})')
span.glyphicon.glyphicon-comment.white(popover=env.t('newMsg', {name: '{{v.name}}'}),popover-placement='bottom',popover-trigger='mouseenter',popover-append-to-body='true')
// Mystery Item
li(ng-if='user.purchased.plan.mysteryItems.length')
a(ng-click='$state.go("options.inventory.drops")')
span.glyphicon.glyphicon-gift.white(popover="New Mystery Items",popover-placement='bottom',popover-trigger='mouseenter',popover-append-to-body='true')