Update inventory to remove weights from non-heavy items

master
The Happy Anarchist 2022-04-28 00:02:37 -10:00
parent 8ac6735162
commit 2d2beeb1b2
1 changed files with 2 additions and 4 deletions

View File

@ -110,7 +110,7 @@
<div class="item-caret"><i class="fas fa-caret-down"></i></div> <div class="item-caret"><i class="fas fa-caret-down"></i></div>
<div class="item-name">{{localize "ACKS.items.Misc"}}</div> <div class="item-name">{{localize "ACKS.items.Misc"}}</div>
<div class="field-short"><i class="fas fa-hashtag"></i></div> <div class="field-short"><i class="fas fa-hashtag"></i></div>
<div class="field-short"><i class="fas fa-weight-hanging"></i></div> <div class="field-short"></div>
<div class="item-controls"> <div class="item-controls">
<a class="item-control item-create" data-type="item" title="{{localize 'ACKS.Add'}}"><i <a class="item-control item-create" data-type="item" title="{{localize 'ACKS.Add'}}"><i
class="fa fa-plus"></i></a> class="fa fa-plus"></i></a>
@ -133,9 +133,7 @@
<input value="{{item.data.quantity.value}}" type="text" <input value="{{item.data.quantity.value}}" type="text"
placeholder="0" />{{#if item.data.quantity.max}}<span>/{{item.data.quantity.max}}</span>{{/if}} placeholder="0" />{{#if item.data.quantity.max}}<span>/{{item.data.quantity.max}}</span>{{/if}}
</div> </div>
<div class="field-short"> <div class="field-short"></div>
{{#if (eq @root.config.encumbrance "detailed")}}{{item.data.weight}}{{else}}_{{/if}}
</div>
<div class="item-controls"> <div class="item-controls">
{{#if ../owner}} {{#if ../owner}}
<a class="item-control item-edit" title='{{localize "ACKS.Edit"}}'><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title='{{localize "ACKS.Edit"}}'><i class="fas fa-edit"></i></a>