Bugzilla – Attachment 87034 Details for
Bug 19722
Add a MaxItemsToDisplayForBatchMod preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19722: (follow-up) Adjust template parameters
Bug-19722-follow-up-Adjust-template-parameters.patch (text/plain), 3.10 KB, created by
Nick Clemens (kidclamp)
on 2019-03-26 20:23:15 UTC
(
hide
)
Description:
Bug 19722: (follow-up) Adjust template parameters
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2019-03-26 20:23:15 UTC
Size:
3.10 KB
patch
obsolete
>From 5a355491b4b730d9d2558aedcb0366a0c12d9294 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 >--- > .../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 %] > </tbody> > </table> >- [% IF ( item_loop ) %] >- [% UNLESS ( too_many_items ) %] >- <h4>The following barcodes were found: </h4> >+ [% UNLESS ( too_many_items_display ) %] >+ [% IF ( item_loop ) %] >+ <h4>The following barcodes were found: </h4> > [% END %] > [% END %] > [% END %] <!-- /notfoundbarcodes --> >@@ -62,9 +62,9 @@ > [% END %] > </tbody> > </table> >- [% IF ( item_loop ) %] >- [% UNLESS ( too_many_items ) %] >- <h4>The following itemnumbers were found: </h4> >+ [% UNLESS ( too_many_items_display ) %] >+ [% IF ( item_loop ) %] >+ <h4>The following itemnumbers were found: </h4> > [% END %] > [% END %] > [% END %] <!-- /notfounditemnumbers --> >@@ -126,8 +126,8 @@ > > [% IF ( show ) %] > >-[% IF ( too_many_items ) %] >- <p>Too many items ([% too_many_items | html %]) to display individually.</p> >+[% IF ( too_many_items_display ) %] >+ <p>Too many items ([% too_many_items_display | html %]) to display individually.</p> > [% FOREACH itemnumber IN itemnumbers_array %] > <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> > [% END %] >@@ -136,11 +136,11 @@ > [% IF ( itemresults ) %] > <div id="cataloguing_additem_newitem"> > <input type="hidden" name="op" value="[% op | html %]" /> >- <p>This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.</p> >+ <p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p> > <input type="hidden" name="del" value="1" /> > <fieldset class="action"> > <input type="checkbox" name="del_records" id="del_records" /> <label for="del_records">Delete records if no items remain.</label> >- [% IF too_many_items %] >+ [% IF too_many_items_display %] > <input type="submit" name="mainformsubmit" value="Delete ALL submitted items" /> > [% ELSE %] > <input type="submit" name="mainformsubmit" value="Delete selected items" /> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19722
:
69426
|
74682
|
77020
|
87033
|
87034
|
87035
|
87077
|
87078
|
87079