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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-7 / +10 lines)
Lines 327-352 Link Here
327
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
327
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
328
                    [% END %]
328
                    [% END %]
329
                [% END %]
329
                [% END %]
330
                [% IF other_holdings_count %]
331
                    [% WRAPPER tab_item tabname= "otherholdings" %]
332
                        <span>Other holdings ([% other_holdings_count || 0 | html %])</span>
333
                    [% END %]
334
                [% END %]
335
            [% ELSE %]
330
            [% ELSE %]
336
                [% WRAPPER tab_item tabname= "holdings" %]
331
                [% WRAPPER tab_item tabname= "holdings" %]
337
                    <span>Holdings ([% items_to_display_count || 0 | html %])</span>
332
                    <span>Holdings ([% items_to_display_count || 0 | html %])</span>
338
                [% END %]
333
                [% END %]
339
            [% END %]
334
            [% END %]
335
340
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
336
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
341
                [% FOREACH group IN lib_groups %]
337
                [% FOREACH group IN lib_groups %]
342
                    [% IF ( holdings_count.${group.id} > 0 ) %]
338
                    [% IF ( holdings_count.${group.id} > 0 ) %]
343
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
339
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
344
                            <span>[% group.title | html %] - Group ([% holdings_count.${group.id} | html %])</span>
340
                            <span>[% group.title | html %] holdings ([% holdings_count.${group.id} | html %])</span>
345
                        [% END %]
341
                        [% END %]
346
                    [% END %]
342
                    [% END %]
347
                [% END %]
343
                [% END %]
348
            [% END %]
344
            [% END %]
349
345
346
            [% IF Koha.Preference('SeparateHoldings') %]
347
                [% IF other_holdings_count %]
348
                    [% WRAPPER tab_item tabname= "otherholdings" %]
349
                        <span>Other holdings ([% other_holdings_count || 0 | html %])</span>
350
                    [% END %]
351
                [% END %]
352
            [% END %]
353
350
            [% IF Koha.Preference('EnableItemGroups') %]
354
            [% IF Koha.Preference('EnableItemGroups') %]
351
                [% WRAPPER tab_item tabname= "item_groups" %]
355
                [% WRAPPER tab_item tabname= "item_groups" %]
352
                    <span>Item groups</span>
356
                    <span>Item groups</span>
353
- 

Return to bug 35211