mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Use a custom delete confirmation message for part associations
This commit is contained in:
parent
c8bd800b9f
commit
626c4dd5d6
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% form_theme form with ['parts/edit/edit_form_styles.html.twig'] %}
|
||||
{% import 'components/collection_type.macro.html.twig' as collection %}
|
||||
|
||||
<div {{ collection.controller(form.associated_parts_as_owner, 'part_lot.edit.delete.confirm') }}>
|
||||
<div {{ collection.controller(form.associated_parts_as_owner, 'part_association.edit.delete.confirm') }}>
|
||||
<table class="table table-striped table-sm" id="association_table" {{ collection.target() }}>
|
||||
<tbody>
|
||||
{% for assoc in form.associated_parts_as_owner %}
|
||||
|
|
|
@ -11921,5 +11921,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g
|
|||
<target>Custom type</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="JDsNNm8" name="part_association.edit.delete.confirm">
|
||||
<segment>
|
||||
<source>part_association.edit.delete.confirm</source>
|
||||
<target>Do you really want to delete this association? This can not be undone.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue