36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<h4>Equipement</h4>
|
|
<span class="item-name">
|
|
{{#if options.isOwned}}
|
|
<a class="chat-card-button creer-un-objet">Nouvel objet</a>
|
|
{{/if}}
|
|
{{#if options.isGM}}
|
|
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
|
|
{{/if}}
|
|
<span class="embed-inline">
|
|
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder=""/>
|
|
</span>
|
|
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> ‐{{/if}}
|
|
Encombrement: {{numberFormat calc.encTotal decimals=2}} (max: {{system.attributs.encombrement.value}})
|
|
{{#if (regle-optionnelle 'afficher-prix-joueurs')}}
|
|
‐ Valeur: {{numberFormat calc.prixTotalEquipement decimals=2}} Sols
|
|
{{/if}}
|
|
</span>
|
|
<ul class="item-list alterne-list">
|
|
<li class="competence-header flexrow">
|
|
<span class="equipement-nom">Nom</span>
|
|
<span class="equipement-detail">Q.</span>
|
|
<span class="equipement-detail">Enc.</span>
|
|
<span class="equipement-actions">Actions</span>
|
|
</li>
|
|
{{#each objets as |item id|}}
|
|
{{#unless item.estContenu}}
|
|
{{#if (ne item.type 'conteneur')}}
|
|
{{buildLigneInventaire item @root.options}}
|
|
{{/if}}
|
|
{{/unless}}
|
|
{{/each}}
|
|
{{#each conteneurs as |conteneur id|}}
|
|
{{buildLigneInventaire conteneur @root.options}}
|
|
{{/each}}
|
|
</ul>
|