Bug 28975: (QA follow-up) Fix indentation, simplify if statement
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 72c10b2227)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
6d2756b7d7
commit
91830a27e2
|
|
@ -259,9 +259,9 @@
|
|||
<li>
|
||||
<label for="branchlimit">Library: </label>
|
||||
<select name="branchlimit" id="branchlimit">
|
||||
[% IF !Koha.Preference('IndependentBranches') || (Koha.Preference('IndependentBranches') && CAN_user_superlibrarian) %]
|
||||
<option value="">All</option>
|
||||
[% END %]
|
||||
[% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
|
||||
<option value="">All</option>
|
||||
[% END %]
|
||||
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
|
||||
</select>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue