@@ -, +, @@ modified/deleted in the Batch item tools --- .../intranet-tmpl/prog/en/includes/html_helpers.inc | 12 +++++++++--- koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -268,7 +268,9 @@ [% item.index + 1 | html %] [% IF checkboxes_edit %] [% UNLESS can_be_edited%] - Cannot edit + + + [% ELSE %] @@ -276,7 +278,9 @@ [% END %] [% ELSIF checkboxes_delete %] [% UNLESS can_be_edited %] - Cannot delete + + + [% ELSE %] [% IF item.safe_to_delete %] @@ -293,7 +297,9 @@ [% END %] [% END %] - + + + [% END %] [% END %] --- a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js +++ a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js @@ -127,6 +127,9 @@ $(document).ready(function () { ], "bPaginate": false, })); + // Highlight in yellow item rows that cannot be deleted + $(".error").parents('tr').find('td').css('background-color', '#ffff99'); + $("#selectallbutton").click(function (e) { e.preventDefault(); $("#itemst input:checkbox").each(function () { --