View | Details | Raw Unified | Return to bug 18693
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc (-5 / +5 lines)
Lines 1-10 Link Here
1
[%# First check to see if we have anything selected, otherwise we select all %]
1
[%# First check to see if we have anything selected, otherwise we select all %]
2
[% selectall = 1 %]
2
[% selectall = 1 %]
3
[% FOREACH branch IN branches;
3
[% FOREACH branch IN branches %]
4
    IF branch.selected;
4
    [% IF branch.selected %]
5
        selectall = 0;
5
        [% selectall = 0 %]
6
    END;
6
    [% END %]
7
END %]
7
[% END %]
8
<div class="branchselector">
8
<div class="branchselector">
9
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
9
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
10
    <div class="branchgridrow">
10
    <div class="branchgridrow">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-3 / +1 lines)
Lines 97-104 $(document).ready(function() { Link Here
97
        
97
        
98
        <li>
98
        <li>
99
            <label>Library: </label>
99
            <label>Library: </label>
100
            [% INCLUDE 'branch-selector.inc'
100
            [% INCLUDE 'branch-selector.inc' branches = libraries %]
101
                branches = libraries %]
102
        </li>
101
        </li>
103
    </ol>
102
    </ol>
104
103
105
- 

Return to bug 18693