88 Gestion argent/commerce
This commit is contained in:
26
templates/post-item.html
Normal file
26
templates/post-item.html
Normal file
@ -0,0 +1,26 @@
|
||||
<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>
|
||||
{{#if hasPrice}}
|
||||
<span class="chat-card-button-area">
|
||||
<a id='payer-button' class='chat-card-button market-button' data-jsondata='{{jsondata}}' data-somme-denier="{{data.cout_deniers}}">Payer</a>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
Reference in New Issue
Block a user