2013-10-28 05:27:07 +00:00
|
|
|
include ./profile
|
2013-10-31 21:37:04 +00:00
|
|
|
include ./social/index
|
2013-10-28 05:27:07 +00:00
|
|
|
include ./inventory/index
|
|
|
|
|
include ./settings
|
2013-11-06 23:49:41 +00:00
|
|
|
include ./admin
|
2013-10-28 05:27:07 +00:00
|
|
|
|
|
|
|
|
script(id='partials/options.html', type="text/ng-template")
|
2013-10-27 00:23:52 +00:00
|
|
|
.grid
|
|
|
|
|
.module.full-width
|
|
|
|
|
span.option-box.pull-right.wallet
|
|
|
|
|
include ../shared/gems
|
|
|
|
|
|
|
|
|
|
ul.nav.nav-tabs
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.profile') }")
|
|
|
|
|
a(ui-sref='options.profile')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-user
|
|
|
|
|
| Profile
|
2013-10-31 21:37:04 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.social') }")
|
|
|
|
|
a(ui-sref='options.social')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-heart
|
2013-10-31 21:37:04 +00:00
|
|
|
| Social
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.inventory') }", ng-if='user.flags.dropsEnabled')
|
|
|
|
|
a(ui-sref='options.inventory')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-gift
|
|
|
|
|
| Inventory
|
2013-10-28 05:27:07 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.settings') }")
|
|
|
|
|
a(ui-sref='options.settings')
|
2013-10-27 00:23:52 +00:00
|
|
|
i.icon-wrench
|
|
|
|
|
| Settings
|
2013-11-06 23:49:41 +00:00
|
|
|
li(ng-class="{ active: $state.includes('options.admin') }", ng-if='user.contributor.admin')
|
|
|
|
|
a(ui-sref='options.admin')
|
|
|
|
|
i.icon-cog
|
|
|
|
|
| Admin
|
2013-10-27 00:23:52 +00:00
|
|
|
|
|
|
|
|
.tab-content
|
2013-10-28 05:27:07 +00:00
|
|
|
.tab-pane.active
|
|
|
|
|
div(ui-view)
|