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"> |