Properties from pack
Editable functionalities (hide icons)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<ul class="item-list">
|
||||
{{#each properties as |item id|}}
|
||||
<!-- {{#ifCond item.type '==' 'property'}}-->
|
||||
{{> 'systems/l5r5e/templates/items/property/property-entry.html' item=item id=id }}
|
||||
{{> 'systems/l5r5e/templates/items/property/property-entry.html' item=item id=id editable=../editable }}
|
||||
<!-- {{/ifCond}}-->
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
<ul class="property-header property-control">
|
||||
<li class="property-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="property-name">{{ item.name }}</li>
|
||||
{{#if editable}}
|
||||
<li class="property-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
<div class="item-description">{{{ item.data.description }}}</div>
|
||||
</li>
|
||||
Reference in New Issue
Block a user