22 lines
1.0 KiB
HTML
22 lines
1.0 KiB
HTML
<li class="item flexrow list-item" data-item-id="{{item._id}}">
|
|
<img class="sheet-competence-img" src="{{item.img}}" title="{{item.name}}"/>
|
|
|
|
{{#if (eq item.type 'conteneur')}}
|
|
<span class="item-name conteneur-name flex-grow"><a data-item-id="{{item._id}}">+{{item.name}}</a></span>
|
|
{{else}}
|
|
<span class="item-name flex-grow">{{item.name}}</span>
|
|
{{/if}}
|
|
<span class="item-quantite">{{item.data.quantite}}</span>
|
|
<span class="item-quantite">{{numberFormat item.data.encTotal decimals=2}}</span>
|
|
<div class="item-controls flex-grow">
|
|
{{#unless item.estContenu}}
|
|
<a class="item-control item-equip" title="Equiper">{{#if item.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
{{/unless}}
|
|
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
|
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
|
{{#if (eq item.type 'nourritureboisson')}}
|
|
<a class="item-name item-consommer">Consommer</a>
|
|
{{/if}}
|
|
</div>
|
|
</li>
|