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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-9 lines)
Lines 291-305 th { Link Here
291
    }
291
    }
292
}
292
}
293
293
294
295
.componentPartRecordsContainer {
296
    float: right;
297
    overflow-y: auto;
298
    overflow-x: hidden;
299
    max-width: 50%;
300
    max-height: 25em;
301
}
302
303
#members {
294
#members {
304
    p {
295
    p {
305
        color: #727272;
296
        color: #727272;
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+17 lines)
Lines 531-536 Link Here
531
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
531
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
532
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
532
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
533
                        [% END %]
533
                        [% END %]
534
                        [% IF ( ComponentParts ) %]<li><a href="#components">Components ([% ( ComponentParts.size || 1 ) %])</a></li>[% END %]
534
                        [% IF ( SYNDETICS_TOC ) %]
535
                        [% IF ( SYNDETICS_TOC ) %]
535
                            <li id="tab_toc"> <a href="#toc">TOC</a></li>
536
                            <li id="tab_toc"> <a href="#toc">TOC</a></li>
536
                        [% END %]
537
                        [% END %]
Lines 713-718 Link Here
713
                        </div> <!-- / #descriptions -->
714
                        </div> <!-- / #descriptions -->
714
                    [% END # / IF MARCNOTES || notes %]
715
                    [% END # / IF MARCNOTES || notes %]
715
716
717
                    [% IF ComponentParts.size %]
718
                    <div id="components">
719
                        <div class="content_set">
720
                            <table>
721
                                [% FOR PART IN ComponentParts %]
722
                                <tr>
723
                                    <td>
724
                                        [% PART | $raw %]
725
                                    </td>
726
                                </tr>
727
                                [% END %]
728
                            </table>
729
                        </div>
730
                    </div>
731
                    [% END %]
732
716
                    [% IF ( SyndeticsEnabled ) %]
733
                    [% IF ( SyndeticsEnabled ) %]
717
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
734
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
718
                            <div id="toc">
735
                            <div id="toc">
(-)a/opac/opac-detail.pl (-1 / +21 lines)
Lines 690-695 my $separatebranch = C4::Context->preference('OpacSeparateHoldingsBranch'); Link Here
690
my $viewallitems = $query->param('viewallitems');
690
my $viewallitems = $query->param('viewallitems');
691
my $max_items_to_display = C4::Context->preference('OpacMaxItemsToDisplay') // 50;
691
my $max_items_to_display = C4::Context->preference('OpacMaxItemsToDisplay') // 50;
692
692
693
# Get component parts details
694
my $showcomp = C4::Context->preference('ShowComponentRecords');
695
if ( $showcomp eq 'both' || $showcomp eq 'opac' ) {
696
    if ( my $components = $biblio->get_marc_analytics(300) ) {
697
        my $xslparts = C4::Context->preference('OPACXSLTResultsDisplay') || "default";
698
        if ( $xslparts ) {
699
            my $parts;
700
            for my $part ( @{$components} ) {
701
                $part = MARC::Record->new_from_xml( $part, 'UTF-8' );
702
703
                push @{$parts},
704
                  XSLTParse4Display( 1, $part, "OPACXSLTResultsDisplay", 1,
705
                    undef, $sysxml, $xslparts, $lang, );
706
            }
707
            $template->param(
708
               ComponentParts => $parts
709
            );
710
        }
711
    }
712
}
713
693
# Get items on order
714
# Get items on order
694
my ( @itemnumbers_on_order );
715
my ( @itemnumbers_on_order );
695
if ( C4::Context->preference('OPACAcquisitionDetails' ) ) {
716
if ( C4::Context->preference('OPACAcquisitionDetails' ) ) {
696
- 

Return to bug 11175