Bugzilla – Attachment 60119 Details for
Bug 18095
Batch item modification: Better message if no item is modified
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18095: Batch item modification: Better message if no item is modified
Bug-18095-Batch-item-modification-Better-message-i.patch (text/plain), 1.90 KB, created by
Marc Véron
on 2017-02-10 15:09:03 UTC
(
hide
)
Description:
Bug 18095: Batch item modification: Better message if no item is modified
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-02-10 15:09:03 UTC
Size:
1.90 KB
patch
obsolete
>From ef1ba1a5b723236e6d4eacbf07cccce50b0498aa Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Fri, 10 Feb 2017 16:07:13 +0100 >Subject: [PATCH] Bug 18095: Batch item modification: Better message if no item > is modified > >If no item is modified, the result page of Batch item modification says: >"item(s) modified (with fields modified)." >The message should be: "No items modified" > >To reproduce: >- Go to Tools -> Batch item modification >- Put a barcode in and click Continue >- Do not make any changes and/or deselect all item(s) >- Click "Save" >=> Result message reads: "item(s) modified (with fields modified)." > >To test: >- Apply patch >- Repeat steps above >- Verify that message makes sense. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >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 2fd838f..c04733c 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 >@@ -70,7 +70,11 @@ $(document).ready(function(){ > [% ELSE %] > <h1>Batch item modification results</h1> > <div class="dialog message"> >- [% modified_items %] item(s) modified (with [% modified_fields %] fields modified). >+ [% IF (modified_items) %] >+ [% modified_items %] item(s) modified (with [% modified_fields %] field(s) modified). >+ [% ELSE %] >+ No items modified. >+ [% END %] > <fieldset class="action"> > [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">Return to the record</a> >-- >2.1.4
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 18095
:
60119
|
60128
|
60178