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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-45 / +42 lines)
Lines 46-52 Link Here
46
<div class="main">
46
<div class="main">
47
    <ul class="breadcrumb">
47
    <ul class="breadcrumb">
48
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
48
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
49
        <li><a href="#">Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
49
        <li><a href="#"><span>Details for: </span>[% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</a></li>
50
    </ul>
50
    </ul>
51
51
52
    <div class="container-fluid">
52
    <div class="container-fluid">
Lines 243-250 Link Here
243
                        [% IF ( collectiontitle ) %]
243
                        [% IF ( collectiontitle ) %]
244
                            <span class="results_summary collection"><span class="label">Collection: </span>
244
                            <span class="results_summary collection"><span class="label">Collection: </span>
245
                                [% collectiontitle %]
245
                                [% collectiontitle %]
246
                                [% IF ( collectionissn ) %], ISSN [% collectionissn %]    [% END %]
246
                                [% IF ( collectionissn ) %] [% ', ISSN ' _  collectionissn %][% END %]
247
                                [% IF ( collectionvolume ) %]; [% collectionvolume %] [% END %]
247
                                [% IF ( collectionvolume ) %] [% ' ; ' _ collectionvolume %] [% END %]
248
248
249
                            </span>
249
                            </span>
250
                        [% END %]
250
                        [% END %]
Lines 303-311 Link Here
303
                                    [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
303
                                    [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
304
                                        [% SUBFIELD.separator %]
304
                                        [% SUBFIELD.separator %]
305
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
305
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
306
                                            <a role="button" data-toggle="modal" title="$[% SUBFIELD.code %] [% SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#subjectSearch" onclick="showSubjects(this, [% subjectsloop.count %], [% loop.count %]); return false;">[% SUBFIELD.value %]</a>
306
                                            <a role="button" data-toggle="modal" title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]#subjectSearch" onclick="showSubjects(this, [% subjectsloop.count %], [% loop.count %]); return false;">[% SUBFIELD.value %]</a>
307
                                        [% ELSE %]
307
                                        [% ELSE %]
308
                                            <a title="$[% SUBFIELD.code %] [% SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% SUBFIELD.value %]</a>
308
                                            <a title="[% '$' _ SUBFIELD.code _ ' ' _ SUBFIELD.value %]" href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN SUBFIELD.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% SUBFIELD.value %]</a>
309
                                        [% END %]
309
                                        [% END %]
310
                                    [% END %]
310
                                    [% END %]
311
                                    [% IF (MARCSUBJCT.authoritylink) %]
311
                                    [% IF (MARCSUBJCT.authoritylink) %]
Lines 540-556 Link Here
540
                </div> <!-- / #catalogue_detail_biblio -->
540
                </div> <!-- / #catalogue_detail_biblio -->
541
541
542
                <div id="bibliodescriptions" class="toptabs">
542
                <div id="bibliodescriptions" class="toptabs">
543
544
                    <ul>
543
                    <ul>
545
                        [% IF ( defaulttab == 'holdings' ) %]
544
                        [% IF ( defaulttab == 'holdings' ) %]
546
                            <li id="tab_holdings" class="ui-tabs-active">
545
                            <li id="tab_holdings" class="ui-tabs-active">
547
                        [% ELSE %]
546
                        [% ELSE %]
548
                            <li id="tab_holdings">
547
                            <li id="tab_holdings">
549
                        [% END %]
548
                        [% END %]
550
                            <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] [% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]</a>
549
                        [% BLOCK holding_tab_title %][% IF SeparateHoldings %]<span>[% LoginBranchname %] holdings</span>[% ELSE %]<span>Holdings</span>[% END %][% END %]
550
                            <a href="#holdings">[% INCLUDE holding_tab_title %] [% UNLESS too_many_items %][% ' ( ' _ (itemloop.size || 0) _ ' )' %][% END %]</a>
551
                        </li>
551
                        </li>
552
                        [% IF (SeparateHoldings) %]
552
                        [% IF (SeparateHoldings) %]
553
                            <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li>
553
                            <li><a href="#otherholdings">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' %]</a></li>
554
                        [% END %]
554
                        [% END %]
555
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
555
                        [% IF ( MARCNOTES || notes || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
556
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
556
                            <li id="tab_descriptions"> <a href="#descriptions">Title notes</a></li>
Lines 593-599 Link Here
593
                        [% END %]
593
                        [% END %]
594
594
595
                        [% IF Koha.Preference( 'reviewson' ) == 1 %]
595
                        [% IF Koha.Preference( 'reviewson' ) == 1 %]
596
                            <li id="tab_comments"><a href="#comments">Comments ( [% reviews.size || 0 %] )</a></li>
596
                            <li id="tab_comments"><a href="#comments">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' %]</a></li>
597
                        [% END %]
597
                        [% END %]
598
598
599
                        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
599
                        [% IF ( NovelistSelectProfile && normalized_isbn ) %]
Lines 656-676 Link Here
656
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
656
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
657
                            [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
657
                            [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
658
                              [% IF acquisition_details.total_quantity == 1 %]
658
                              [% IF acquisition_details.total_quantity == 1 %]
659
                                1 item is on order.
659
                                <span>1 item is on order.</span>
660
                              [% ELSE %]
660
                              [% ELSE %]
661
                                [% acquisition_details.total_quantity %] items are on order.
661
                                <span>[% acquisition_details.total_quantity %] items are on order.</span>
662
                              [% END %]
662
                              [% END %]
663
                            [% END %]
663
                            [% END %]
664
                            [% IF holds_count.defined || priority %]
664
                            [% IF holds_count.defined || priority %]
665
                                <div id="bib_holds">
665
                                <div id="bib_holds">
666
                                    [% IF holds_count.defined %]
666
                                    [% IF holds_count.defined %]
667
                                        Total holds: [% holds_count %]
667
                                        <span>Total holds: [% holds_count %]i</span>
668
                                    [% END %]
668
                                    [% END %]
669
                                    [% IF priority %]
669
                                    [% IF priority %]
670
                                        [% IF holds_count.defined %]
670
                                        [% IF holds_count.defined %]
671
                                            (priority [% priority %])
671
                                            <span>(priority [% priority %])</span>
672
                                        [% ELSE %]
672
                                        [% ELSE %]
673
                                            Overall queue priority: [% priority %]
673
                                            <span>Overall queue priority: [% priority %]</span>
674
                                        [% END %]
674
                                        [% END %]
675
                                    [% END %]
675
                                    [% END %]
676
                                </div>
676
                                </div>
Lines 683-691 Link Here
683
                            [% ELSE %]
683
                            [% ELSE %]
684
                                [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
684
                                [% IF Koha.Preference('OPACAcquisitionDetails') and Koha.Preference('AcqCreateItem') != 'ordering' and acquisition_details.total_quantity > 0 %]
685
                                  [% IF acquisition_details.total_quantity == 1 %]
685
                                  [% IF acquisition_details.total_quantity == 1 %]
686
                                    1 item is on order.
686
                                    <span>1 item is on order.</span>
687
                                  [% ELSE %]
687
                                  [% ELSE %]
688
                                    [% acquisition_details.total_quantity %] items are on order.
688
                                    <span>[% acquisition_details.total_quantity %] items are on order.</span>
689
                                  [% END %]
689
                                  [% END %]
690
                                [% ELSE %]
690
                                [% ELSE %]
691
                                    <div id="noitems">No physical items for this record</div>
691
                                    <div id="noitems">No physical items for this record</div>
Lines 702-708 Link Here
702
                            [% IF (otheritemloop.size) %]
702
                            [% IF (otheritemloop.size) %]
703
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
703
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
704
                            [% ELSE %]
704
                            [% ELSE %]
705
                                No other items.
705
                                <span>No other items.</span>
706
                            [% END %]
706
                            [% END %]
707
                            [% INCLUDE shelfbrowser tab='otherholdings' %]
707
                            [% INCLUDE shelfbrowser tab='otherholdings' %]
708
                        </div>
708
                        </div>
Lines 827-838 Link Here
827
                                [% IF ( subscription.letter ) %]<span class="email_notifications">
827
                                [% IF ( subscription.letter ) %]<span class="email_notifications">
828
                                    [% IF ( loggedinusername ) %]
828
                                    [% IF ( loggedinusername ) %]
829
                                        [% IF ( subscription.hasalert ) %]
829
                                        [% IF ( subscription.hasalert ) %]
830
                                            You have subscribed to email notification on new issues. <a style="color:#000;" class="btn" title="Cancel email notification" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&amp;externalid=[% subscription.subscriptionid %]&amp;alerttype=issue&amp;biblionumber=[% subscription.biblionumber %]">Cancel email notification</a>
830
                                            <span>You have subscribed to email notification on new issues. </span><a style="color:#000;" class="btn" title="Cancel email notification" href="/cgi-bin/koha/opac-alert-subscribe.pl?op=cancel&amp;externalid=[% subscription.subscriptionid %]&amp;alerttype=issue&amp;biblionumber=[% subscription.biblionumber %]">Cancel email notification</a>
831
                                        [% ELSE %]
831
                                        [% ELSE %]
832
                                            <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?externalid=[% subscription.subscriptionid %]&amp;alerttype=issue&amp;biblionumber=[% subscription.biblionumber %]">Subscribe to email notification on new issues</a>
832
                                            <a style="color:#000;" class="btn" title="Subscribe to email notification on new issues" href="/cgi-bin/koha/opac-alert-subscribe.pl?externalid=[% subscription.subscriptionid %]&amp;alerttype=issue&amp;biblionumber=[% subscription.biblionumber %]">Subscribe to email notification on new issues</a>
833
                                        [% END %]
833
                                        [% END %]
834
                                    [% ELSE %]
834
                                    [% ELSE %]
835
                                        You must log in if you want to subscribe to email notification on new issues
835
                                        <span>You must log in if you want to subscribe to email notification on new issues</span>
836
                                    [% END %]
836
                                    [% END %]
837
                                </span>[% END %]
837
                                </span>[% END %]
838
                                [% IF ( subscription.missinglist ) %]
838
                                [% IF ( subscription.missinglist ) %]
Lines 855-872 Link Here
855
                                                <td>[% latestserial.serialseq %]</td>
855
                                                <td>[% latestserial.serialseq %]</td>
856
                                                <td>[% latestserial.planneddate %]</td>
856
                                                <td>[% latestserial.planneddate %]</td>
857
                                                <td>
857
                                                <td>
858
                                                    [% IF (latestserial.status1 ) %]Expected[% END %]
858
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
859
                                                    [% IF (latestserial.status2 ) %]Arrived[% END %]
859
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
860
                                                    [% IF (latestserial.status3 ) %]Late[% END %]
860
                                                    [% IF (latestserial.status3 ) %]<span>Late</span>[% END %]
861
                                                    [% IF (latestserial.status4 ) %]Missing[% END %]
861
                                                    [% IF (latestserial.status4 ) %]<span>Missing</span>[% END %]
862
                                                        [% IF (latestserial.status41 ) %]Missing (never received)[% END %]
862
                                                        [% IF (latestserial.status41 ) %]<span>Missing (never received)</span>[% END %]
863
                                                        [% IF (latestserial.status42 ) %]Missing (sold out)[% END %]
863
                                                        [% IF (latestserial.status42 ) %]<span>Missing (sold out)</span>[% END %]
864
                                                        [% IF (latestserial.status43 ) %]Missing (damaged)[% END %]
864
                                                        [% IF (latestserial.status43 ) %]<span>Missing (damaged)</span>[% END %]
865
                                                        [% IF (latestserial.status44 ) %]Missing (lost)[% END %]
865
                                                        [% IF (latestserial.status44 ) %]<span>Missing (lost)</span>[% END %]
866
                                                    [% IF (latestserial.status5 ) %]Not issued[% END %]
866
                                                    [% IF (latestserial.status5 ) %]<span>Not issued</span>[% END %]
867
                                                    [% IF (latestserial.status6 ) %]Delete[% END %]
867
                                                    [% IF (latestserial.status6 ) %]<span>Delete</span>[% END %]
868
                                                    [% IF (latestserial.status7 ) %]Claimed[% END %]
868
                                                    [% IF (latestserial.status7 ) %]<span>Claimed</span>[% END %]
869
                                                    [% IF (latestserial.status8 ) %]Stopped[% END %]
869
                                                    [% IF (latestserial.status8 ) %]<span>Stopped</span>[% END %]
870
                                                </td>
870
                                                </td>
871
                                                <td>[% latestserial.notes %]</td>
871
                                                <td>[% latestserial.notes %]</td>
872
                                            </tr>
872
                                            </tr>
Lines 996-1007 Link Here
996
                                                <td>[% XISBN.description %]</td>
996
                                                <td>[% XISBN.description %]</td>
997
                                            [% END %]
997
                                            [% END %]
998
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
998
                                            <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a>
999
                                                [% IF ( XISBN.author ) %] by [% XISBN.author |html %][% END %]
999
                                                [% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author |html %][% END %]
1000
                                                [% IF ( XISBN.copyrightdate ) %] &copy;[% XISBN.copyrightdate %][% END %]
1000
                                                [% IF ( XISBN.copyrightdate ) %]<span> &copy;</span>[% XISBN.copyrightdate %][% END %]
1001
                                                [% IF ( XISBN.publishercode ) %]
1001
                                                [% IF ( XISBN.publishercode ) %]
1002
                                                    <p>[% XISBN.publishercode |html %]
1002
                                                    <p>[% XISBN.publishercode |html %]
1003
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
1003
                                                        [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %]
1004
                                                        [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %]
1004
                                                        [% IF ( XISBN.publicationyear ) _ ', ' _ XISBN.publicationyear %][% END %]
1005
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
1005
                                                        [% IF ( XISBN.pages ) %][% XISBN.pages %] [% XISBN.illus %] [% XISBN.size %][% END %]
1006
                                                    </p>
1006
                                                    </p>
1007
                                                [% END %]
1007
                                                [% END %]
Lines 1016-1024 Link Here
1016
                            <div id="html5media">
1016
                            <div id="html5media">
1017
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1017
                              [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1018
                                <p>
1018
                                <p>
1019
                                  <[% HTML5MediaParent %] controls preload=none>
1019
                                  [% SET ctrl_preload = ' controls preload=none' #translatability %]
1020
                                    <[% HTML5MediaSet.child  %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1020
                                  <[% HTML5MediaParent _ ctrl_preload %] >
1021
                                    [[% HTML5MediaParent %] tag not supported by your browser.]
1021
                                    <[% HTML5MediaSet.child _ 'src="' _  HTML5MediaSet.srcblock _'"' _ HTML5MediaSet.typeblock %] />
1022
                                    <span>[[% HTML5MediaParent %] tag not supported by your browser.]</span>
1022
                                  </[% HTML5MediaParent %]>
1023
                                  </[% HTML5MediaParent %]>
1023
                                </p>
1024
                                </p>
1024
                              [% END %]
1025
                              [% END %]
Lines 1066-1076 Link Here
1066
                    </div>
1067
                    </div>
1067
                [% END # / IF Babeltheque %]
1068
                [% END # / IF Babeltheque %]
1068
1069
1069
            [% INCLUDE "openlibrary-readapi.inc" bib = {
1070
            [%# Following on one line due to translation issues %]
1070
                normalized_isbn => normalized_isbn,
1071
            [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %]
1071
                lccn => lccn,
1072
                normalized_oclc => normalized_oclc
1073
            } %]
1074
1072
1075
        </div> <!-- /.span9 -->
1073
        </div> <!-- /.span9 -->
1076
1074
Lines 1337-1345 Link Here
1337
                            [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1335
                            [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
1338
                            [% IF ITEM_RESULT.priority %]
1336
                            [% IF ITEM_RESULT.priority %]
1339
                                [% IF holds_count.defined %]
1337
                                [% IF holds_count.defined %]
1340
                                    (priority [% ITEM_RESULT.priority %])
1338
                                    <span>(priority [% ITEM_RESULT.priority %])</span>
1341
                                [% ELSE %]
1339
                                [% ELSE %]
1342
                                    [% ITEM_RESULT.priority %]
1340
                                    <span>[% ITEM_RESULT.priority %]</span>
1343
                                [% END %]
1341
                                [% END %]
1344
                            [% END %]
1342
                            [% END %]
1345
                        </td>
1343
                        </td>
1346
- 

Return to bug 18754