Added button for jumping to inbox

This commit is contained in:
Blade Barringer 2015-04-22 19:29:24 -05:00
parent d872682846
commit 8cec2da905
3 changed files with 9 additions and 8 deletions

View file

@ -98,7 +98,7 @@ $hrpg-button-toggle
border-radius: 0.382em !important
> a:first-of-type
border-radius: 0.382em 0em 0em 0.382em !important
> a:nth-of-type(2)
> a:last-of-type
border-radius: 0em 0.382em 0.382em 0em !important
// Input + Button
$hrpg-button-with-input

View file

@ -91,9 +91,9 @@ script(type='text/ng-template', id='partials/options.social.html')
ul.options-menu
li(ng-class="{ active: $state.includes('options.social.inbox') }")
a(ui-sref='options.social.inbox')
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
|  
=env.t("inbox")
li(ng-class="{ active: $state.includes('options.social.tavern') }")
a(ui-sref='options.social.tavern')
=env.t('tavern')

View file

@ -26,9 +26,9 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
ul.toolbar-submenu
li
a(ui-sref='options.social.inbox')
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
|  
=env.t("inbox")
li
a(ui-sref='options.social.tavern')=env.t('tavern')
li
@ -95,18 +95,19 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
li
a(ui-sref='options.profile.profile')=env.t('profile')
li.toolbar-button-dropdown
a(ui-sref='options.social.inbox', ng-if='user.inbox.newMessages')
span.badge.badge-danger {{user.inbox.newMessages}}
a(ui-sref='options.social.tavern')
span=env.t('social')
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
a(ng-click='expandMenu("social")', ng-class='{active: _expandedMenu == "social"}')
span ☰
div(ng-if='_expandedMenu == "social"')
ul.toolbar-submenu(ng-click='expandMenu(null)')
li
a(ui-sref='options.social.inbox')
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
|  
=env.t("inbox")
li
a(ui-sref='options.social.tavern')=env.t('tavern')
li