Bugzilla – Attachment 60118 Details for
Bug 18041
Updating buttons in Batch Item Mod and Deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18041: Updating buttons in Batch Item modification and deletion
Bug-18041-Updating-buttons-in-Batch-Item-modificat.patch (text/plain), 3.98 KB, created by
Marc Véron
on 2017-02-10 14:45:21 UTC
(
hide
)
Description:
Bug 18041: Updating buttons in Batch Item modification and deletion
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-02-10 14:45:21 UTC
Size:
3.98 KB
patch
obsolete
>From 0fab325feb089005918a3c2c0f69cf1994a22d16 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 2 Feb 2017 23:08:52 +0000 >Subject: [PATCH] Bug 18041: Updating buttons in Batch Item modification and > deletion >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Go to Tools -> Batch item modification >2) Put a barcode in and click Continue (notice ugly button) >3) Scroll to the bottom of the page and click Save (you don't have to > make any changes) (Notice ugly button) >4) I am leaving the Return button as is >5) Go to Tools -> Batch item deletion >6) Put a barcode in and click Continue (notice ugly button) >7) Uncheck the selected item (so you don't actually delete anything) and >click Delete selected items (Notice ugly button) >8) I am leaving the Return button as is >9) Apply patch and repeat steps 1-8. Notice changes to buttons > >Sponsored-by: Catalyst IT > >Followed test plan, works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 4 ++-- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt | 2 +- > 3 files changed, 4 insertions(+), 4 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 d66d15d..18c3177 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 >@@ -137,9 +137,9 @@ $(document).ready(function(){ > <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 %] >- <input type="submit" name="mainformsubmit" value="Delete ALL submitted items" /> >+ <button type="submit" name="mainformsubmit" class="btn btn-primary btn-sm"><i class="fa fa-trash"></i> Delete ALL submitted items</button> > [% ELSE %] >- <input type="submit" name="mainformsubmit" value="Delete selected items" /> >+ <button type="submit" name="mainformsubmit" class="btn btn-primary btn-sm"><i class="fa fa-trash"></i> Delete selected items</button> > [% END %] > > <a href="/cgi-bin/koha/tools/batchMod.pl?del=1" class="cancel">Cancel</a> >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..a4f312f 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 >@@ -252,7 +252,7 @@ $(document).ready(function(){ > <div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div> > <div id="jobfailed"></div> > </div> >- <input type="submit" id="mainformsubmit" value="Save" /> >+ <button type="submit" id="mainformsubmit" class="btn btn-primary btn-sm"><i class="fa fa-floppy-o"></i> Save</button> > <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a> > </fieldset> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >index 115e4ea..d085f10 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >@@ -60,7 +60,7 @@ > > [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %] > <fieldset class="action"> >- <input type="submit" value="Continue" class="button" /> >+ <button type="submit" class="btn btn-default btn-sm">Continue</button> > <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> > </fieldset> > >-- >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 18041
:
59834
|
59958
| 60118