Bugzilla – Attachment 32853 Details for
Bug 12403
Batch record deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12403: Follow-up - fixing a few typos
SIGNED-OFF-Bug-12403-Follow-up---fixing-a-few-typo.patch (text/plain), 4.32 KB, created by
Bernardo Gonzalez Kriegel
on 2014-10-28 19:03:30 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12403: Follow-up - fixing a few typos
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-10-28 19:03:30 UTC
Size:
4.32 KB
patch
obsolete
>From baf7754dd852086ca9fc7377f798b7f81dddd86c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 26 Oct 2014 22:10:00 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 12403: Follow-up - fixing a few typos > >- Fixes the permission on the tools page >- Fixes some capitalization >- Changes 'Reserves' to 'Holds' > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > .../prog/en/modules/tools/batch_delete_records.tt | 16 ++++++++-------- > tools/batch_delete_records.pl | 2 +- > 3 files changed, 10 insertions(+), 10 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 5880e67..f4a8b3c 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -8897,7 +8897,7 @@ if ( CheckVersion($DBversion) ) { > INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'records_batchdel', 'Perform batch deletion of records (biblios or authorities)') > |); >- print "Upgrade to $DBversion done (Bug 12403: Add permission tools_records_batchdelitem)\n"; >+ print "Upgrade to $DBversion done (Bug 12403: Add permission tools_records_batchdel)\n"; > SetVersion($DBversion); > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >index f7fa79e..6afc7bf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt >@@ -7,7 +7,7 @@ > <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <script type="text/javascript"> > //<![CDATA[ >-var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently issued"); >+var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out."); > $(document).ready(function() { > $("#selectall").click(function(e){ > e.preventDefault(); >@@ -145,10 +145,10 @@ $(document).ready(function() { > [% IF records %] > [% IF recordtype == 'biblio' %] > <div id="toolbar"> >- <a id="selectall" href="#">Select All</a> >- | <a id="clearall" href="#">Clear All</a> >+ <a id="selectall" href="#">Select all</a> >+ | <a id="clearall" href="#">Clear all</a> > | <a id="selectwithoutitems" href="#">Select without items</a> >- | <a id="selectnotreserved" href="#">Select not reserved</a> >+ | <a id="selectnotreserved" href="#">Select without holds</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> > <table id="biblios" class="records"> >@@ -158,7 +158,7 @@ $(document).ready(function() { > <th>Biblionumber</th> > <th>Title</th> > <th>Items</th> >- <th>Reserves</th> >+ <th>Holds</th> > <th>Issues</th> > </tr> > </thead> >@@ -178,9 +178,9 @@ $(document).ready(function() { > <div class="note">Reminder: this action will delete all selected biblios, attached subscriptions, existing holds and items!</div> > [% ELSE %] > <div id="toolbar"> >- <a id="selectall" href="#">Select All</a> >- | <a id="clearall" href="#">Clear All</a> >- | <a id="clearlinkedtobiblio" href="#">Clear linked to biblio </a> >+ <a id="selectall" href="#">Select all</a> >+ | <a id="clearall" href="#">Clear all</a> >+ | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a> > </div> > <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post"> > <table id="authorities" class="records"> >diff --git a/tools/batch_delete_records.pl b/tools/batch_delete_records.pl >index 7bb8489..8376d60 100755 >--- a/tools/batch_delete_records.pl >+++ b/tools/batch_delete_records.pl >@@ -38,7 +38,7 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ > query => $input, > type => "intranet", > authnotrequired => 0, >- flagsrequired => { tools => 'biblio_batchdel' }, >+ flagsrequired => { tools => 'records_batchdel' }, > }); > > my @records; >-- >1.9.1
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 12403
:
28764
|
28765
|
28766
|
29565
|
29566
|
29567
|
30986
|
30987
|
32252
|
32253
|
32778
|
32779
|
32780
|
32845
|
32853
|
32854
|
32859
|
32860
|
32861
|
32862
|
32863
|
32864
|
32865
|
32866