mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
feat(jade): split file to be used on mobile
This commit is contained in:
parent
80dbc1111e
commit
45ab28269a
2 changed files with 13 additions and 12 deletions
12
views/shared/modals/quest-rewards.jade
Normal file
12
views/shared/modals/quest-rewards.jade
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
script(id='partials/options.social.party.quest-rewards.html', type='text/ng-template')
|
||||
hr
|
||||
h5 {{header}}
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='drop in quest.drop.items')
|
||||
td {{drop.text()}}
|
||||
tr
|
||||
td {{quest.drop.exp}}
|
||||
=env.t('experience')
|
||||
tr
|
||||
td {{quest.drop.gp}}
|
||||
=env.t('gold')
|
||||
|
|
@ -1,15 +1,4 @@
|
|||
script(id='partials/options.social.party.quest-rewards.html', type='text/ng-template')
|
||||
hr
|
||||
h5 {{header}}
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='drop in quest.drop.items')
|
||||
td {{drop.text()}}
|
||||
tr
|
||||
td {{quest.drop.exp}}
|
||||
=env.t('experience')
|
||||
tr
|
||||
td {{quest.drop.gp}}
|
||||
=env.t('gold')
|
||||
include ./quest-rewards
|
||||
|
||||
script(type='text/ng-template', id='modals/questCompleted.html')
|
||||
.modal-header
|
||||
|
|
|
|||
Loading…
Reference in a new issue