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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-8 / +2 lines)
Lines 268-274 Link Here
268
            <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
268
            <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
269
        </li>
269
        </li>
270
    [% END %]
270
    [% END %]
271
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
271
[% IF ( MARCNOTES ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
272
[% IF ComponentParts && ComponentParts.size %]<li id="components_tab"><a href="#components">Components ([% ComponentParts.size | html %])</a></li>[% END %]
272
[% IF ComponentParts && ComponentParts.size %]<li id="components_tab"><a href="#components">Components ([% ComponentParts.size | html %])</a></li>[% END %]
273
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
273
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
274
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
274
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
Lines 650-661 Note that permanent location is a code, and location may be an authval. Link Here
650
    </div>
650
    </div>
651
[% END %]
651
[% END %]
652
652
653
[% IF ( MARCNOTES || notes ) %]
653
[% IF ( MARCNOTES ) %]
654
654
655
<div id="description">
655
<div id="description">
656
<div class="content_set">
656
<div class="content_set">
657
657
658
[% IF ( MARCNOTES ) %]
659
    [% FOREACH MARCNOTE IN MARCNOTES %]
658
    [% FOREACH MARCNOTE IN MARCNOTES %]
660
        <p>
659
        <p>
661
        [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
660
        [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
Lines 664-674 Note that permanent location is a code, and location may be an authval. Link Here
664
            [% MARCNOTE.marcnote | html | html_line_break %]
663
            [% MARCNOTE.marcnote | html | html_line_break %]
665
        [% END %]
664
        [% END %]
666
        </p>
665
        </p>
667
    [% END %]
668
[% ELSE %]
669
    [% IF ( notes ) %]
670
        <p>[% notes | html %]</p>
671
    [% END %]
672
[% END %]
666
[% END %]
673
</div>
667
</div>
674
</div>
668
</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-10 / +3 lines)
Lines 392-403 Link Here
392
                        [% IF (SeparateHoldings) %]
392
                        [% IF (SeparateHoldings) %]
393
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
393
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
394
                        [% END %]
394
                        [% END %]
395
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
395
                        [% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
396
                            [% SET title_notes_count = 0 %]
396
                            [% SET title_notes_count = 0 %]
397
                            [% IF MARCNOTES %]
397
                            [% IF MARCNOTES %]
398
                                [% SET title_notes_count = MARCNOTES.size %]
398
                                [% SET title_notes_count = MARCNOTES.size %]
399
                            [% ELSIF notes %]
400
                                [% SET title_notes_count = 1 %]
401
                            [% END %]
399
                            [% END %]
402
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
400
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
403
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
401
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
Lines 562-568 Link Here
562
                        </div>
560
                        </div>
563
                    [% END # / SeparateHoldings %]
561
                    [% END # / SeparateHoldings %]
564
562
565
                    [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
563
                    [% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
566
                        <div id="descriptions">
564
                        <div id="descriptions">
567
                            <div class="content_set">
565
                            <div class="content_set">
568
566
Lines 583-597 Link Here
583
                                        </p>
581
                                        </p>
584
                                    [% END %]
582
                                    [% END %]
585
                                    </div>
583
                                    </div>
586
                                [% ELSE %]
587
                                    [% IF ( notes ) %]
588
                                        <p>[% notes | html %]</p>
589
                                    [% END %]
590
                                [% END %]
584
                                [% END %]
591
585
592
                            </div> <!-- /.content_set -->
586
                            </div> <!-- /.content_set -->
593
                        </div> <!-- / #descriptions -->
587
                        </div> <!-- / #descriptions -->
594
                    [% END # / IF MARCNOTES || notes %]
588
                    [% END # / IF MARCNOTES %]
595
589
596
                    [% IF ComponentParts && ComponentParts.size %]
590
                    [% IF ComponentParts && ComponentParts.size %]
597
                    <div id="components">
591
                    <div id="components">
598
- 

Return to bug 17127