Add costume section to member modal
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
unless mobile
|
||||
h4(class=mobile?'item item-divider':'',
|
||||
ng-show='profile.preferences.costume && user._id != profile._id')=env.t('costume')
|
||||
table.table.table-striped(ng-show='profile.preferences.costume && user._id != profile._id')
|
||||
tr(ng-repeat='(itemType,gear) in profile.items.gear.costume', ng-init='piece=Content.gear.flat[gear]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
h4(ng-show='profile.preferences.costume')=env.t('costume')
|
||||
table.table.table-striped(ng-show='profile.preferences.costume')
|
||||
tr(ng-repeat='(itemType,costume) in profile.items.gear.costume', ng-init='piece=Content.gear.flat[costume]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
@@ -1,10 +1,8 @@
|
||||
unless mobile
|
||||
h4.stats-equipment(class=mobile?'item item-divider':'',
|
||||
ng-show='user.flags.itemsEnabled')=env.t('battleGear')
|
||||
table.table.table-striped(ng-show='user.flags.itemsEnabled')
|
||||
tr(ng-repeat='(itemType,gear) in profile.items.gear.equipped',
|
||||
ng-init='piece=Content.gear.flat[gear]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
strong(ng-show='piece.str || piece.con || piece.per || piece.int') :
|
||||
span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}}
|
||||
h4.stats-equipment(ng-show='user.flags.itemsEnabled')=env.t('battleGear')
|
||||
table.table.table-striped(ng-show='user.flags.itemsEnabled')
|
||||
tr(ng-repeat='(itemType,gear) in profile.items.gear.equipped',
|
||||
ng-init='piece=Content.gear.flat[gear]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
strong(ng-show='piece.str || piece.con || piece.per || piece.int') :
|
||||
span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}}
|
||||
|
||||
Reference in New Issue
Block a user