mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* Fixed so items from the inventory tab of the Party sheet can be dragged out * Added transfer logic * Added translation * Improved item transfer dialog title * Simplified title * Updated image * Simplified the handlebars templates for itemTransfer * Improved item-identicial check * Slight improved rendering * .
51 lines
No EOL
2.4 KiB
Handlebars
51 lines
No EOL
2.4 KiB
Handlebars
<section
|
|
class='tab {{tabs.features.cssClass}} {{tabs.features.id}}'
|
|
data-tab='{{tabs.features.id}}'
|
|
data-group='{{tabs.features.group}}'
|
|
>
|
|
<fieldset class="one-column drop-section primary-feature" data-type="primary">
|
|
<legend>
|
|
{{localize "DAGGERHEART.ITEMS.Ancestry.primaryFeature"}}
|
|
{{#unless document.system.primaryFeature}}<a><i data-action="addFeature" data-type="primary" class="fa-solid fa-plus icon-button"></i></a>{{/unless}}
|
|
</legend>
|
|
<div class="features-list">
|
|
{{#if document.system.primaryFeature}}
|
|
<div class="feature-item"
|
|
data-action="editDoc"
|
|
data-item-uuid="{{document.system.primaryFeature.uuid}}"
|
|
data-type="primary"
|
|
id="{{document.system.primaryFeature._id}}"
|
|
>
|
|
<img class="image" src="{{document.system.primaryFeature.img}}" />
|
|
<span>{{document.system.primaryFeature.name}}</span>
|
|
<div class="controls">
|
|
<a data-action="deleteFeature"><i class="fa-solid fa-trash"></i></a>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="one-column drop-section secondary-feature" data-type="secondary">
|
|
<legend>
|
|
{{localize "DAGGERHEART.ITEMS.Ancestry.secondaryFeature"}}
|
|
{{#unless document.system.secondaryFeature}}<a><i data-action="addFeature" data-type="secondary" class="fa-solid fa-plus icon-button"></i></a>{{/unless}}
|
|
</legend>
|
|
<div class="features-list">
|
|
{{#if document.system.secondaryFeature}}
|
|
<div class="feature-item"
|
|
data-action="editDoc"
|
|
data-item-uuid="{{document.system.secondaryFeature.uuid}}"
|
|
data-type="secondary"
|
|
id="{{document.system.secondaryFeature._id}}"
|
|
>
|
|
<img class="image" src="{{document.system.secondaryFeature.img}}" />
|
|
<span>{{document.system.secondaryFeature.name}}</span>
|
|
<div class="controls">
|
|
<a data-action="deleteFeature"><i class="fa-solid fa-trash"></i></a>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</fieldset>
|
|
</section> |