mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 02:02:19 +00:00
Merge pull request #3897 from Alys/questImage
add quest image to party page for collection quests - fixes https://github.com/HabitRPG/habitrpg/issues/3892
This commit is contained in:
commit
2f6e49f8bb
1 changed files with 2 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ mixin boss(tavern, mobile)
|
|||
span.meter-text.value
|
||||
| {{Math.ceil(progress.rage) | goldRoundThousandsToK}} / {{boss.rage.value | goldRoundThousandsToK}}
|
||||
div(ng-if='::Content.quests[group.quest.key].collect')
|
||||
div(class="quest_{{::group.quest.key}}")
|
||||
h4=env.t('collected') + ':'
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(k,v) in group.quest.progress.collect', class='quest_collected_{{v >= Content.quests[group.quest.key].collect[k].count}}')
|
||||
|
|
@ -75,4 +76,4 @@ mixin boss(tavern, mobile)
|
|||
|
||||
|
||||
unless tavern
|
||||
button.btn.btn-xs.btn-danger(ng-if='::!group.quest.leader || group.quest.leader==user._id', ng-click='questAbort()')=env.t('abort')
|
||||
button.btn.btn-xs.btn-danger(ng-if='::!group.quest.leader || group.quest.leader==user._id', ng-click='questAbort()')=env.t('abort')
|
||||
|
|
|
|||
Loading…
Reference in a new issue