foundryvtt-reve-de-dragon/templates/actor/inventaire-monnaie.html

34 lines
1.3 KiB
HTML
Raw Normal View History

{{#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}}" title="{{piece.name}}"/>
2022-08-27 16:23:22 +02:00
<span class="equipement-nom">{{piece.name}}</span>
2022-12-13 22:27:36 +01:00
<span class="equipement-valeur {{#unless (gt piece.system.cout 0)}}field-error{{/unless}}">
({{piece.system.cout}} Sols)
</span>
{{#if @root.options.isOwner}}
2022-12-13 22:27:36 +01:00
<span class="equipement-button item-controls">
<a class="item-quantite-moins"><i class="fas fa-minus-square"></i></a>
</span>
{{/if}}
2022-08-27 16:23:22 +02:00
<span class="equipement-detail">
2022-08-28 08:46:26 +02:00
<span>{{piece.system.quantite}}</span>
2022-08-27 16:23:22 +02:00
</span>
{{#if @root.options.isOwner}}
2022-12-13 22:27:36 +01:00
<span class="equipement-button item-controls">
<a class="item-quantite-plus"><i class="fas fa-plus-square"></i></a>
2022-08-27 16:23:22 +02:00
</span>
{{/if}}
<span class="equipement-actions item-controls">
{{#if @root.options.isOwner}}
<a class="item-edit" title="Editer"><i class="fas fa-edit"></i></a>
<a class="item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
{{/if}}
</span>
</li>
{{/each}}
</ul>
{{/if}}