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}}
|
|
|
|
|
|
|
|
<div class="card-content">{{{data.description}}}</div>
|
|
|
|
|
|
|
|
{{#each properties as |property p|}}
|
|
|
|
<span>{{{property}}}</span><br>
|
|
|
|
{{/each}}
|
|
|
|
<div>
|
|
|
|
{{#if postPrice}}
|
|
|
|
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if postQuantity}}
|
|
|
|
<b>Quantité: </b> <span class="postQuantity">{{postQuantity}}</span>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
2021-01-11 18:04:26 +01:00
|
|
|
|
|
|
|
{{#if finalPrice}}
|
|
|
|
<div>
|
|
|
|
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-01-01 21:11:56 +01:00
|
|
|
{{#if hasPrice}}
|
|
|
|
<span class="chat-card-button-area">
|
2021-01-11 18:04:26 +01:00
|
|
|
<a id='payer-button' class='chat-card-button market-button' data-jsondata='{{jsondata}}' data-somme-denier="{{data.cout_deniers_total}}">Payer</a>
|
2021-01-01 21:11:56 +01:00
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|