Mark collected items in collection quests

This commit is contained in:
Dušan Juretić 2014-01-24 22:28:19 -03:00
parent 13131087ff
commit 70001b1feb
3 changed files with 5 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
.quest_collected_true
color: #ccc
text-decoration:line-through

View file

@ -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