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> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
2b284f7e14
commit
ee836ebb64
3 changed files with 10 additions and 10 deletions
|
@ -9415,7 +9415,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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue