mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
Mark collected items in collection quests
This commit is contained in:
parent
13131087ff
commit
70001b1feb
3 changed files with 5 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
@import "./npcs.styl"
|
||||
@import "./challenges.styl"
|
||||
@import "./classes.styl"
|
||||
@import "./quests.styl"
|
||||
|
||||
// fix exploding to very wide for some reason
|
||||
.datepicker
|
||||
|
|
|
|||
3
public/css/quests.styl
Normal file
3
public/css/quests.styl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.quest_collected_true
|
||||
color: #ccc
|
||||
text-decoration:line-through
|
||||
|
|
@ -45,7 +45,7 @@ a.pull-right.gem-wallet(popover-trigger='mouseenter', popover-title=env.t('guild
|
|||
div(ng-if='Content.quests[group.quest.key].collect')
|
||||
h4=env.t('collected') + ':'
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(k,v) in group.quest.progress.collect')
|
||||
tr(ng-repeat='(k,v) in group.quest.progress.collect', class='quest_collected_{{v >= Content.quests[group.quest.key].collect[k].count}}')
|
||||
td
|
||||
div(class='quest_{{group.quest.key}}_{{k}}') {{Content.quests[group.quest.key].collect[k].text}}
|
||||
td
|
||||
|
|
|
|||
Loading…
Reference in a new issue