2021-01-01 21:11:56 +01:00
|
|
|
<div class="post-item" data-transfer="{{transfer}}">
|
|
|
|
<h3><b>{{name}}</b></h3>
|
|
|
|
{{#if img}}
|
|
|
|
<img src="{{img}}" title="{{name}}" />
|
|
|
|
{{/if}}
|
2021-04-11 18:47:00 +02:00
|
|
|
|
|
|
|
<p class="card-content">{{{data.description}}}</p>
|
|
|
|
<p>
|
|
|
|
{{#each properties as |property p|}}
|
|
|
|
<span>{{{property}}}</span><br>
|
|
|
|
{{/each}}
|
|
|
|
{{#if (or postQuantity postPrice)}}
|
|
|
|
<span>
|
|
|
|
{{#if postQuantity}}
|
2021-01-01 21:11:56 +01:00
|
|
|
<b>Quantité: </b> <span class="postQuantity">{{postQuantity}}</span>
|
2021-04-11 18:47:00 +02:00
|
|
|
{{/if}}
|
|
|
|
{{#if postPrice}}
|
|
|
|
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span><br>
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if finalPrice}}
|
|
|
|
<span>
|
|
|
|
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span><br>
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
</p>
|
2021-01-11 18:04:26 +01:00
|
|
|
|
2021-01-01 21:11:56 +01:00
|
|
|
{{#if hasPrice}}
|
|
|
|
<span class="chat-card-button-area">
|
2021-03-29 23:41:08 +02:00
|
|
|
<a class='payer-button chat-card-button market-button' data-jsondata='{{jsondata}}'
|
2021-01-29 21:03:32 +01:00
|
|
|
data-somme-denier="{{data.cout_deniers_total}}" data-quantite="{{data.quantite}}">Payer</a>
|
2021-01-01 21:11:56 +01:00
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|