forked from public/foundryvtt-reve-de-dragon
Amélioration dialogue achat
This commit is contained in:
@ -1,14 +1,24 @@
|
||||
<form class="rdddialog">
|
||||
<div>
|
||||
{{#if vendeur}}
|
||||
<img class="chat-icon" src="{{vendeur.img}}" title="{{vendeur.name}}" alt="{{vendeur.name}}" />
|
||||
{{/if}}
|
||||
<img class="chat-icon" src="{{item.img}}" title="{{item.name}}" alt="{{item.name}}" />
|
||||
{{!--
|
||||
{{#if acheteur}}
|
||||
<img class="chat-icon" src="{{acheteur.img}}" title="{{acheteur.name}}" alt="{{acheteur.name}}" />
|
||||
{{/if}}
|
||||
--}}
|
||||
<div class="flexrow flex-center">
|
||||
<div>
|
||||
{{#if vendeur}}
|
||||
<img class="chat-icon" src="{{vendeur.img}}" title="{{vendeur.name}}" alt="{{vendeur.name}}" />
|
||||
{{else}}
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon_echoppe.webp" title="Un commerçant" alt="Vendeur MJ" />
|
||||
{{/if}}
|
||||
</div>
|
||||
<div><i class="fas fa-sign-out-alt"></i></div>
|
||||
<div><img class="chat-icon" src="{{item.img}}" title="{{item.name}}" alt="{{item.name}}" /></div>
|
||||
<div><i class="fas fa-sign-in-alt"></i></div>
|
||||
<div>
|
||||
{{#if acheteur}}
|
||||
<img class="chat-icon" src="{{acheteur.img}}" title="{{acheteur.name}}" alt="{{acheteur.name}}" />
|
||||
{{else}}
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/styles/img/ui/icon_echoppe.webp" title="Un acheteur" alt="Acheteur MJ" />
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<h4>
|
||||
{{#if isVente}}Acheter{{else}}Prendre{{/if}}
|
||||
{{#if vendeur}}à {{vendeur.name}}{{/if}}:
|
||||
@ -83,4 +93,4 @@
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user