Changed inbox text to use an env.t var

This commit is contained in:
Blade Barringer 2014-12-10 10:47:05 -06:00
parent 4af70a2a0f
commit 7fb1e69927
2 changed files with 6 additions and 3 deletions

View file

@ -94,7 +94,8 @@ 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')
| Inbox 
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
li(ng-class="{ active: $state.includes('options.social.tavern') }")
a(ui-sref='options.social.tavern')

View file

@ -26,7 +26,8 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
ul.toolbar-submenu
li
a(ui-sref='options.social.inbox')
| Inbox 
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
li
a(ui-sref='options.social.tavern')=env.t('tavern')
@ -101,7 +102,8 @@ nav.toolbar(ng-controller='AuthCtrl', ng-class='{active: isToolbarHidden}')
ul.toolbar-submenu(ng-click='expandMenu(null)')
li
a(ui-sref='options.social.inbox')
| Inbox 
=env.t("inbox")
|  
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
li
a(ui-sref='options.social.tavern')=env.t('tavern')