foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html
Vincent Vandemeulebrouck f8a90fc3c3 Fontawsome solid
traduction de fas => fa-solid
2023-12-10 22:19:51 +01:00

34 lines
1.3 KiB
HTML

{{#if @root.options.isObserver}}
<span class="item-name"><h4>Argent et Monnaies (fortune: {{calc.fortune.sols}} sols {{calc.fortune.deniers}} deniers)</h4></span>
<ul class="item-list alterne-list">
{{#each monnaies as |piece id|}}
<li class="item flexrow list-item" data-item-id="{{piece._id}}">
<img class="sheet-competence-img" src="{{piece.img}}" data-tooltip="{{piece.name}}"/>
<span class="equipement-nom">{{piece.name}}</span>
<span class="equipement-valeur {{#unless (gt piece.system.cout 0)}}field-error{{/unless}}">
({{piece.system.cout}} Sols)
</span>
{{#if @root.options.isOwner}}
<span class="equipement-button item-controls">
<a class="item-quantite-moins"><i class="fa-solid fa-square-minus"></i></a>
</span>
{{/if}}
<span class="equipement-detail">
<span>{{piece.system.quantite}}</span>
</span>
{{#if @root.options.isOwner}}
<span class="equipement-button item-controls">
<a class="item-quantite-plus"><i class="fa-solid fa-square-plus"></i></a>
</span>
{{/if}}
<span class="equipement-actions item-controls">
{{#if @root.options.isOwner}}
<a class="item-edit" data-tooltip="Editer"><i class="fas fa-edit"></i></a>
<a class="item-delete" data-tooltip="Supprimer"><i class="fas fa-trash"></i></a>
{{/if}}
</span>
</li>
{{/each}}
</ul>
{{/if}}