From 27407d3e5feac7766b2390330c44aeb4c07fce10 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 14 Nov 2022 15:33:45 +0000 Subject: [PATCH] Bug 32169: Add page-section and fieldsets to batch item modification This patch extends some alert boxes to include the error details tables and updates the html_helpers include to add a page-section around the item results table Signed-off-by: Katrin Fischer --- .../prog/en/includes/html_helpers.inc | 8 ++-- .../prog/en/modules/tools/batchMod-edit.tt | 45 +++++++++---------- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index 237500bf7a..c7ac3823c1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -209,12 +209,12 @@ [% END %] [% BLOCK items_table_batchmod %] - +
[% IF display_columns_selection %][%# Needs js/pages/batchMod.js %] [% IF checkboxes_edit OR checkboxes_delete %] - + [% END %]
@@ -339,5 +339,5 @@ [% END # /FOREACH items %] - +
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index d1c789e3ab..e1dbacec60 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -75,7 +75,6 @@
[% END %] - [% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique. @@ -90,19 +89,19 @@ [% IF ( notfoundbarcodes.size ) %]

Warning, the following barcodes were not found:

+
+ + + + + + [% FOREACH notfoundbarcode IN notfoundbarcodes %] + + [% END %] + +
Barcodes not found
[% notfoundbarcode |html %]
- - - - - - [% FOREACH notfoundbarcode IN notfoundbarcodes %] - - [% END %] - -
Barcodes not found
[% notfoundbarcode |html %]
- [% IF ( item_loop ) %] [% UNLESS ( too_many_items_display ) %]

The following barcodes were found:

@@ -113,18 +112,18 @@ [% IF ( notfounditemnumbers.size ) %]

Warning, the following itemnumbers were not found:

+
+ + + + + + [% FOREACH notfounditemnumber IN notfounditemnumbers %] + + [% END %] + +
Itemnumbers not found
[% notfounditemnumber |html %]
- - - - - - - [% FOREACH notfounditemnumber IN notfounditemnumbers %] - - [% END %] - -
Itemnumbers not found
[% notfounditemnumber |html %]
[% IF ( item_loop ) %] [% UNLESS ( too_many_items_display ) %]

The following itemnumbers were found:

-- 2.30.2