mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Hide row if not part of reward; add one-time bindings
This commit is contained in:
parent
e150a4d4f6
commit
3ff310294b
1 changed files with 8 additions and 8 deletions
|
|
@ -1,14 +1,14 @@
|
|||
script(id='partials/options.social.party.quest-rewards.html', type='text/ng-template')
|
||||
hr
|
||||
h5 {{header}}
|
||||
h5 {{::header}}
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='drop in quest.drop.items')
|
||||
td {{drop.text()}}
|
||||
tr
|
||||
td {{quest.drop.exp}}
|
||||
td {{::drop.text()}}
|
||||
tr(ng-if='::quest.drop.exp > 0')
|
||||
td {{::quest.drop.exp}}
|
||||
=env.t('experience')
|
||||
tr
|
||||
td {{quest.drop.gp}}
|
||||
tr(ng-if='::quest.drop.gp > 0')
|
||||
td {{::quest.drop.gp}}
|
||||
=env.t('gold')
|
||||
tr
|
||||
td {{quest.drop.unlock()}}
|
||||
tr(ng-if='::quest.drop.unlock()')
|
||||
td {{::quest.drop.unlock()}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue