39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
<h4>Boutique</h4>
|
|
<span class="item-name">
|
|
{{#if options.isGM}}
|
|
<a class="chat-card-button creer-un-objet">Nouvel objet</a>
|
|
<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>
|
|
|
|
{{#unless system.illimite}}
|
|
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> ‐{{/if}}
|
|
Encombrement: {{numberFormat calc.encTotal decimals=2}}
|
|
{{#if (regle-optionnelle 'afficher-prix-joueurs')}}
|
|
‐ Valeur: {{numberFormat calc.prixTotalEquipement decimals=2}} Sols
|
|
{{/if}}
|
|
{{/unless}}
|
|
</span>
|
|
<ul class="item-list alterne-list">
|
|
<li class="competence-header flexrow">
|
|
<span class="equipement-nom">Nom</span>
|
|
{{#unless system.illimite}}
|
|
<span class="equipement-detail">Quantité</span>
|
|
{{/unless}}
|
|
<span class="equipement-detail">Prix (sols)</span>
|
|
<span class="equipement-actions">Actions</span>
|
|
</li>
|
|
{{#each (trier objets) as |item id|}}
|
|
{{#unless item.estContenu}}
|
|
{{#if (ne item.type 'conteneur')}}
|
|
{{buildLigneInventaire item ../options}}
|
|
{{/if}}
|
|
{{/unless}}
|
|
{{/each}}
|
|
{{#each (trier conteneurs) as |conteneur id|}}
|
|
{{buildLigneInventaire conteneur ../options}}
|
|
{{/each}}
|
|
</ul>
|