feat(event): Card notifs

This commit is contained in:
Sabe Jones 2015-02-12 07:39:10 -06:00
parent 894b3bf15e
commit a5052b1f51
3 changed files with 10 additions and 3 deletions

View file

@ -202,6 +202,11 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
span {{v.name}}
a(ng-click='Groups.seenMessage(k)', popover=env.t('clear'),popover-placement='right',popover-trigger='mouseenter',popover-append-to-body='true')
span.glyphicon.glyphicon-remove-circle
li(ng-if='user.items.special.valentineReceived || user.items.special.nyeReceived')
a(ng-click='$state.go("options.inventory.drops"); expandMenu(null)')
span.glyphicon.glyphicon-envelope
span=env.t('holidayCard')
ul.toolbar-controls
//-li
//-a(ng-click='') Clear all

View file

@ -8,13 +8,15 @@ script(id='modals/valentine.html', type='text/ng-template')
.bg-info(style='padding:10px')
p To: {{user.profile.name}}, From: {{user.items.special.valentineReceived[0]}}
hr
ul.list-unstyled(ng-switch='::Math.floor(Math.random()*3)')
ul.list-unstyled(ng-switch='::Math.floor(Math.random()*4)')
li(ng-switch-when='0')
!=env.t('valentine0', {lineBreak:"<br>"})
li(ng-switch-when='1')
!=env.t('valentine1', {lineBreak:"<br>"})
li(ng-switch-default)
li(ng-switch-when='2')
!=env.t('valentine2', {lineBreak:"<br>"})
li(ng-switch-default)
!=env.t('valentine3', {lineBreak:"<br>"})
p
small For enduring such a saccharine poem, you both receive the "Adoring Friends" badge!
.modal-footer

View file

@ -26,7 +26,7 @@ mixin oldNews
tr
td
h5 Login Type Switching
p Want to change your email address, or switch from Facebook login to email login (or vice versa)? Good news! Now you can switch it yourself, under <a href='https://habitrpg.com/#/options/settings/settings' target='_blank'>Settings</a>!
p Want to change your email address, or switch from Facebook login to email login? Good news! Now you can switch it yourself, under <a href='https://habitrpg.com/#/options/settings/settings' target='_blank'>Settings</a>!
p.small.muted by Lefnire
h5 2/3/2015
tr