Fix #81
This commit is contained in:
@ -302,18 +302,30 @@
|
||||
</li>
|
||||
|
||||
{{#each effects as |effect key|}}
|
||||
<li class="item stat flexrow list-item list-item-shadow" data-arme-id="{{effect.id}}"
|
||||
data-item-id="{{effect._id}}">
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
|
||||
src="{{effect.img}}" /></a>
|
||||
<li class="item stat flexrow list-item list-item-shadow" data-arme-id="{{effect.id}}" data-item-id="{{effect._id}}">
|
||||
{{#if effect.system.locked}}
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{effect.img}}" /></a>
|
||||
{{else}}
|
||||
<img class="sheet-competence-img" src="{{effect.img}}" />
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{effect.img}}" /></a>
|
||||
{{/if}}
|
||||
<span class="item-name-label-long2">{{effect.name}}</span>
|
||||
<span class="item-field-label-short">{{effect.system.effectlevel}}</span>
|
||||
<span class="item-field-label-short">{{upperFirst effect.system.type}}</span>
|
||||
<span class="item-field-label-short">{{upperFirst effect.datsystema.genre}}</span>
|
||||
<span class="item-field-label-short">{{upperFirst effect.system.genre}}</span>
|
||||
<span class="item-field-label-short">{{upper effect.system.stataffected}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
{{#if effect.system.locked}}
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
Reference in New Issue
Block a user