Bug 8558: Improve confirmation message for importing frameworks
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 29 Apr 2019 03:30:30 +0000 (03:30 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 11 Jun 2019 15:15:26 +0000 (17:15 +0200)
commitf8b24adc75ef145b96556893d555de4971b8251d
treed92ab4c5ef180fe5089359218ac5608c6ee25ec6
parenta249ed65075958772f28b0fb7f9f0b2755e41f5d
Bug 8558: Improve confirmation message for importing frameworks

This patch updates the confirmation message from:
"Do you really want to import the framework fields and subfields? This
will overwrite the current configuration. For safety reasons please use
the export option to make a backup"
to:
"Are you sure you want to import the [% frameworkcode %]
framework structure? This will overwrite the current configuration. For
safety reasons, it is recommended to use the export option to make a
backup first."

To test:
1) Go to Administration -> MARC bibliographic frameworks
2) Export one of the frameworks
3) Create a new test framework
4) Import the new test framework structure using the exported file
5) Upon clicking Confirm, confirm the message is improved and makes
sense.

Sponsored-by: Catalyst IT
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit e4d1318550af78f76b7a43757bbdc4c5bddb4d5f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt
koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js