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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +3 lines)
Lines 274-280 Link Here
274
        </li>
274
        </li>
275
    [% END %]
275
    [% END %]
276
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
276
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
277
[% IF ( ComponentParts ) %]<li id="components_tab"><a href="#components">Components ([% ( ComponentParts.size ) %])</a></li>[% END %]
277
[% IF ComponentParts && ComponentParts.size %]<li id="components_tab"><a href="#components">Components ([% ComponentParts.size %])</a></li>[% END %]
278
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
278
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
279
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
279
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
280
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %]
280
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %]
Lines 680-686 Note that permanent location is a code, and location may be an authval. Link Here
680
680
681
[% END %]
681
[% END %]
682
682
683
[% IF ComponentParts.size %]
683
[% IF ComponentParts && ComponentParts.size %]
684
<div id="components">
684
<div id="components">
685
    <div class="content_set">
685
    <div class="content_set">
686
        <table>
686
        <table>
Lines 1271-1277 Note that permanent location is a code, and location may be an authval. Link Here
1271
            [% IF count == 0 %]
1271
            [% IF count == 0 %]
1272
            [% IF ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) && HTML5MediaSets.size %]
1272
            [% IF ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) && HTML5MediaSets.size %]
1273
            $('#bibliodetails').tabs("option", "active", $('#media_tab').index() );
1273
            $('#bibliodetails').tabs("option", "active", $('#media_tab').index() );
1274
            [% ELSIF ComponentParts %]
1274
            [% ELSIF ComponentParts && ComponentParts.size %]
1275
            $('#bibliodetails').tabs("option", "active", $('#components_tab').index() );
1275
            $('#bibliodetails').tabs("option", "active", $('#components_tab').index() );
1276
            [% END %]
1276
            [% END %]
1277
            [% END %]
1277
            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 378-384 Link Here
378
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
378
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
379
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
379
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
380
                        [% END %]
380
                        [% END %]
381
                        [% IF ( ComponentParts ) %]
381
                        [% IF ComponentParts && ComponentParts.size %]
382
                            [% IF defaulttab == 'components' %]
382
                            [% IF defaulttab == 'components' %]
383
                            <li id="tab_components" class="ui-tabs-active">
383
                            <li id="tab_components" class="ui-tabs-active">
384
                            [% ELSE %]
384
                            [% ELSE %]
Lines 569-575 Link Here
569
                        </div> <!-- / #descriptions -->
569
                        </div> <!-- / #descriptions -->
570
                    [% END # / IF MARCNOTES || notes %]
570
                    [% END # / IF MARCNOTES || notes %]
571
571
572
                    [% IF ComponentParts.size %]
572
                    [% IF ComponentParts && ComponentParts.size %]
573
                    <div id="components">
573
                    <div id="components">
574
                        <div class="content_set">
574
                        <div class="content_set">
575
                            <table>
575
                            <table>
576
- 

Return to bug 11175