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 commit72c10b2227) Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> (cherry picked from commit91830a27e2) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit93db86326b) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
441c282779
commit
d27798f793
|
|
@ -237,9 +237,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