From 16e40f073bb9e3e9c470ec8fed5934693d4f61c8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 16 Jul 2018 17:41:28 +0000 Subject: [PATCH] Bug 19722: (follow-up) Adjust template parameters Before we passed 'too_many_items' this was renamed to 'too_many_items_display' but deletion template lacked changes To test: 1 - Test a batch deletion by list and file 2 - Test with deleting biblios and without 3 - Results should be as expected --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt index 835be89..64fe7bd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt @@ -44,7 +44,7 @@ [% END %] - [% UNLESS ( too_many_items ) %] + [% UNLESS ( too_many_items_display ) %] [% IF ( item_loop ) %]

The following barcodes were found:

[% END %] [% END %] [% END %] @@ -104,8 +104,8 @@ [% IF ( show ) %] -[% IF ( too_many_items ) %] -

Too many items ([% too_many_items %]) to display individually.

+[% IF ( too_many_items_display ) %] +

Too many items ([% too_many_items_display %]) to display individually.

[% FOREACH itemnumber IN itemnumbers_array %] [% END %] @@ -114,11 +114,11 @@ [% IF ( itemresults ) %]
-

This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.

+

This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.

- [% IF too_many_items %] + [% IF too_many_items_display %] [% ELSE %] -- 2.1.4