Image du token pour les Commerces non liés

This commit is contained in:
2023-01-15 21:32:32 +01:00
parent c972913a67
commit 40fdff4057
3 changed files with 36 additions and 8 deletions

View File

@ -4,7 +4,14 @@
<header class="sheet-header">
<div class="header-fields">
<div class="flexrow">
{{#if token}}
{{#if options.isOwner}}
<img class="profile-img dimmed" src="{{img}}" data-edit="img" title="{{name}}" />
{{/if}}
<img class="profile-img-token" src="{{token.img}}" title="{{name}}" />
{{else}}
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
{{/if}}
<div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
{{#if @root.options.isObserver}}