- Boutons +Ration et +Eau dans l'onglet Équipement - Incrémente la quantité si l'item existe déjà, sinon le crée - Nouveau template post-item-compact.hbs pour l'aperçu chat - _MONTRER utilise désormais le cartouche compact - postItemToChatCompact() awaitable, champs filtrés par type d'inventaire
17 lines
530 B
Handlebars
17 lines
530 B
Handlebars
<div class="post-item-compact">
|
|
<h4><img class="chat-icon" src="{{img}}" /> {{name}}</h4>
|
|
<p>
|
|
<span class="tag">{{typeLabel}}</span>
|
|
{{#if (ne encombrement undefined)}}<span class="tag">Enc. {{encombrement}}</span>{{/if}}
|
|
{{#if (ne cout undefined)}}<span class="tag">{{cout}} sols</span>{{/if}}
|
|
{{#if (ne quantite undefined)}}<span class="tag">x{{quantite}}</span>{{/if}}
|
|
</p>
|
|
{{#if stats.length}}
|
|
<p>
|
|
{{#each stats as |s|}}
|
|
<span class="tag">{{{s}}}</span>
|
|
{{/each}}
|
|
</p>
|
|
{{/if}}
|
|
</div>
|