Bug 16801 - Include Font Awesome Icons to check/unchek all in Administration > Librar...
authorHector Castro <hector.hecaxmmx@gmail.com>
Wed, 22 Jun 2016 17:11:03 +0000 (11:11 -0600)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 14:43:12 +0000 (14:43 +0000)
For purpose to uniformity and leave just one entry in .po files,
this patch change: Check all/Uncheck all -> to -> Select all/Clear all.
Also added Font Awesome icons.

To test:
-Go to Administration > Library transfer limits
-Notice about Check all/Uncheck all for "For all items types" and
 "Policy for:"
-Apply patch and refresh the screen
-Notice about the new Select all/Clear all links with their icons
-Confirm that all links work as expected

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt

index 1515a6f..94b0753 100644 (file)
@@ -69,7 +69,7 @@
     </form>
 
 <p class="help">Check the boxes for the libraries you accept to checkin items from.</p>
-<fieldset>[% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]<a id="CheckAll" href="#">Check all</a> | <a id="UncheckAll" href="#">Uncheck all</a></fieldset>
+<fieldset>[% IF ( limitType == 'ccode' ) %]<strong>For all collection codes: </strong>[% ELSE %]<strong>For all item types: </strong>[% END %]<a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll" href="#"><i class="fa fa-remove"></i> Clear all</a></fieldset>
 
 
   <div id="transferlimit_tabs" class="toptabs">
@@ -82,7 +82,7 @@
        [% FOREACH codes_loo IN codes_loop %]
        <div id="[% codes_loo.code %]set">
                <h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4>
-    <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check all</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck all</a></p>
+    <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p>
        
                <table id="[% codes_loo.code %]table" class="sorted">
                        <thead>