Permettre d'éditer les conteneurs de regroupement
This commit is contained in:
parent
ceacee8e6c
commit
80be0490eb
@ -40,19 +40,25 @@
|
||||
{{/unless}}
|
||||
</span>
|
||||
<span class="equipement-actions item-controls">
|
||||
{{#unless (and (eq item.type 'conteneur') (not vide))}}
|
||||
{{#if options.isOwner}}
|
||||
{{#if (and (eq item.type 'conteneur') (not vide))}}
|
||||
<a class="item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
||||
{{else}}
|
||||
<a class="item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
||||
{{#if (or item.parent.system.illimite (ne item.system.quantite 0))}}
|
||||
<a class="item-vendre" title="Vendre"><i class="fas fa-comments-dollar"></i></a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<a class="item-montrer" title="Montrer"><i class="fas fa-comment"></i></a>
|
||||
{{#if (gt item.system.quantite 0)}}
|
||||
<a class="item-acheter" title="Acheter"><i class="fa-regular fa-coins"></i></a>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if (or item.parent.system.illimite (gt item.system.quantite 0))}}
|
||||
<a class="item-acheter" title="Acheter"><i class="fa-regular fa-coins"></i></a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<a class="item-montrer" title="Montrer"><i class="fas fa-comment"></i></a>
|
||||
</span>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user