2013-08-26 01:27:47 +00:00
|
|
|
.user-menu(ng-controller='AuthCtrl')
|
2014-01-14 17:50:06 +00:00
|
|
|
button.task-action-btn.tile.solid(ng-hide='authenticated()', style='cursor: pointer;', ng-click="modals.login = true")=env.t('loginAndReg')
|
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')
|
2013-09-01 23:41:17 +00:00
|
|
|
i.icon-ok
|
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')
|
2013-09-01 23:41:17 +00:00
|
|
|
i.icon.icon-wrench
|
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')
|
|
|
|
|
i.icon.icon-book
|
|
|
|
|
=env.t('FAQ')
|
|
|
|
|
li
|
|
|
|
|
a.task-action-btn.tile.solid(href="https://vimeo.com/57654086", target='_blank')
|
|
|
|
|
i.icon.icon-film
|
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()')
|
2013-09-01 23:41:17 +00:00
|
|
|
i.icon.icon-refresh
|
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()')
|
|
|
|
|
i.icon-share-alt
|
2014-01-14 17:50:06 +00:00
|
|
|
=env.t('logout')
|
2013-08-25 04:44:05 +00:00
|
|
|
// party invitation notification
|
|
|
|
|
a(ng-show='user.party.invitation', style='cursor: pointer;', x-bind='click:gotoPartyChat')
|
|
|
|
|
i.icon-user
|
|
|
|
|
// party chat notification
|
|
|
|
|
a(ng-show='newChatMessages(_party.chat,user.party.lastMessageSeen)', style='cursor: pointer;', x-bind='click:gotoPartyChat')
|
2014-01-14 17:50:06 +00:00
|
|
|
i.icon-comment(tooltip=env.t('partyNotification'))
|