Working on 0.8.x - Character sheets related
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<fieldset class="armors-content">
|
||||
<legend class="section-header">
|
||||
{{localize 'l5r5e.armors.title'}}
|
||||
{{#if editable}}
|
||||
{{#if options.editable}}
|
||||
<a data-item-type="armor" data-item-eqquiped="true" class="armor-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</legend>
|
||||
<ul class="item-list">
|
||||
{{#each actor.items as |item id|}}
|
||||
{{#ifCond (ifCond item.type '==' 'armor') '&&' (ifCond item.data.equipped '==' true)}}
|
||||
{{> 'systems/l5r5e/templates/items/armor/armor-entry.html' item=item id=id editable=../editable }}
|
||||
{{#ifCond (ifCond item.type '==' 'armor') '&&' (ifCond item.data.data.equipped '==' true)}}
|
||||
{{> 'systems/l5r5e/templates/items/armor/armor-entry.html' armor=item id=id editable=../options.editable }}
|
||||
{{/ifCond}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user