Properties sheet

Fixed loading properties from custom compendiums.
Added a line strike on removed/unknown property and ability to remove them.
This commit is contained in:
Vlyan
2022-03-06 13:49:30 +01:00
parent 32f142deae
commit 473ff9997c
6 changed files with 18 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
<li class="item property flexcol" data-property-id="{{property.id}}">
<ul class="item-header property-control">
<li class="item-img"><img src="{{property.img}}" title="{{property.name}}" width="32px" height="32px"/></li>
<li class="item-name l5r5e-tooltip" data-property-id="{{property.id}}">{{property.name}}</li>
<li class="item-name {{#if removed}}removed{{else}}l5r5e-tooltip{{/if}}" data-property-id="{{property.id}}">{{property.name}}</li>
{{#if editable}}
<li class="property-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
{{/if}}