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 273-279 Link Here
273
            <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
273
            <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
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 ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %]
277
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
277
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
278
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
278
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
279
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %]
279
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %]
Lines 654-665 Note that permanent location is a code, and location may be an authval. Link Here
654
    </div>
654
    </div>
655
[% END %]
655
[% END %]
656
656
657
[% IF ( MARCNOTES || notes ) %]
657
[% IF ( MARCNOTES ) %]
658
658
659
<div id="description">
659
<div id="description">
660
<div class="content_set">
660
<div class="content_set">
661
661
662
[% IF ( MARCNOTES ) %]
663
    [% FOREACH MARCNOTE IN MARCNOTES %]
662
    [% FOREACH MARCNOTE IN MARCNOTES %]
664
        <p>
663
        <p>
665
        [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
664
        [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
Lines 668-678 Note that permanent location is a code, and location may be an authval. Link Here
668
            [% MARCNOTE.marcnote | html | html_line_break %]
667
            [% MARCNOTE.marcnote | html | html_line_break %]
669
        [% END %]
668
        [% END %]
670
        </p>
669
        </p>
671
    [% END %]
672
[% ELSE %]
673
    [% IF ( notes ) %]
674
        <p>[% notes | html %]</p>
675
    [% END %]
676
[% END %]
670
[% END %]
677
</div>
671
</div>
678
</div>
672
</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-10 / +3 lines)
Lines 368-379 Link Here
368
                        [% IF (SeparateHoldings) %]
368
                        [% IF (SeparateHoldings) %]
369
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
369
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a></li>
370
                        [% END %]
370
                        [% END %]
371
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
371
                        [% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
372
                            [% SET title_notes_count = 0 %]
372
                            [% SET title_notes_count = 0 %]
373
                            [% IF MARCNOTES %]
373
                            [% IF MARCNOTES %]
374
                                [% SET title_notes_count = MARCNOTES.size %]
374
                                [% SET title_notes_count = MARCNOTES.size %]
375
                            [% ELSIF notes %]
376
                                [% SET title_notes_count = 1 %]
377
                            [% END %]
375
                            [% END %]
378
                            [% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %]
376
                            [% 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>
377
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes ( [% title_notes_count | html %] )</a></li>
Lines 529-535 Link Here
529
                        </div>
527
                        </div>
530
                    [% END # / SeparateHoldings %]
528
                    [% END # / SeparateHoldings %]
531
529
532
                    [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
530
                    [% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
533
                        <div id="descriptions">
531
                        <div id="descriptions">
534
                            <div class="content_set">
532
                            <div class="content_set">
535
533
Lines 550-564 Link Here
550
                                        </p>
548
                                        </p>
551
                                    [% END %]
549
                                    [% END %]
552
                                    </div>
550
                                    </div>
553
                                [% ELSE %]
554
                                    [% IF ( notes ) %]
555
                                        <p>[% notes | html %]</p>
556
                                    [% END %]
557
                                [% END %]
551
                                [% END %]
558
552
559
                            </div> <!-- /.content_set -->
553
                            </div> <!-- /.content_set -->
560
                        </div> <!-- / #descriptions -->
554
                        </div> <!-- / #descriptions -->
561
                    [% END # / IF MARCNOTES || notes %]
555
                    [% END # / IF MARCNOTES %]
562
556
563
                    [% IF ( SyndeticsEnabled ) %]
557
                    [% IF ( SyndeticsEnabled ) %]
564
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
558
                        [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
565
- 

Return to bug 17127