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">
|
|
|
|
{{#each monnaie 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>
|
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-03-30 02:56:06 +02:00
|
|
|
<a class="item-quantite-moins"><i class="fas fa-minus-square"></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-03-30 02:56:06 +02:00
|
|
|
<a class="item-quantite-plus"><i class="fas fa-plus-square"></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}}
|
2022-08-27 22:58:26 +02:00
|
|
|
<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>
|
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}}
|