Bug 16438: Use Font Awesome icons in batch templates
Add Font Awesome icons in tables in authorities and bib records in batch item/record deletion, modification templates To test: 1- Go to Tools > Batch item/record deletion/modification 2- Try to delete/modify itmes/bib and authorities records 3- Look all tables presented and notice about the new icons in Select all Clear all, etc. 4- Apply patch and repeat step 1 to 3 Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Work, nice view. No Errors Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
This commit is contained in:
parent
553d06073b
commit
53c052be3e
4 changed files with 13 additions and 13 deletions
|
@ -75,7 +75,7 @@ for( x=0; x<allColumns.length; x++ ){
|
|||
[% END %]
|
||||
|
||||
[% IF ( item_loop ) %]
|
||||
[% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#">Select all</a> | <a id="clearallbutton" href="#">Clear all</a></div>[% END %]
|
||||
[% IF ( show ) %]<div id="toolbar"><a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a></div>[% END %]
|
||||
<div id="cataloguing_additem_itemlist">
|
||||
|
||||
<p id="selections"><strong>Show/hide columns:</strong> <span class="selected"><input type="checkbox" checked="checked" id="showall"/><label for="showall">Show all columns</label></span> <span><input type="checkbox" id="hideall"/><label for="hideall">Hide all columns</label></span>
|
||||
|
|
|
@ -108,7 +108,7 @@ $(document).ready(function(){
|
|||
[% IF ( item_loop ) %]
|
||||
[% IF show %]
|
||||
<div id="toolbar">
|
||||
<a id="selectallbutton" href="#">Select all</a> | <a id="clearallbutton" href="#">Clear all</a> | <a id="clearonloanbutton" href="#">Clear on loan</a>
|
||||
<a id="selectallbutton" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="clearallbutton" href="#"><i class="fa fa-remove"></i> Clear all</a> | <a id="clearonloanbutton" href="#"><i class="fa fa-remove"></i><i class="fa fa-cart-plus" aria-hidden="true"></i> Clear on loan</a>
|
||||
</div>
|
||||
[% END %]
|
||||
<div id="cataloguing_additem_itemlist">
|
||||
|
|
|
@ -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="selectwithoutitems" href="#">Select without items</a>
|
||||
| <a id="selectnotreserved" href="#">Select without holds</a>
|
||||
<a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
|
||||
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
|
||||
| <a id="selectwithoutitems" href="#"><i class="fa fa-check"></i><i class="fa fa-book fa-fw"></i>Select without items</a>
|
||||
| <a id="selectnotreserved" href="#"><i class="fa fa-check"></i><i class="fa fa-sticky-note-o"></i> Select without holds</a>
|
||||
</div>
|
||||
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post">
|
||||
<table id="biblios" class="records">
|
||||
|
@ -178,9 +178,9 @@ $(document).ready(function() {
|
|||
<div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will delete all selected bibliographic records, attached subscriptions, existing holds, and attached 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 used authorities</a>
|
||||
<a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
|
||||
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
|
||||
| <a id="clearlinkedtobiblio" href="#"><i class="fa fa-remove"></i><i class="fa fa-bars"></i> Clear used authorities</a>
|
||||
</div>
|
||||
<form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post">
|
||||
<table id="authorities" class="records">
|
||||
|
|
|
@ -192,8 +192,8 @@ $(document).ready(function() {
|
|||
</div>
|
||||
[% IF recordtype == 'biblio' %]
|
||||
<div id="toolbar">
|
||||
<a id="selectall" href="#">Select all</a>
|
||||
| <a id="clearall" href="#">Clear all</a>
|
||||
<a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
|
||||
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
|
||||
</div>
|
||||
<table id="biblios" class="records">
|
||||
<thead>
|
||||
|
@ -218,8 +218,8 @@ $(document).ready(function() {
|
|||
<div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div>
|
||||
[% ELSE %]
|
||||
<div id="toolbar">
|
||||
<a id="selectall" href="#">Select all</a>
|
||||
| <a id="clearall" href="#">Clear all</a>
|
||||
<a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
|
||||
| <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
|
||||
</div>
|
||||
<table id="authorities" class="records">
|
||||
<thead>
|
||||
|
|
Loading…
Reference in a new issue