2022-12-29 02:24:18 +01:00
|
|
|
{{#if @root.options.isObserver}}
|
2022-12-18 19:16:23 +01:00
|
|
|
<span class="item-name"><h4>Argent et Monnaies (fortune: {{calc.fortune.sols}} sols {{calc.fortune.deniers}} deniers)</h4></span>
|
2021-06-02 16:04:35 +02:00
|
|
|
<ul class="item-list alterne-list">
|
2023-06-05 20:17:19 +02:00
|
|
|
{{#each monnaies as |piece id|}}
|
2021-06-02 16:04:35 +02:00
|
|
|
<li class="item flexrow list-item" data-item-id="{{piece._id}}">
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="sheet-competence-img" src="{{piece.img}}" data-tooltip="{{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>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{#if @root.options.isOwner}}
|
2022-12-13 22:27:36 +01:00
|
|
|
<span class="equipement-button item-controls">
|
2023-12-10 22:17:49 +01:00
|
|
|
<a class="item-quantite-moins"><i class="fa-solid fa-square-minus"></i></a>
|
2021-11-26 01:00:28 +01:00
|
|
|
</span>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{/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>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{#if @root.options.isOwner}}
|
2022-12-13 22:27:36 +01:00
|
|
|
<span class="equipement-button item-controls">
|
2023-12-10 22:17:49 +01:00
|
|
|
<a class="item-quantite-plus"><i class="fa-solid fa-square-plus"></i></a>
|
2022-08-27 16:23:22 +02:00
|
|
|
</span>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{/if}}
|
|
|
|
<span class="equipement-actions item-controls">
|
|
|
|
{{#if @root.options.isOwner}}
|
2023-12-04 01:21:05 +01:00
|
|
|
<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>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{/if}}
|
2021-11-26 01:00:28 +01:00
|
|
|
</span>
|
2021-06-02 16:04:35 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2022-12-29 02:24:18 +01:00
|
|
|
{{/if}}
|