Lines 756-764
Link Here
|
756 |
, <span>None available</span> |
756 |
, <span>None available</span> |
757 |
[% END %] |
757 |
[% END %] |
758 |
</div> |
758 |
</div> |
759 |
[% IF SEARCH_RESULT.branchtotalcount > 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] |
759 |
[% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] |
760 |
<div class="branch_specific"> |
760 |
<div class="branch_specific"> |
761 |
[% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] |
761 |
[% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] |
762 |
, [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> |
762 |
, [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> |
763 |
[% ELSE %] |
763 |
[% ELSE %] |
764 |
, <span>None available</span> |
764 |
, <span>None available</span> |
Lines 774-782
Link Here
|
774 |
, <span>None available</span> |
774 |
, <span>None available</span> |
775 |
[% END %] |
775 |
[% END %] |
776 |
</div> |
776 |
</div> |
777 |
[% IF SEARCH_RESULT.branchtotalcount > 0 %] |
777 |
[% IF SEARCH_RESULT.branchtotalcount.size %] |
778 |
<div class="branch_specific"> |
778 |
<div class="branch_specific"> |
779 |
[% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] |
779 |
[% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %] |
780 |
, [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> |
780 |
, [% SEARCH_RESULT.branchavailablecount | html %] <span>available:</span> |
781 |
[% ELSE %] |
781 |
[% ELSE %] |
782 |
, <span>None available</span> |
782 |
, <span>None available</span> |
Lines 880-889
Link Here
|
880 |
[% ELSE %] |
880 |
[% ELSE %] |
881 |
<span class="unavailable all">No items</span> |
881 |
<span class="unavailable all">No items</span> |
882 |
[% END %] |
882 |
[% END %] |
|
|
883 |
[% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] |
884 |
<span class="unavailable branch_specific" style="display:none;">No items</span> |
885 |
[% END %] |
883 |
[% END # /IF ( SEARCH_RESULT.items_count ) %] |
886 |
[% END # /IF ( SEARCH_RESULT.items_count ) %] |
884 |
[% IF SEARCH_RESULT.branchtotalcount == 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] |
|
|
885 |
<span class="unavailable branch_specific">No items</span> |
886 |
[% END %] |
887 |
</div> |
887 |
</div> |
888 |
<!-- /.availability --> |
888 |
<!-- /.availability --> |
889 |
</td> |
889 |
</td> |
890 |
- |
|
|