Use new content for mixin

This commit is contained in:
Blade Barringer 2015-08-17 21:51:08 -05:00
parent f792155b45
commit ba2988ac98

View file

@ -18,12 +18,12 @@ mixin previewMarkdown(text)
.panel-body.markdown-preview
markdown(text='#{text}')
mixin ownedQuests(popoverAppend,popoverPlacement)
mixin ownedQuests(popoverAppend, popoverPlacement)
menu.inventory-list
li.customize-menu
p.muted(ng-show='questCount < 1')=env.t('noScrolls')
div(ng-repeat='(type,caption) in Content.questCategories')
menu.pets-menu(ng-if='Shared.count.questsOfCategory(user.items.quests,type) > 0', label='{{env.t(caption)}}')
div(ng-repeat='type in Content.userCanOwnQuestCategories track by $index')
menu.pets-menu(ng-if='Shared.count.questsOfCategory(user.items.quests,type) > 0', label='{{env.t(type + "Quests")}}')
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(ng-class='lockQuest(quest) ? "inventory_quest_scroll_locked inventory_quest_scroll_{{::quest.key}}_locked locked" : "inventory_quest_scroll inventory_quest_scroll_{{::quest.key}}"',
ng-click='$close(); showQuest(quest_key)',