From 0e6f7861a8b62b3c4cebff7376eba9e7828bdb7d 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 Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- .../prog/en/modules/tools/batchMod-del.tt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 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 f0e83f1cbb..fd7913b850 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 @@ -42,9 +42,9 @@ [% END %] - [% IF ( item_loop ) %] - [% UNLESS ( too_many_items ) %] -

The following barcodes were found:

+ [% UNLESS ( too_many_items_display ) %] + [% IF ( item_loop ) %] +

The following barcodes were found:

[% END %] [% END %] [% END %] @@ -62,9 +62,9 @@ [% END %] - [% IF ( item_loop ) %] - [% UNLESS ( too_many_items ) %] -

The following itemnumbers were found:

+ [% UNLESS ( too_many_items_display ) %] + [% IF ( item_loop ) %] +

The following itemnumbers were found:

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

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

+[% IF ( too_many_items_display ) %] +

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

[% FOREACH itemnumber IN itemnumbers_array %] [% END %] @@ -136,11 +136,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.39.5