2020-10-29 22:01:13 +01:00
|
|
|
<div class="tab flexrow" data-group="primary" data-tab="description">
|
|
|
|
<div class="side-properties">
|
2020-12-30 23:50:27 +01:00
|
|
|
{{#if isOwned}}
|
2020-10-29 22:01:13 +01:00
|
|
|
<div class="side-property">
|
2020-12-30 23:50:27 +01:00
|
|
|
<label for="data.actor">{{localize 'DS4.ItemOwner'}}</label>
|
|
|
|
<a class="entity-link" draggable="true" data-entity="Actor" data-id="{{actor._id}}"><i
|
|
|
|
class="fas fa-user"></i>{{actor.name}}</a>
|
2020-10-29 22:01:13 +01:00
|
|
|
</div>
|
2020-12-30 23:50:27 +01:00
|
|
|
{{#if (ne data.equipped undefined)}}<div class="side-property">
|
|
|
|
<label for="data.equipped">{{localize 'DS4.ItemEquipped'}}</label>
|
|
|
|
<input type="checkbox" name="data.equipped" data-dtype="Boolean" {{checked data.equipped}} title="{{localize 'DS4.ItemEquipped'}}">
|
2020-12-28 17:54:33 +01:00
|
|
|
</div>
|
2020-12-30 23:50:27 +01:00
|
|
|
{{/if}}
|
2020-10-29 22:01:13 +01:00
|
|
|
<div class="side-property">
|
2020-12-30 23:50:27 +01:00
|
|
|
<label for="data.quantity">{{localize 'DS4.Quantity'}}</label>
|
|
|
|
<input type="number" data-dtype="Number" name="data.quantity" value="{{data.quantity}}" />
|
2020-10-29 22:01:13 +01:00
|
|
|
</div>
|
|
|
|
<div class="side-property">
|
2020-12-30 23:50:27 +01:00
|
|
|
<label for="data.storageLocation">{{localize 'DS4.StorageLocation'}}</label>
|
|
|
|
<input type="text" data-dtype="String" name="data.storageLocation" value="{{data.storageLocation}}" />
|
2020-10-29 22:01:13 +01:00
|
|
|
</div>
|
2020-12-30 23:50:27 +01:00
|
|
|
{{else}}
|
2020-12-31 01:18:50 +01:00
|
|
|
{{localize "DS4.NotOwned"}}
|
2020-12-30 23:50:27 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
2020-10-29 22:01:13 +01:00
|
|
|
</div>
|
|
|
|
</div>
|