mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-15 12:07:43 +00:00
feat(premium): mystery item notif in toolbar
This commit is contained in:
parent
91d8ebad6d
commit
a1e66ab99e
2 changed files with 6 additions and 2 deletions
|
|
@ -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}
|
||||
)
|
||||
|
|
@ -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')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue