mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Fix conflict
This commit is contained in:
commit
d9ef062ce2
60 changed files with 879 additions and 133 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{{/each}}
|
||||
{{else}}
|
||||
{{#each values}}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=this type=../type hideControls=../hideControls }}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=this type=../type hideControls=../hideControls featureType=true }}
|
||||
{{/each}}
|
||||
|
||||
{{#each adversaries as |adversary|}}
|
||||
|
|
|
|||
|
|
@ -175,4 +175,12 @@
|
|||
<span></span>
|
||||
{{/unless}}
|
||||
<div class="item-description">{{#unless isSidebar}}{{{item.system.description}}}{{/unless}}</div>
|
||||
|
||||
{{#if featureType}}
|
||||
<div class="item-buttons">
|
||||
{{#each item.system.actions as | action |}}
|
||||
<button type="button" data-action="useAction" data-action-id="{{action.id}}">{{action.name}}</button>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</li>
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
<div class="action-item"
|
||||
data-action="editAction"
|
||||
data-index="{{index}}"
|
||||
data-tooltip="{{concat "#item#" @root.document.uuid "#action#" action.id}}"
|
||||
>
|
||||
<img class="image" src="{{action.img}}" />
|
||||
<span>{{action.name}}</span>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
data-action="editFeature"
|
||||
id="{{feature.id}}"
|
||||
>
|
||||
<img class="image" src="{{feature.img}}" />
|
||||
<img class="image" src="{{feature.img}}" data-tooltip="{{concat "#item#" feature.uuid}}" />
|
||||
<span>{{feature.name}}</span>
|
||||
<div class="controls">
|
||||
<a data-action="removeFeature" id="{{feature.id}}"><i class="fa-solid fa-trash"></i></a>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<line-div></line-div>
|
||||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>{{localize (concat 'TYPES.Item.feature' source.system.type)}}</h3>
|
||||
<h3>{{localize 'TYPES.Item.feature'}}</h3>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue