Bug 23464: (follow-up) QA fixes
authorOwen Leonard <oleonard@myacpl.org>
Thu, 22 Aug 2019 18:55:21 +0000 (18:55 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 9 Sep 2019 10:27:12 +0000 (11:27 +0100)
commite4e5f96ffb2bfdc269f46f15e9cfeed1b96ea5b7
treeebec504a797e096c39b9b4a473211dd3d10a0eec
parentefd4121941fb129adc57bca35483cd3334884820
Bug 23464: (follow-up) QA fixes

This patch corrects two issues raised during testing:

 - Move JavaScript out of template check for IntranetUserJS so that
   SpineLabelAutoPrint behavior works correctly.
 - Add "close" button to pop-up window for cases when the barcode was
   not found.

Also changed:

- Added "required" attribute to barcode input on quick spine
  label printing page so that submitting an empty form will not work.

- Tweaked CSS slightly to fix alignment of spine label form and submit
  button. (You must rebuild the staff client CSS:
 https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client)

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt