<li class="item flexrow list-item" data-item-id="{{item._id}}" draggable="true">
  <span class="equipement-nom {{#if (eq item.type 'conteneur')}}conteneur-name{{/if}} ">
    {{#if (eq item.type 'conteneur')}}
    <a>
      <i class="{{~#if vide}}far fa-square
      {{else if ouvert}}far fa-minus-square
      {{else}}far fa-plus-square
      {{/if~}}"></i>
    {{/if}}
    <img class="sheet-competence-img" src="{{item.img}}" title="{{item.name}}"/>
    <span>{{item.name}}</span>
    {{#if (eq item.type 'conteneur')}}
    </a>
    {{/if}}
  </span>
  <span class="equipement-detail">{{item.system.quantite}}
    {{#if (gt item.system.quantite 1)}}
    <a class="item-split" title="Séparer"><i class="fas fa-unlink"></i></a>
    {{/if}}
  </span>
  <span class="equipement-detail">{{numberFormat item.system.encTotal decimals=2}}</span>
  <span class="equipement-actions item-controls">
    {{#unless item.estContenu}}
    {{#if (or (eq item.type 'arme') (eq item.type 'armure') )}}
    <a class="item-equip" title="Equiper">{{#if item.system.equipe}}<i class="fas fa-hand-rock"></i>{{else}}<i class="far fa-hand-paper"></i>{{/if}}</a>
    {{/if}}
    {{/unless}}
    <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>
    &nbsp;
    {{#if (ne item.system.quantite 0)}}
    <a class="item-vendre" title="Vendre ou donner"><i class="fas fa-comments-dollar"></i></a>
    {{/if}}
    <a class="item-montrer" title="Montrer"><i class="fas fa-comment"></i></a>
    {{#if item.system.actionPrincipale}}
    <a class="item-action">{{item.system.actionPrincipale}}</a>
    {{/if}}
  </span>
</li>

