Bug 34388: Fix inconsistencies in Patron restriction types page headers
authorOwen Leonard <oleonard@myacpl.org>
Mon, 21 Aug 2023 15:11:38 +0000 (15:11 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Sep 2023 14:07:39 +0000 (11:07 -0300)
commitbc427bf433c86a7a13a65725e01d2cc1d702169b
tree3c07c6a17ece4adc23a10062d95a298f7d37f9e4
parent0ad83f95ec33dcdcbd341ce11d678eb457ec3ce2
Bug 34388: Fix inconsistencies in Patron restriction types page headers

This patch fixes a couple of inconsistencies in the style of the patron
restriction types administration screen, making sure the restriction
type name is consistently in single quotes in headings and formatting
the deletion confirmation page like other administration interfaces.

Note: This patch contains indentation spaces, so ignore whitespace when
viewing the diff.

To test, apply the patch and go to Administration -> Patron restriction
types.

- If necessary, add a custom restriction type.
- After saving it, edit it.
- The page title, breadcrumb, and page heading should match: "Modify
  restriction type 'X'

- From the list of restriction types, click "Delete" on one of your
  custom restriction types.
- On the deletion confirmation page you should see a standard
  alert-style dialog box and two button options: "Yes, delete" and "No,
  do not delete." Both should work correctly.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt