update attachment tab with comments

This commit is contained in:
psitacus 2025-07-10 22:01:33 -06:00
parent 666b37b6c1
commit a9e584d619
2 changed files with 6 additions and 4 deletions

View file

@ -950,6 +950,9 @@
"stress": {
"name": "Stress"
}
},
"Attachments": {
"attachHint": "Drop items here to attach them"
}
},
"GENERAL": {

View file

@ -15,16 +15,15 @@
<div class="item-name">{{item.name}}</div>
</div>
<div class="controls">
<i class="fa-solid fa-trash remove-attachment" data-action="removeAttachment" data-uuid="{{item.uuid}}"></i>
<a data-action="removeAttachment" data-uuid="{{item.uuid}}"><i class="fa-solid fa-trash remove-attachment"></i></a>
</div>
</div>
{{/each}}
</div>
{{/if}}
<div class="drop-area" data-drop-type="Item">
<i class="fa-solid fa-plus"></i>
<span>Drop items here to attach them</span>
<div class="drop-area" data-drop-type="Item" style="width: 100%;">
<span>{{localize "DAGGERHEART.EFFECTS.Attachments.attachHint"}}</span>
</div>
</fieldset>
</section>