foundryvtt-reve-de-dragon/templates/post-item.html

37 lines
1.1 KiB
HTML
Raw Normal View History

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}}
<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>
{{/if}}
{{#if postPrice}}
2021-04-14 22:40:12 +02:00
<b>Prix: </b> <span class="postPrice">{{postPrice}} Sols</span>
{{/if}}
2021-04-14 22:40:12 +02:00
</span><br>
{{/if}}
<span>
<b>Prix Total: </b> <span class="postPrice">{{finalPrice}} Sols</span><br>
</span>
</p>
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>