2021-01-01 21:11:56 +01:00
|
|
|
<div class="post-item" data-transfer="{{transfer}}">
|
|
|
|
<h3><b>{{name}}</b></h3>
|
|
|
|
{{#if img}}
|
2021-10-29 23:01:15 +02:00
|
|
|
<img class="chat-icon" src="{{img}}" title="{{name}}" />
|
2021-01-01 21:11:56 +01:00
|
|
|
{{/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}}
|
2021-04-14 22:40:12 +02:00
|
|
|
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span>
|
2021-04-11 18:47:00 +02:00
|
|
|
{{/if}}
|
2021-04-14 22:40:12 +02:00
|
|
|
</span><br>
|
2021-04-11 18:47:00 +02:00
|
|
|
{{/if}}
|
|
|
|
<span>
|
|
|
|
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span><br>
|
|
|
|
</span>
|
|
|
|
</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-04-14 22:40:12 +02:00
|
|
|
<a class='payer-button chat-card-button market-button'
|
|
|
|
data-jsondata='{{jsondata}}'
|
|
|
|
{{#if actor.id}}data-actor-id='{{actor.id}}'{{/if}}
|
|
|
|
data-somme-denier="{{data.cout_deniers_total}}" data-quantite="{{data.quantite}}">Payer</a>
|
2021-01-01 21:11:56 +01:00
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
</div>
|