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": { "stress": {
"name": "Stress" "name": "Stress"
} }
},
"Attachments": {
"attachHint": "Drop items here to attach them"
} }
}, },
"GENERAL": { "GENERAL": {

View file

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