2013-08-26 01:27:47 +00:00
|
|
|
.user-menu(ng-controller='AuthCtrl')
|
2013-08-25 04:44:05 +00:00
|
|
|
ul.nav.site-nav(ng-show='authenticated()')
|
2013-11-02 03:15:04 +00:00
|
|
|
li.flyout
|
2013-10-29 01:20:21 +00:00
|
|
|
h1.task-action-btn.tile.solid.user-reporter {{user.profile.name}}
|
2013-08-25 04:44:05 +00:00
|
|
|
ul.flyout-content.nav.stacked
|
|
|
|
|
li
|
2013-10-23 14:38:05 +00:00
|
|
|
a.task-action-btn.tile.solid
|
2013-10-30 17:31:36 +00:00
|
|
|
span(ng-show='$state.includes("options")', ui-sref='tasks')
|
2014-01-31 18:47:48 +00:00
|
|
|
span.glyphicon.glyphicon-ok
|
2014-02-02 15:06:30 +00:00
|
|
|
|
|
2014-01-14 17:50:06 +00:00
|
|
|
=env.t('tasks')
|
2013-10-30 17:31:36 +00:00
|
|
|
span(ng-show='$state.includes("tasks")', ui-sref='options')
|
2014-01-31 19:04:40 +00:00
|
|
|
span.glyphicon.glyphicon-wrench
|
2014-02-02 15:06:30 +00:00
|
|
|
|
|
2014-01-14 17:50:06 +00:00
|
|
|
=env.t('options')
|
2014-01-19 20:24:54 +00:00
|
|
|
li
|
|
|
|
|
a.task-action-btn.tile.solid(href="http://habitrpg.wikia.com/wiki/FAQ", target='_blank')
|
2014-02-01 15:46:48 +00:00
|
|
|
span.glyphicon.glyphicon-book
|
2014-02-02 15:06:30 +00:00
|
|
|
|
|
2014-01-19 20:24:54 +00:00
|
|
|
=env.t('FAQ')
|
|
|
|
|
li
|
|
|
|
|
a.task-action-btn.tile.solid(href="https://vimeo.com/57654086", target='_blank')
|
2014-01-31 19:04:40 +00:00
|
|
|
span.glyphicon.glyphicon-film
|
2014-02-02 15:06:30 +00:00
|
|
|
//| Tutorials is too long to stay in the menu if we add a space
|
2014-01-24 21:49:36 +00:00
|
|
|
=env.t('tutorials')
|
2013-08-25 04:44:05 +00:00
|
|
|
li
|
2013-10-30 17:31:36 +00:00
|
|
|
a.task-action-btn.tile.solid(ng-click='User.sync()')
|
2014-01-31 19:04:40 +00:00
|
|
|
span.glyphicon.glyphicon-refresh
|
2014-02-02 15:06:30 +00:00
|
|
|
|
|
2014-01-14 17:50:06 +00:00
|
|
|
=env.t('sync')
|
2013-09-01 23:41:17 +00:00
|
|
|
li
|
|
|
|
|
a.task-action-btn.tile.solid(ng-click='logout()')
|
2014-01-31 18:47:48 +00:00
|
|
|
span.glyphicon.glyphicon-share-alt
|
2014-02-02 15:06:30 +00:00
|
|
|
|
|
2014-01-14 17:50:06 +00:00
|
|
|
=env.t('logout')
|
2013-08-25 04:44:05 +00:00
|
|
|
// party invitation notification
|
2014-02-09 15:16:43 +00:00
|
|
|
a(ng-show='user.party.invitation', x-bind='click:gotoPartyChat')
|
2014-01-31 18:47:48 +00:00
|
|
|
span.glyphicon.glyphicon-user
|
2013-08-25 04:44:05 +00:00
|
|
|
// party chat notification
|
2014-02-09 15:16:43 +00:00
|
|
|
a(ng-show='newChatMessages(_party.chat,user.party.lastMessageSeen)', x-bind='click:gotoPartyChat')
|
2014-01-31 18:47:48 +00:00
|
|
|
span.glyphicon.glyphicon-comment(tooltip=env.t('partyNotification'))
|