2014-09-21 14:24:37 -04:00
|
|
|
img(src=item.getPortraitURL())
|
2014-08-13 20:21:37 -04:00
|
|
|
div.item-info
|
|
|
|
if includes.name
|
2014-09-21 14:24:37 -04:00
|
|
|
h4= item.get('name')
|
2014-08-31 15:21:25 -04:00
|
|
|
if includes.stats || (includes.props && props.length)
|
|
|
|
ul.list-unstyled
|
|
|
|
if includes.stats
|
|
|
|
for stat, prop in stats
|
|
|
|
if stat.display == 'true'
|
|
|
|
li= stat.name
|
|
|
|
else
|
|
|
|
li #{stat.name}: #{stat.display}
|
|
|
|
if includes.props && props.length
|
|
|
|
li Grants:
|
|
|
|
for prop in props
|
|
|
|
|
|
|
|
|
code= prop
|
2014-11-05 17:33:56 -05:00
|
|
|
span.status-message
|
|
|
|
span.spl.should-equip-message(data-i18n="inventory.should_equip")
|
|
|
|
span.spl.equipped-message(data-i18n="inventory.equipped")
|
|
|
|
span.spl.locked-message(data-i18n="inventory.locked")
|
2014-11-05 23:56:17 -05:00
|
|
|
span.spl.restricted-message(data-i18n="inventory.restricted")
|
2014-08-13 20:21:37 -04:00
|
|
|
.clearfix
|
|
|
|
|
|
|
|
|