Bug 16801 - Include Font Awesome Icons to check/unchek all in Administration > Library transfer limits

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>
This commit is contained in:
Hector Castro 2016-06-22 11:11:03 -06:00 committed by Kyle M Hall
parent 0716da922e
commit c9bb9dc140

View file

@ -69,7 +69,7 @@
</form> </form>
<p class="help">Check the boxes for the libraries you accept to checkin items from.</p> <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"> <div id="transferlimit_tabs" class="toptabs">
@ -82,7 +82,7 @@
[% FOREACH codes_loo IN codes_loop %] [% FOREACH codes_loo IN codes_loop %]
<div id="[% codes_loo.code %]set"> <div id="[% codes_loo.code %]set">
<h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4> <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"> <table id="[% codes_loo.code %]table" class="sorted">
<thead> <thead>