Add delete button for aspects and localize the Edit text
This commit is contained in:
parent
762b297895
commit
69f6d91385
2 changed files with 22 additions and 2 deletions
|
|
@ -33,7 +33,17 @@
|
|||
class="confirm"
|
||||
data-embedded-edit="{{aspect.uuid}}"
|
||||
>
|
||||
Edit
|
||||
{{localize "dotdungeon.actor.pc.aspect.edit"}}
|
||||
</button>
|
||||
<button
|
||||
class="danger equal-padding"
|
||||
aria-label="{{localize "dotdungeon.actor.pc.aspect.aria.delete"}}"
|
||||
data-embedded-delete
|
||||
data-embedded-id="{{aspect.uuid}}"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ ../icons.garbage-bin }}}
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue