2015-07-20 00:08:48 +00:00
|
|
|
nav.toolbar(ng-controller='MenuCtrl')
|
|
|
|
|
.toolbar-container
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-mobile-nav
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-mobile(dropdown)
|
|
|
|
|
a(dropdown-toggle, menu='mobile')
|
2015-03-14 14:57:30 +00:00
|
|
|
span.glyphicon.glyphicon-align-justify
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2014-05-02 18:49:18 +00:00
|
|
|
h4=env.t('menu')
|
|
|
|
|
div
|
|
|
|
|
ul.toolbar-submenu
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='tasks')=env.t('tasks')
|
|
|
|
|
ul.toolbar-submenu
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.avatar')=env.t('avatar')
|
2014-06-09 18:59:20 +00:00
|
|
|
li
|
2014-06-10 23:24:06 +00:00
|
|
|
a(ui-sref='options.profile.backgrounds')=env.t('backgrounds')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.stats')=env.t('stats')
|
2016-09-13 03:04:47 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.achievements')=env.t('achievs')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.profile')=env.t('profile')
|
|
|
|
|
ul.toolbar-submenu
|
2014-11-27 10:32:57 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.inbox')
|
2015-04-25 15:49:00 +00:00
|
|
|
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
|
2015-08-31 23:54:06 +00:00
|
|
|
=env.t('inbox')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.tavern')=env.t('tavern')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.party')=env.t('party')
|
|
|
|
|
li
|
2014-12-15 02:10:42 +00:00
|
|
|
a(ui-sref='options.social.guilds.public')=env.t('guilds')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.challenges')=env.t('challenges')
|
|
|
|
|
li
|
2014-12-15 02:10:42 +00:00
|
|
|
a(ui-sref='options.social.hall.heroes')=env.t('hall')
|
2016-12-21 19:45:45 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.groupPlans')=env.t('groupPlansTitle')
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-submenu
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.drops')=env.t('market')
|
2015-07-08 21:13:23 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.quests')=env.t('quests')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.pets')=env.t('pets')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.mounts')=env.t('mounts')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.equipment')=env.t('equipment')
|
2014-11-29 02:24:56 +00:00
|
|
|
li
|
2014-12-14 19:53:00 +00:00
|
|
|
a(ui-sref='options.inventory.timetravelers')=env.t('timeTravelers')
|
2014-12-14 20:01:25 +00:00
|
|
|
li
|
2014-12-14 20:05:43 +00:00
|
|
|
a(ui-sref='options.inventory.seasonalshop')=env.t('seasonalShop')
|
2014-11-27 10:32:57 +00:00
|
|
|
ul.toolbar-submenu
|
|
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' ng-href='http://data.habitrpg.com?uuid={{user._id}}')=env.t('dataTool')
|
2014-11-27 10:32:57 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.export')=env.t('exportData')
|
2014-09-05 10:57:44 +00:00
|
|
|
ul.toolbar-submenu
|
2015-09-04 19:05:15 +00:00
|
|
|
li
|
2015-09-04 19:12:17 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/static/faq/')=env.t('FAQ')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-11-04 03:26:47 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/static/overview')=env.t('overview')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2016-06-01 22:12:02 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/#/options/groups/guilds/a29da26b-37de-4a71-b0c6-48e72a900dac')=env.t('reportBug')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a')=env.t('askQuestion')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' href='https://trello.com/c/odmhIqyW/440-read-first-table-of-contents')=env.t('requestAF')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2016-09-29 11:57:44 +00:00
|
|
|
a(target='_blank' href=env.t('conLearnURL'))=env.t('contributeToHRPG')
|
2016-01-15 17:48:16 +00:00
|
|
|
li
|
|
|
|
|
a(target='_blank' href=env.t('HabiticaWikiFrontPage'))=env.t('HabiticaWiki')
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-controls
|
|
|
|
|
li.toolbar-subscribe-button
|
|
|
|
|
button(ng-if='!user.purchased.plan.customerId',ui-sref='options.settings.subscription',popover-trigger='mouseenter',popover-placement='bottom',popover-title=env.t('subscriptions'),popover=env.t('subDescription'),popover-append-to-body='true')=env.t('subscribe')
|
|
|
|
|
li.toolbar-controls-button
|
2017-05-24 16:12:38 +00:00
|
|
|
a=env.t('close')
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-nav
|
|
|
|
|
li.toolbar-button
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ui-sref='tasks')
|
2014-05-02 18:49:18 +00:00
|
|
|
span=env.t('tasks')
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-button-dropdown(dropdown)
|
|
|
|
|
a(ui-sref='options.profile.avatar')
|
2014-05-02 18:49:18 +00:00
|
|
|
span=env.t('user')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(dropdown-toggle)
|
2014-05-02 18:49:18 +00:00
|
|
|
span ☰
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.avatar')=env.t('avatar')
|
2014-06-09 18:59:20 +00:00
|
|
|
li
|
2014-06-10 23:24:06 +00:00
|
|
|
a(ui-sref='options.profile.backgrounds')=env.t('backgrounds')
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.stats')=env.t('stats')
|
2016-09-13 03:04:47 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.profile.achievements')=env.t('achievs')
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
2015-06-29 13:58:51 +00:00
|
|
|
a(ui-sref='options.profile.profile')=env.t('profile')
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-button-dropdown(dropdown)
|
2015-04-23 00:29:24 +00:00
|
|
|
a(ui-sref='options.social.inbox', ng-if='user.inbox.newMessages')
|
|
|
|
|
span.badge.badge-danger {{user.inbox.newMessages}}
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ui-sref='options.social.tavern')
|
2014-05-02 18:49:18 +00:00
|
|
|
span=env.t('social')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(dropdown-toggle)
|
2014-05-02 18:49:18 +00:00
|
|
|
span ☰
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-11-27 10:32:57 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.inbox')
|
2015-04-25 16:08:48 +00:00
|
|
|
span.badge.badge-danger(ng-if='user.inbox.newMessages') {{user.inbox.newMessages}}
|
2015-04-23 00:29:24 +00:00
|
|
|
=env.t("inbox")
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.tavern')=env.t('tavern')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.party')=env.t('party')
|
|
|
|
|
li
|
2014-12-15 02:07:46 +00:00
|
|
|
a(ui-sref='options.social.guilds.public')=env.t('guilds')
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.challenges')=env.t('challenges')
|
|
|
|
|
li
|
2014-12-15 02:10:42 +00:00
|
|
|
a(ui-sref='options.social.hall.heroes')=env.t('hall')
|
2016-12-21 19:45:45 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.social.groupPlans')=env.t('groupPlansTitle')
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-button-dropdown(dropdown)
|
|
|
|
|
a(ui-sref='options.inventory.drops')
|
2014-05-02 18:49:18 +00:00
|
|
|
span=env.t('inventory')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(dropdown-toggle)
|
2014-05-02 18:49:18 +00:00
|
|
|
span ☰
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.drops')=env.t('market')
|
2015-07-08 21:13:23 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.quests')=env.t('quests')
|
2014-04-23 17:39:46 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.pets')=env.t('pets')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.mounts')=env.t('mounts')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.equipment')=env.t('equipment')
|
2014-11-29 02:24:56 +00:00
|
|
|
li
|
2014-12-14 20:10:39 +00:00
|
|
|
a(ui-sref='options.inventory.timetravelers')=env.t('timeTravelers')
|
2014-12-14 20:12:20 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.inventory.seasonalshop')=env.t('seasonalShop')
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-button-dropdown(dropdown)
|
|
|
|
|
a(target='_blank' ng-href='http://data.habitrpg.com?uuid={{user._id}}')
|
2014-11-27 10:32:57 +00:00
|
|
|
span=env.t('data')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(dropdown-toggle)
|
2014-11-27 10:32:57 +00:00
|
|
|
span ☰
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-11-27 10:32:57 +00:00
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' ng-href='http://data.habitrpg.com?uuid={{user._id}}')=env.t('dataTool')
|
2014-11-27 10:32:57 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.export')=env.t('exportData')
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-button-dropdown.highlight(dropdown)
|
2015-09-04 19:12:17 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/static/faq/')
|
2015-06-14 04:16:12 +00:00
|
|
|
span.glyphicon.glyphicon-question-sign
|
2014-09-05 10:57:44 +00:00
|
|
|
span=env.t('help')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(dropdown-toggle)
|
2014-09-05 10:57:44 +00:00
|
|
|
span ☰
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2015-09-04 19:05:15 +00:00
|
|
|
li
|
2015-09-04 19:12:17 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/static/faq/')=env.t('FAQ')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-11-04 03:26:47 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/static/overview')=env.t('overview')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2016-06-01 22:12:02 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/#/options/groups/guilds/a29da26b-37de-4a71-b0c6-48e72a900dac')=env.t('reportBug')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' href='https://habitica.com/#/options/groups/guilds/5481ccf3-5d2d-48a9-a871-70a7380cee5a')=env.t('askQuestion')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2015-08-31 23:54:06 +00:00
|
|
|
a(target='_blank' href='https://trello.com/c/odmhIqyW/440-read-first-table-of-contents')=env.t('requestAF')
|
2014-09-05 10:57:44 +00:00
|
|
|
li
|
2016-09-29 11:57:44 +00:00
|
|
|
a(target='_blank' href=env.t('conLearnURL'))=env.t('contributeToHRPG')
|
2016-01-15 17:48:16 +00:00
|
|
|
li
|
|
|
|
|
a(target='_blank' href=env.t('HabiticaWikiFrontPage'))=env.t('HabiticaWiki')
|
2014-06-09 18:59:20 +00:00
|
|
|
ul.toolbar-subscribe(ng-if='!user.purchased.plan.customerId')
|
2014-05-02 18:49:18 +00:00
|
|
|
li.toolbar-subscribe-button
|
2015-06-14 04:16:12 +00:00
|
|
|
button.highlight(ui-sref='options.settings.subscription',popover-trigger='mouseenter',popover-placement='bottom',popover-title=env.t('subscriptions'),popover=env.t('subDescription'),popover-append-to-body='true')=env.t('subscribe')
|
2015-06-29 13:58:51 +00:00
|
|
|
ul.toolbar-options
|
2016-08-31 01:22:53 +00:00
|
|
|
li.toolbar-quest-detail(ng-if='hasQuestProgress()')
|
|
|
|
|
a(ng-click='$state.go("options.social.party");', popover-placement='bottom',popover-trigger='mouseenter',popover-title='{{getQuestInfo().title}}', popover='{{getQuestInfo().body}}',popover-append-to-body='true')
|
|
|
|
|
span.glyphicon.glyphicon-screenshot
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-notifs(dropdown)
|
|
|
|
|
a(dropdown-toggle)
|
2014-10-04 09:56:56 +00:00
|
|
|
span.glyphicon(ng-class='iconClasses()')
|
2016-07-03 00:38:38 +00:00
|
|
|
span.notification-counter(ng-if='getNotificationsCount()') {{getNotificationsCount()}}
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2014-05-02 18:49:18 +00:00
|
|
|
h4=env.t('notifications')
|
|
|
|
|
div
|
|
|
|
|
ul.toolbar-notifs-notifs
|
2014-10-04 09:56:56 +00:00
|
|
|
li.toolbar-notifs-no-messages(ng-if='hasNoNotifications()')=env.t('noNotifications')
|
2014-05-02 18:49:18 +00:00
|
|
|
li(ng-if='user.purchased.plan.mysteryItems.length')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ng-click='$state.go("options.inventory.drops"); ')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-gift
|
|
|
|
|
span=env.t('newSubscriberItem')
|
|
|
|
|
li(ng-if='user.invitations.party.id')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ui-sref='options.social.party')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-user
|
|
|
|
|
span=env.t('invitedTo', {name: '{{user.invitations.party.name}}'})
|
2015-08-13 19:31:34 +00:00
|
|
|
li(ng-if='user.flags.cardReceived')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ng-click='$state.go("options.inventory.drops"); ')
|
2015-08-13 19:31:34 +00:00
|
|
|
span.glyphicon.glyphicon-envelope
|
|
|
|
|
span=env.t('cardReceived')
|
|
|
|
|
a(ng-click='clearCards()', popover=env.t('clear'),popover-placement='right',popover-trigger='mouseenter',popover-append-to-body='true')
|
|
|
|
|
span.glyphicon.glyphicon-remove-circle
|
2014-05-02 18:49:18 +00:00
|
|
|
li(ng-repeat='guild in user.invitations.guilds')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ui-sref='options.social.guilds.public')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-user
|
|
|
|
|
span=env.t('invitedTo', {name: '{{guild.name}}'})
|
2014-10-04 11:57:30 +00:00
|
|
|
li(ng-if='user.flags.classSelected && !user.preferences.disableClasses && user.stats.points')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ui-sref='options.profile.stats')
|
2014-10-04 11:57:30 +00:00
|
|
|
span.glyphicon.glyphicon-plus-sign
|
|
|
|
|
span=env.t('haveUnallocated', {points: '{{user.stats.points}}'})
|
2014-05-02 18:49:18 +00:00
|
|
|
li(ng-repeat='(k,v) in user.newMessages', ng-if='v.value')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ng-click='(k === party._id || k === user.party._id) ? $state.go("options.social.party") : $state.go("options.social.guilds.detail",{gid:k}); ')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-comment
|
|
|
|
|
span {{v.name}}
|
2015-06-29 13:58:51 +00:00
|
|
|
a(ng-click='clearMessages(k)', popover=env.t('clear'),popover-placement='right',popover-trigger='mouseenter',popover-append-to-body='true')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-remove-circle
|
2016-11-12 22:47:45 +00:00
|
|
|
li(ng-repeat='notification in user.groupNotifications')
|
2017-05-24 16:12:38 +00:00
|
|
|
a(ng-click='viewGroupApprovalNotification(notification, $index, true)')
|
2016-11-12 22:47:45 +00:00
|
|
|
span(class="{{::groupApprovalNotificationIcon(notification)}}")
|
|
|
|
|
span
|
|
|
|
|
| {{notification.data.message}}
|
2017-04-25 14:28:56 +00:00
|
|
|
a(ng-click='viewGroupApprovalNotification(notification, $index)',
|
|
|
|
|
popover=env.t('clear'),
|
|
|
|
|
popover-placement='right',
|
|
|
|
|
popover-trigger='mouseenter',
|
|
|
|
|
popover-append-to-body='true')
|
|
|
|
|
span.glyphicon.glyphicon-remove-circle
|
2015-02-12 13:39:10 +00:00
|
|
|
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-controls
|
|
|
|
|
li.toolbar-controls-button
|
2017-05-24 16:12:38 +00:00
|
|
|
a=env.t('close')
|
|
|
|
|
li.toolbar-audio(dropdown)
|
|
|
|
|
a(dropdown-toggle)
|
2015-08-31 23:59:01 +00:00
|
|
|
span.glyphicon(ng-class="{'glyphicon-volume-off':user.preferences.sound === 'off', 'glyphicon-volume-up':user.preferences.sound!='off'}")
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu(style='min-width:150px')
|
2014-08-16 00:13:59 +00:00
|
|
|
h4=env.t('audioTheme')
|
2014-08-08 14:37:04 +00:00
|
|
|
div
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-08-16 00:13:59 +00:00
|
|
|
// Using [{k,v}] instead of {k:v,k:v} to maintain order ('off' at top)
|
2016-11-16 10:11:22 +00:00
|
|
|
for theme in ['off', 'danielTheBard', 'gokulTheme', 'luneFoxTheme', 'wattsTheme', 'rosstavoTheme', 'dewinTheme', 'airuTheme']
|
2014-08-16 00:13:59 +00:00
|
|
|
li
|
2016-08-04 22:53:21 +00:00
|
|
|
a(ng-class="{'bg-info':user.preferences.sound === '#{theme}'}", ng-click="set({'preferences.sound':'#{theme}'})")=env.t('audioTheme_'+theme)
|
2015-08-15 05:21:17 +00:00
|
|
|
ul.toolbar-controls
|
|
|
|
|
li.toolbar-controls-button
|
2017-05-24 16:12:38 +00:00
|
|
|
a=env.t('close')
|
2014-08-16 00:13:59 +00:00
|
|
|
|
2014-08-09 07:58:49 +00:00
|
|
|
li.toolbar-sync
|
|
|
|
|
a(ng-click='User.sync()', popover=env.t('sync'),popover-placement='bottom',popover-trigger='mouseenter')
|
|
|
|
|
span.glyphicon.glyphicon-refresh
|
2017-05-24 16:12:38 +00:00
|
|
|
li.toolbar-settings(dropdown)
|
|
|
|
|
a(dropdown-toggle)
|
2014-05-02 18:49:18 +00:00
|
|
|
span.glyphicon.glyphicon-cog
|
2017-05-24 16:12:38 +00:00
|
|
|
div.dropdown-menu
|
2014-05-02 18:49:18 +00:00
|
|
|
h4=env.t('settings')
|
|
|
|
|
div
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ng-click='logout()')=env.t('logout')
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.settings')=env.t('site')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.api')=env.t('API')
|
|
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.export')=env.t('export')
|
|
|
|
|
li
|
2015-05-09 02:24:57 +00:00
|
|
|
a(ui-sref='options.settings.promo')=env.t('promoCode')
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.subscription')=env.t('subscription')
|
2015-01-27 14:43:21 +00:00
|
|
|
li
|
|
|
|
|
a(ui-sref='options.settings.notifications')=env.t('notifications')
|
2015-08-19 13:53:51 +00:00
|
|
|
ul.toolbar-submenu
|
2014-05-02 18:49:18 +00:00
|
|
|
li
|
2015-09-04 19:05:15 +00:00
|
|
|
a(href='https://habitica.com/static/faq', target='_blank')=env.t('FAQ')
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-controls
|
|
|
|
|
li.toolbar-controls-button
|
2017-05-24 16:12:38 +00:00
|
|
|
a=env.t('close')
|
2014-05-02 18:49:18 +00:00
|
|
|
ul.toolbar-wallet
|
2015-04-26 02:53:00 +00:00
|
|
|
li.toolbar-gems(popover-trigger='mouseenter', popover-title=env.t('gemsPopoverTitle'), popover=env.t('gemsWhatFor'), popover-placement='bottom',popover-append-to-body='true')
|
|
|
|
|
a.gem-wallet(ng-click='openModal("buyGems",{track:"Gems > Toolbar"})')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.Pet_Currency_Gem2x.Gems
|
|
|
|
|
span.gem-text {{user.balance * 4 | number:0}}
|
2014-05-12 20:19:15 +00:00
|
|
|
li.toolbar-currency.gold(popover=env.t('gold') + ' ({{Shared.gold(user.stats.gp)}})', popover-placement='bottom',popover-trigger='mouseenter')
|
2014-05-02 18:49:18 +00:00
|
|
|
span.shop_gold
|
2015-06-13 17:39:11 +00:00
|
|
|
span {{Shared.gold(user.stats.gp) | roundLargeNumbers}}
|
2014-05-02 18:49:18 +00:00
|
|
|
li.toolbar-currency.silver(popover=env.t('silver'), popover-placement='bottom',popover-trigger='mouseenter')
|
|
|
|
|
span.shop_silver
|
|
|
|
|
span {{Shared.silver(user.stats.gp)}}
|
2015-03-24 21:41:02 +00:00
|
|
|
|
2015-08-26 20:32:59 +00:00
|
|
|
ul.toolbar-bailey(ng-class='{inactive: !_expandedMenu.menu}')
|
2015-03-24 21:41:02 +00:00
|
|
|
li.toolbar-bailey-container(ng-if='user.flags.tour.intro!=-2')
|
2016-09-09 01:23:49 +00:00
|
|
|
.npc_justin_head.npc_bailey_head(popover='Continue Tour', popover-trigger='mouseenter', popover-placement='bottom', ng-click='Guide.goto("intro", user.flags.tour.intro + 1, true)')
|
2015-03-24 21:41:02 +00:00
|
|
|
|
2015-08-26 20:32:59 +00:00
|
|
|
ul.toolbar-bailey(ng-class='{inactive: !_expandedMenu.menu}')
|
2014-05-02 18:49:18 +00:00
|
|
|
li.toolbar-bailey-container(ng-if='user.flags.newStuff')
|
2016-03-31 23:38:43 +00:00
|
|
|
div(class="#{env.worldDmg.bailey ? 'npc_bailey_broken' : 'npc_bailey'}" popover=env.t('psst'), popover-trigger='mouseenter', popover-placement='right', ng-click='openModal("newStuff",{size:"lg"})').npc_bailey_head
|