2024-06-01 00:17:39 +02:00
|
|
|
{{log 'chat-vente-item' this}}
|
2021-05-07 17:27:02 +02:00
|
|
|
<div class="post-item" data-transfer="{{transfer}}">
|
2021-05-27 01:10:05 +02:00
|
|
|
<h3>{{#if alias}}{{alias}} propose: {{else}}Acheter {{/if}}{{item.name}}</h3>
|
2021-05-07 17:27:02 +02:00
|
|
|
{{#if item.img}}
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="chat-icon" src="{{item.img}}" data-tooltip="{{item.name}}" />
|
2021-05-07 17:27:02 +02:00
|
|
|
{{/if}}
|
2022-06-12 12:14:55 +02:00
|
|
|
<div class="poesie-extrait poesie-overflow card-content">{{{item.system.description}}}</div>
|
2021-05-07 17:27:02 +02:00
|
|
|
<p>
|
|
|
|
{{#each properties as |property p|}}
|
|
|
|
<span>{{{property}}}</span><br>
|
|
|
|
{{/each}}
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
<p>
|
|
|
|
{{#unless quantiteIllimite}}
|
2024-06-01 00:17:39 +02:00
|
|
|
<span>Lots disponibles: {{nbLots}}</span><br>
|
2021-05-07 17:27:02 +02:00
|
|
|
{{/unless}}
|
|
|
|
{{#if (gt tailleLot 1)}}
|
|
|
|
<span>Lots de: <span class="tailleLot">{{tailleLot}}</span></span><br>
|
|
|
|
{{/if}}
|
2021-06-14 23:46:57 +02:00
|
|
|
{{#if (ne prixLot 0)}}
|
2021-05-07 17:27:02 +02:00
|
|
|
<span><strong>Prix {{#if (gt tailleLot 1)}}du lot {{else}}unitaire{{/if}}:
|
2023-01-03 01:03:05 +01:00
|
|
|
<span class="prixLot">{{numberFormat prixLot decimals=2 sign=false}}</span> Sols</strong></span><br>
|
2021-05-07 17:27:02 +02:00
|
|
|
{{/if}}
|
|
|
|
</p>
|
2024-06-01 00:17:39 +02:00
|
|
|
{{#if (or (gt nbLots 0) quantiteIllimite)}}
|
2021-05-07 17:27:02 +02:00
|
|
|
<span class="chat-card-button-area">
|
2024-06-01 00:17:39 +02:00
|
|
|
<a class="button-acheter chat-card-button">
|
2021-10-30 00:41:55 +02:00
|
|
|
{{#if (eq prixLot 0)}}Prendre{{else}}Acheter{{/if}}</a>
|
2021-05-07 17:27:02 +02:00
|
|
|
</span>
|
2021-10-30 00:41:55 +02:00
|
|
|
{{/if}}
|
2021-05-07 17:27:02 +02:00
|
|
|
</div>
|