Bug 15804: Use standard dialog style for confirmation of MARC subfield deletion
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 Feb 2016 17:23:49 +0000 (12:23 -0500)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 08:44:56 +0000 (09:44 +0100)
commit3f0313253da712920fb08935e7272237b5adde6b
treed9fb11c193579001e5ddb22f49bb7b7fa4e6313c
parent9fe4546dc15918ba20e96686886d94c416fb1cc7
Bug 15804: Use standard dialog style for confirmation of MARC subfield deletion

When deleting a MARC framework subfield, the confirmation message is not
styled. This patch modifies the template to style the confirmation
message like similar ones.

To test, apply the patch and go to Administration -> MARC framworks.

 - Click 'MARC structure' for a framework you can edit.
 - Click 'subfields' for a tag you can edit.
 - Click 'Delete' for a subfield you can delete. You should see a
   confirmation dialog styled like other "alert" type dialogs.
 - Test both canceling and confirming deletion to confirm that both
   function correctly.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 8323259d8401907975446af35f2a018748d35e40)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt