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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-11 / +6 lines)
Lines 340-369 Link Here
340
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
340
                        <span>[% Branches.GetLoggedInBranchname | html %] holdings ([% items_to_display_count - ( other_holdings_count || 0 ) - ( hidden_count || 0 ) || 0 | html %])</span>
341
                    [% END %]
341
                    [% END %]
342
                [% END %]
342
                [% END %]
343
                [% IF other_holdings_count %]
344
                    [% WRAPPER tab_item tabname= "otherholdings" %]
345
                        <span>Other holdings ([% other_holdings_count || 0 | html %])</span>
346
                    [% END %]
347
                [% END %]
343
            [% ELSE %]
348
            [% ELSE %]
344
                [% WRAPPER tab_item tabname= "holdings" %]
349
                [% WRAPPER tab_item tabname= "holdings" %]
345
                    <span>Holdings ([% items_to_display_count || 0 | html %])</span>
350
                    <span>Holdings ([% items_to_display_count || 0 | html %])</span>
346
                [% END %]
351
                [% END %]
347
            [% END %]
352
            [% END %]
348
349
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
353
            [% IF Koha.Preference('SeparateHoldingsByGroup') && lib_groups %]
350
                [% FOREACH group IN lib_groups %]
354
                [% FOREACH group IN lib_groups %]
351
                    [% IF ( holdings_count.${group.id} > 0 ) %]
355
                    [% IF ( holdings_count.${group.id} > 0 ) %]
352
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
356
                        [% WRAPPER tab_item tabname="group_holdings_" _ group.id %]
353
                            <span>[% group.title | html %] holdings ([% holdings_count.${group.id} | html %])</span>
357
                            <span>[% group.title | html %] - Group ([% holdings_count.${group.id} | html %])</span>
354
                        [% END %]
358
                        [% END %]
355
                    [% END %]
359
                    [% END %]
356
                [% END %]
360
                [% END %]
357
            [% END %]
361
            [% END %]
358
362
359
            [% IF Koha.Preference('SeparateHoldings') %]
360
                [% IF other_holdings_count %]
361
                    [% WRAPPER tab_item tabname= "otherholdings" %]
362
                        <span>Other holdings ([% other_holdings_count || 0 | html %])</span>
363
                    [% END %]
364
                [% END %]
365
            [% END %]
366
367
            [% IF Koha.Preference('EnableItemGroups') %]
363
            [% IF Koha.Preference('EnableItemGroups') %]
368
                [% WRAPPER tab_item tabname= "item_groups" %]
364
                [% WRAPPER tab_item tabname= "item_groups" %]
369
                    <span>Item groups</span>
365
                    <span>Item groups</span>
370
- 

Return to bug 41624