2015-07-12 18:51:42 +00:00
|
|
|
.container-fluid
|
|
|
|
|
.row
|
|
|
|
|
.col-md-2
|
|
|
|
|
.npc_ian
|
|
|
|
|
.col-md-10
|
|
|
|
|
.popover.static-popover.fade.right.in
|
|
|
|
|
.arrow
|
|
|
|
|
h3.popover-title=env.t('ian')
|
|
|
|
|
.popover-content
|
2015-07-14 22:34:01 +00:00
|
|
|
p=env.t('ianText')
|
2015-07-12 18:51:42 +00:00
|
|
|
.row
|
|
|
|
|
- var questCategories = {'unlockable':'unlockableQuests','pet':'petQuests','gold':'goldQuests'}
|
|
|
|
|
.col-md-6
|
|
|
|
|
h3.equipment-title=env.t('yourQuests')
|
|
|
|
|
menu.inventory-list
|
2015-07-08 21:13:23 +00:00
|
|
|
li.customize-menu
|
2015-07-12 18:51:42 +00:00
|
|
|
p.muted(ng-show='questCount < 1')=env.t('noScrolls')
|
2015-07-08 21:13:23 +00:00
|
|
|
each caption,type in questCategories
|
|
|
|
|
menu.pets-menu(label=env.t(caption))
|
2015-07-12 18:51:42 +00:00
|
|
|
div(ng-repeat='(quest_key,points) in ownedItems(user.items.quests)', ng-init='quest = Content.quests[quest_key]', ng-if='Content.quests[quest_key].category === "#{type}"')
|
|
|
|
|
button.customize-option(data-popover-html="{{::lockQuest(quest) ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-title='{{::quest.text()}}', popover-trigger='mouseenter', popover-placement='right', popover-append-to-body='true', ng-click='showQuest(quest_key)', ng-class='lockQuest(quest) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
|
|
|
|
.badge.badge-info.stack-count {{points}}
|
|
|
|
|
.col-md-6.border-left
|
|
|
|
|
li.customize-menu
|
|
|
|
|
h3.equipment-title=env.t('questsForSale')
|
|
|
|
|
each caption,type in questCategories
|
|
|
|
|
menu.pets-menu(label=env.t(caption))
|
|
|
|
|
div(ng-repeat='quest in Content.questsByLevel', ng-if='quest.canBuy && quest.category === "#{type}"')
|
|
|
|
|
button.customize-option(data-popover-html="{{::lockQuest(quest,true) ? env.t('scrollsPre') : questPopover(quest) | markdown}}", popover-title='{{::quest.text()}}', popover-append-to-body="true", popover-trigger='mouseenter', ng-click='buyQuest(quest.key)', ng-class='lockQuest(quest) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"')
|
|
|
|
|
p(ng-if='quest.unlockCondition')
|
|
|
|
|
| {{::quest.unlockCondition.text()}}
|
2015-07-13 23:21:32 +00:00
|
|
|
p(ng-if='!quest.unlockCondition && quest.category !== "gold" && !lockQuest(quest)')
|
2015-07-12 18:51:42 +00:00
|
|
|
| {{::quest.value}}
|
|
|
|
|
span.Pet_Currency_Gem1x.inline-gems
|
2015-07-13 23:21:32 +00:00
|
|
|
p(ng-if='quest.category === "gold" && !lockQuest(quest)')
|
|
|
|
|
| {{::quest.goldValue}}
|
2015-07-12 18:51:42 +00:00
|
|
|
span.shop_gold
|
|
|
|
|
p(ng-if='quest.lvl && lockQuest(quest)')=env.t('level')
|
|
|
|
|
| {{::quest.lvl}}
|