Properties from pack

Editable functionalities (hide icons)
Merge of edit/add/delete items hooks
This commit is contained in:
Vlyan
2020-12-24 15:51:52 +01:00
parent 3c79556152
commit 0f1afcf740
24 changed files with 230 additions and 82 deletions

View File

@@ -1,5 +1,10 @@
<fieldset class="weapons-content">
<legend class="section-header">{{ localize 'l5r5e.weapons.title' }}</legend>
<legend class="section-header">
{{ localize 'l5r5e.weapons.title' }}
{{#if editable}}
<a data-item-type="weapon" class="weapon-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 item.type '==' 'weapon'}}