mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Use new content for mixin
This commit is contained in:
parent
f792155b45
commit
ba2988ac98
1 changed files with 3 additions and 3 deletions
|
|
@ -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)',
|
||||
|
|
|
|||
Loading…
Reference in a new issue