Lines 371-379
Link Here
|
371 |
|
371 |
|
372 |
</div> <!-- / #catalogue_detail_biblio --> |
372 |
</div> <!-- / #catalogue_detail_biblio --> |
373 |
|
373 |
|
374 |
<div id="bibliodescriptions" class="toptabs"> |
374 |
[% WRAPPER tabs id= "bibliodescriptions" %] |
375 |
<ul class="nav nav-tabs" role="tablist"> |
375 |
[% WRAPPER tabs_nav %] |
376 |
<li id="tab_holdings" class="nav-item" role="presentation"> |
376 |
[% WRAPPER tab_item tabname= "holdings" %] |
377 |
[% BLOCK holding_tab_title %] |
377 |
[% BLOCK holding_tab_title %] |
378 |
[% IF SeparateHoldings %] |
378 |
[% IF SeparateHoldings %] |
379 |
<span>[% Branches.GetLoggedInBranchname | html %] holdings</span> |
379 |
<span>[% Branches.GetLoggedInBranchname | html %] holdings</span> |
Lines 385-430
Link Here
|
385 |
[% END %] |
385 |
[% END %] |
386 |
[% END %] |
386 |
[% END %] |
387 |
[% END %] |
387 |
[% END %] |
388 |
<a href="#holdings" class="nav-link" id="holdings-tab" data-toggle="tab" role="tab" aria-controls="holdings" aria-selected="false"> |
388 |
[% PROCESS holding_tab_title %] [% UNLESS too_many_items OR specific_item %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %] |
389 |
[% PROCESS holding_tab_title %] [% UNLESS too_many_items OR specific_item %][% ' ( ' _ (itemloop.size || 0) _ ' )' | html %][% END %] |
389 |
[% END %] |
390 |
</a> |
390 |
|
391 |
</li> |
|
|
392 |
[% IF (SeparateHoldings) %] |
391 |
[% IF (SeparateHoldings) %] |
393 |
<li class="nav-item" role="presentation"> |
392 |
[% WRAPPER tab_item tabname= "otherholdings" %] |
394 |
<a href="#otherholdings" class="nav-link" id="otherholdings-tab" data-toggle="tab" role="tab" aria-controls="otherholdings" aria-selected="false">Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</a> |
393 |
<span>Other holdings [% ' ( ' _ (otheritemloop.size || 0) _ ' )' | html %]</span> |
395 |
</li> |
394 |
[% END %] |
396 |
[% END %] |
395 |
[% END %] |
|
|
396 |
|
397 |
[% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
397 |
[% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
398 |
[% SET title_notes_count = 0 %] |
398 |
[% WRAPPER tab_item tabname= "descriptions" %] |
399 |
[% IF MARCNOTES %] |
399 |
[% SET title_notes_count = 0 %] |
400 |
[% SET title_notes_count = MARCNOTES.size %] |
400 |
[% IF MARCNOTES %] |
|
|
401 |
[% SET title_notes_count = MARCNOTES.size %] |
402 |
[% END %] |
403 |
[% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] |
404 |
<span>Title notes ( [% title_notes_count | html %] )</span> |
401 |
[% END %] |
405 |
[% END %] |
402 |
[% IF SYNDETICS_SUMMARY %][% SET title_notes_count = title_notes_count + 1 %][% END %] |
|
|
403 |
<li id="tab_descriptions" class="nav-item" role="presentation"> |
404 |
<a href="#descriptions" class="nav-link" id="tab_descriptions-tab" data-toggle="tab" role="tab" aria-controls="tab_descriptions" aria-selected="false">Title notes ( [% title_notes_count | html %] )</a> |
405 |
</li> |
406 |
[% END %] |
406 |
[% END %] |
|
|
407 |
|
407 |
[% IF ComponentParts && ComponentParts.size %] |
408 |
[% IF ComponentParts && ComponentParts.size %] |
408 |
<li id="tab_components" class="nav-item" role="presentation"> |
409 |
[% WRAPPER tab_item tabname= "components" %] |
409 |
<a href="#components" class="nav-link" id="tab_components-tab" data-toggle="tab" role="tab" aria-controls="tab_components" aria-selected="false"> |
410 |
<span>Components ([% ComponentParts.size | html %])</span> |
410 |
Components ([% ComponentParts.size | html %])</a> |
411 |
[% END %] |
411 |
</li> |
|
|
412 |
[% END %] |
412 |
[% END %] |
|
|
413 |
|
413 |
[% IF ( SYNDETICS_TOC ) %] |
414 |
[% IF ( SYNDETICS_TOC ) %] |
414 |
<li id="tab_toc" class="nav-item" role="presentation"> |
415 |
[% WRAPPER tab_item tabname= "toc" %] |
415 |
<a href="#toc" class="nav-link" id="tab_toc-tab" data-toggle="tab" role="tab" aria-controls="tab_toc" aria-selected="false">TOC</a> |
416 |
<span>TOC</span> |
416 |
</li> |
417 |
[% END %] |
417 |
[% END %] |
418 |
[% END %] |
|
|
419 |
|
418 |
[% IF ( SyndeticsEnabled ) %] |
420 |
[% IF ( SyndeticsEnabled ) %] |
419 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
421 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
420 |
<li id="tab_excerpt" class="nav-item" role="presentation"> |
422 |
[% WRAPPER tab_item tabname= "excerpt" %] |
421 |
<a href="#excerpt" class="nav-link" id="tab_excerpt-tab" data-toggle="tab" role="tab" aria-controls="tab_excerpt" aria-selected="false">Excerpt</a> |
423 |
<span>Excerpt</span> |
422 |
</li> |
424 |
[% END %] |
423 |
[% END %] |
425 |
[% END %] |
424 |
[% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %] |
426 |
[% IF ( ( SyndeticsReviews && SYNDETICS_REVIEWS ) || ( LibraryThingForLibrariesTabbedView && LibraryThingForLibrariesID) ) %] |
425 |
<li id="tab_reviews" class="nav-item" role="presentation"> |
427 |
[% WRAPPER tab_item tabname= "reviews" %] |
426 |
<a href="#reviews" class="nav-link" id="tab_reviews-tab" data-toggle="tab" role="tab" aria-controls="tab_reviews" aria-selected="false">Reviews</a> |
428 |
<span>Reviews</span> |
427 |
</li> |
429 |
[% END %] |
428 |
[% IF ( LibraryThingForLibrariesID ) %] |
430 |
[% IF ( LibraryThingForLibrariesID ) %] |
429 |
<li id="tab_LTFLreviews"> |
431 |
<li id="tab_LTFLreviews"> |
430 |
<script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script> |
432 |
<script src="https://www.librarything.com/forlibraries/widget.js?id=[% LibraryThingForLibrariesID | html %]"></script> |
Lines 433-511
Link Here
|
433 |
[% END %] |
435 |
[% END %] |
434 |
[% END %] |
436 |
[% END %] |
435 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
437 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
436 |
<li id="tab_anotes" class="nav-item" role="presentation"> |
438 |
[% WRAPPER tab_item tabname= "anotes" %] |
437 |
<a href="#anotes" class="nav-link" id="tab_anotes-tab" data-toggle="tab" role="tab" aria-controls="tab_anotes" aria-selected="false">About the author</a> |
439 |
<span>About the author</span> |
438 |
</li> |
440 |
[% END %] |
439 |
[% END %] |
441 |
[% END %] |
440 |
[% END # / IF SyndeticsEnabled %] |
442 |
[% END # / IF SyndeticsEnabled %] |
441 |
|
443 |
|
442 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
444 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
443 |
<li id="tab_LFTLSimilarItems" class="nav-item" role="presentation"> |
445 |
[% WRAPPER tab_item tabname= "LFTLSimilarItems" %] |
444 |
<a href="#LFTLSimilarItems" class="nav-link" id="tab_LFTLSimilarItems-tab" data-toggle="tab" role="tab" aria-controls="tab_LFTLSimilarItems" aria-selected="false">Similar items</a> |
446 |
<span>Similar items</span> |
445 |
</li> |
447 |
[% END %] |
446 |
<li id="tab_LTFLTagBrowse"> |
448 |
[% WRAPPER tab_item tabname= "LTFLTagBrowse" %] |
447 |
<a href="#LTFLTagBrowse" class="nav-link" id="tab_LTFLTagBrowse-tab" data-toggle="tab" role="tab" aria-controls="tab_LTFLTagBrowse" aria-selected="false">Tag browser</a> |
449 |
<span>Tag browser</span> |
448 |
</li> |
450 |
[% END %] |
449 |
[% END %] |
451 |
[% END %] |
450 |
|
452 |
|
451 |
[% IF ( subscriptionsnumber ) %] |
453 |
[% IF ( subscriptionsnumber ) %] |
452 |
<li id="tab_subscriptions" class="nav-item" role="presentation"> |
454 |
[% WRAPPER tab_item tabname= "subscriptions" %] |
453 |
<a href="#subscriptions" class="nav-link" id="tab_subscriptions-tab" data-toggle="tab" role="tab" aria-controls="tab_subscriptions" aria-selected="false"> |
455 |
<span>Subscriptions ( [% subscriptionsnumber | html %] )</span> |
454 |
Subscriptions ( [% subscriptionsnumber | html %] )</a> |
456 |
[% END %] |
455 |
</li> |
|
|
456 |
[% END %] |
457 |
[% END %] |
457 |
|
458 |
|
458 |
[% IF Koha.Preference( 'OPACComments' ) == 1 %] |
459 |
[% IF Koha.Preference( 'OPACComments' ) == 1 %] |
459 |
<li id="tab_comments" class="nav-item" role="presentation"> |
460 |
[% WRAPPER tab_item tabname= "comments" %] |
460 |
<a href="#comments" class="nav-link" id="tab_comments-tab" data-toggle="tab" role="tab" aria-controls="tab_comments" aria-selected="false">Comments[% ' ( ' _ (reviews.size || 0) _ ' )' | html %]</a> |
461 |
<span>Comments[% ' ( ' _ (reviews.size || 0) _ ' )' | html %]</span> |
461 |
</li> |
462 |
[% END %] |
462 |
[% END %] |
463 |
[% END %] |
463 |
|
464 |
|
464 |
[% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %] |
465 |
[% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %] |
465 |
[% IF ( NovelistSelectView == 'tab') %] |
466 |
[% IF ( NovelistSelectView == 'tab') %] |
466 |
<li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;" class="nav-item" role="presentation"> |
467 |
[% WRAPPER tab_item tabname= "NovelistSelect" %] |
467 |
<a href="#NovelistSelect" class="nav-link" id="tab_NovelistSelect-tab" data-toggle="tab" role="tab" aria-controls="tab_NovelistSelect" aria-selected="false">Novelist Select</a> |
468 |
<span>Novelist Select</span> |
468 |
</li> |
469 |
[% END %] |
469 |
[% END %] |
470 |
[% END %] |
470 |
[% END %] |
471 |
[% END %] |
471 |
|
472 |
|
472 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
473 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
473 |
<li id="tab_editions" class="nav-item" role="presentation"> |
474 |
[% WRAPPER tab_item tabname= "editions" %] |
474 |
<a href="#editions" class="nav-link" id="tab_editions-tab" data-toggle="tab" role="tab" aria-controls="tab_editions" aria-selected="false">Editions</a> |
475 |
<span>Editions</span> |
475 |
</li> |
476 |
[% END %] |
476 |
[% END %] |
477 |
[% END %] |
477 |
|
478 |
|
478 |
[% IF ( serialcollection ) %] |
479 |
[% IF ( serialcollection ) %] |
479 |
<li id="tab_serialcollection" class="nav-item" role="presentation"> |
480 |
[% WRAPPER tab_item tabname= "serialcollection" %] |
480 |
<a href="#serialcollection" class="nav-link" id="tab_serialcollection-tab" data-toggle="tab" role="tab" aria-controls="tab_serialcollection" aria-selected="false"> |
481 |
<span>Serial collection</span> |
481 |
Serial collection |
482 |
[% END %] |
482 |
</a> |
|
|
483 |
</li> |
484 |
[% END %] |
483 |
[% END %] |
485 |
|
484 |
|
486 |
[% IF ( OPACLocalCoverImages && localimages.count ) %] |
485 |
[% IF ( OPACLocalCoverImages && localimages.count ) %] |
487 |
<li id="tab_images" class="nav-item" role="presentation"> |
486 |
[% WRAPPER tab_item tabname= "images" %] |
488 |
<a href="#images" class="nav-link" id="tab_images-tab" data-toggle="tab" role="tab" aria-controls="tab_images" aria-selected="false">Images</a> |
487 |
<span>Images</span> |
489 |
</li> |
488 |
[% END %] |
490 |
[% END %] |
489 |
[% END %] |
491 |
|
490 |
|
492 |
[% IF HTML5MediaEnabled && HTML5MediaSets.size %] |
491 |
[% IF HTML5MediaEnabled && HTML5MediaSets.size %] |
493 |
<li id="tab_html5media" class="nav-item" role="presentation"> |
492 |
[% WRAPPER tab_item tabname= "html5media" %] |
494 |
<a href="#html5media" class="nav-link" id="tab_html5media-tab" data-toggle="tab" role="tab" aria-controls="tab_html5media" aria-selected="false"> |
493 |
<span>Play media</span> |
495 |
Play media |
494 |
[% END %] |
496 |
</a> |
|
|
497 |
</li> |
498 |
[% END %] |
495 |
[% END %] |
499 |
|
496 |
|
500 |
[% IF Koha.Preference( 'OPACAuthorIdentifiers' ) && author_identifiers.size %] |
497 |
[% IF Koha.Preference( 'OPACAuthorIdentifiers' ) && author_identifiers.size %] |
501 |
<li id="tab_author_identifiers" class="nav-item" role="presentation"><a href="#author_identifiers" class="nav-link" id="tab_author_identifiers-tab" data-toggle="tab" role="tab" aria-control="tab_author_identifiers">Author identifiers</a></li> |
498 |
[% WRAPPER tab_item tabname= "author_identifiers" %] |
|
|
499 |
<span>Author identifiers</span> |
500 |
[% END %] |
502 |
[% END %] |
501 |
[% END %] |
503 |
|
502 |
|
504 |
</ul> |
503 |
[% END # /WRAPPER tabs_nav %] |
505 |
|
504 |
|
506 |
<div class="tab-content"> |
505 |
[% WRAPPER tab_panels %] |
507 |
[% IF ( serialcollection ) %] |
506 |
[% IF ( serialcollection ) %] |
508 |
<div id="serialcollection" class="tab-pane" role="tabpanel" aria-labelledby="tab_serialcollection-tab"> |
507 |
[% WRAPPER tab_panel tabname="serialcollection" %] |
509 |
<table id="serialcollectiont" class="table table-bordered table-striped"> |
508 |
<table id="serialcollectiont" class="table table-bordered table-striped"> |
510 |
<caption class="sr-only">Serial collections</caption> |
509 |
<caption class="sr-only">Serial collections</caption> |
511 |
<thead> |
510 |
<thead> |
Lines 525-535
Link Here
|
525 |
[% END %] |
524 |
[% END %] |
526 |
</tbody> |
525 |
</tbody> |
527 |
</table> |
526 |
</table> |
528 |
</div> <!-- /#serialcollection --> |
527 |
[% END # /tab_panel#serialcollection %] |
529 |
[% END # / IF serialcollection %] |
528 |
[% END # / IF serialcollection %] |
530 |
|
529 |
|
531 |
|
530 |
[% WRAPPER tab_panel tabname="holdings" %] |
532 |
<div id="holdings" class="tab-pane" role="tabpanel" aria-labelledby="holdings-tab"> |
|
|
533 |
[% IF too_many_items %] |
531 |
[% IF too_many_items %] |
534 |
<p>This record has many physical items ([% items_count | html %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]&viewallitems=1">View all the physical items.</a></p> |
532 |
<p>This record has many physical items ([% items_count | html %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]&viewallitems=1">View all the physical items.</a></p> |
535 |
[% ELSIF ( itemloop.size ) %] |
533 |
[% ELSIF ( itemloop.size ) %] |
Lines 579-600
Link Here
|
579 |
[% END # IF itemloop.size %] |
577 |
[% END # IF itemloop.size %] |
580 |
[% PROCESS 'shelfbrowser.inc' %] |
578 |
[% PROCESS 'shelfbrowser.inc' %] |
581 |
[% INCLUDE shelfbrowser tab='holdings' %] |
579 |
[% INCLUDE shelfbrowser tab='holdings' %] |
582 |
<br style="clear:both;" /> |
580 |
[% END # /tab_panel#holdings %] |
583 |
</div> <!-- / #holdings --> |
|
|
584 |
|
581 |
|
585 |
[% IF (SeparateHoldings) %] |
582 |
[% IF (SeparateHoldings) %] |
586 |
<div id="otherholdings" class="tab-pane" role="tabpanel" aria-labelledby="otherholdings-tab"> |
583 |
[% WRAPPER tab_panel tabname="otherholdings" %] |
587 |
[% IF (otheritemloop.size) %] |
584 |
[% IF (otheritemloop.size) %] |
588 |
[% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %] |
585 |
[% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %] |
589 |
[% ELSE %] |
586 |
[% ELSE %] |
590 |
<span>No other items.</span> |
587 |
<span>No other items.</span> |
591 |
[% END %] |
588 |
[% END %] |
592 |
[% INCLUDE shelfbrowser tab='otherholdings' %] |
589 |
[% INCLUDE shelfbrowser tab='otherholdings' %] |
593 |
</div> |
590 |
[% END # /tab_panel#otherholdings %] |
594 |
[% END # / SeparateHoldings %] |
591 |
[% END # / SeparateHoldings %] |
595 |
|
592 |
|
596 |
[% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
593 |
[% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %] |
597 |
<div id="descriptions" class="tab-pane" role="tabpanel" aria-labelledby="tab_descriptions-tab"> |
594 |
[% WRAPPER tab_panel tabname="descriptions" %] |
598 |
<div class="content_set"> |
595 |
<div class="content_set"> |
599 |
|
596 |
|
600 |
[% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %] |
597 |
[% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %] |
Lines 604-627
Link Here
|
604 |
|
601 |
|
605 |
[% IF ( MARCNOTES ) %] |
602 |
[% IF ( MARCNOTES ) %] |
606 |
<div id="marcnotes"> |
603 |
<div id="marcnotes"> |
607 |
[% FOREACH MARCNOTE IN MARCNOTES %] |
604 |
[% FOREACH MARCNOTE IN MARCNOTES %] |
608 |
<p> |
605 |
<p> |
609 |
[% IF MARCNOTE.marcnote.match('^https?://\S+$') %] |
606 |
[% IF MARCNOTE.marcnote.match('^https?://\S+$') %] |
610 |
<a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a> |
607 |
<a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a> |
611 |
[% ELSE %] |
608 |
[% ELSE %] |
612 |
[% MARCNOTE.marcnote | html | html_line_break %] |
609 |
[% MARCNOTE.marcnote | html | html_line_break %] |
|
|
610 |
[% END %] |
611 |
</p> |
613 |
[% END %] |
612 |
[% END %] |
614 |
</p> |
|
|
615 |
[% END %] |
616 |
</div> |
613 |
</div> |
617 |
[% END %] |
614 |
[% END %] |
618 |
|
615 |
|
619 |
</div> <!-- /.content_set --> |
616 |
</div> <!-- /.content_set --> |
620 |
</div> <!-- / #descriptions --> |
617 |
[% END # /tab_panel#descriptions %] |
621 |
[% END # / IF MARCNOTES %] |
618 |
[% END # / IF MARCNOTES %] |
622 |
|
619 |
|
623 |
[% IF ComponentParts && ComponentParts.size %] |
620 |
[% IF ComponentParts && ComponentParts.size %] |
624 |
<div id="components" class="tab-pane" role="tabpanel" aria-labelledby="tab_components-tab"> |
621 |
[% WRAPPER tab_panel tabname="components" %] |
625 |
<div class="content_set"> |
622 |
<div class="content_set"> |
626 |
<table> |
623 |
<table> |
627 |
[% FOR PART IN ComponentParts %] |
624 |
[% FOR PART IN ComponentParts %] |
Lines 636-647
Link Here
|
636 |
<p>Only [% ComponentParts.size | html %] results are shown: <a href="/cgi-bin/koha/opac-search.pl?q=[% ComponentPartsQuery | url %]"/>show all component parts</a></p> |
633 |
<p>Only [% ComponentParts.size | html %] results are shown: <a href="/cgi-bin/koha/opac-search.pl?q=[% ComponentPartsQuery | url %]"/>show all component parts</a></p> |
637 |
[% END %] |
634 |
[% END %] |
638 |
</div> |
635 |
</div> |
639 |
</div> |
636 |
[% END # /tab_panel#components %] |
640 |
[% END %] |
637 |
[% END %] |
641 |
|
638 |
|
642 |
[% IF ( SyndeticsEnabled ) %] |
639 |
[% IF ( SyndeticsEnabled ) %] |
643 |
[% IF ( SyndeticsTOC && SYNDETICS_TOC ) %] |
640 |
[% IF ( SyndeticsTOC && SYNDETICS_TOC ) %] |
644 |
<div id="toc" class="tab-pane" role="tabpanel" aria-labelledby="tab_toc-tab"> |
641 |
[% WRAPPER tab_panel tabname="toc" %] |
645 |
<div class="content_set"> |
642 |
<div class="content_set"> |
646 |
<h2>Table of contents provided by Syndetics</h2> |
643 |
<h2>Table of contents provided by Syndetics</h2> |
647 |
<ul> |
644 |
<ul> |
Lines 650-669
Link Here
|
650 |
[% END %] |
647 |
[% END %] |
651 |
</ul> |
648 |
</ul> |
652 |
</div> |
649 |
</div> |
653 |
</div> |
650 |
[% END # /tab_panel#toc %] |
654 |
[% END # / IF SyndeticsTOC && SYNDETICS_TOC %] |
651 |
[% END # / IF SyndeticsTOC && SYNDETICS_TOC %] |
655 |
|
652 |
|
656 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
653 |
[% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %] |
657 |
<div id="excerpt" class="tab-pane" role="tabpanel" aria-labelledby="tab_excerpt-tab"> |
654 |
[% WRAPPER tab_panel tabname="excerpt" %] |
658 |
<div class="content_set"> |
655 |
<div class="content_set"> |
659 |
<h2>Excerpt provided by Syndetics</h2> |
656 |
<h2>Excerpt provided by Syndetics</h2> |
660 |
[% SYNDETICS_EXCERPT | $raw %] |
657 |
[% SYNDETICS_EXCERPT | $raw %] |
661 |
</div> |
658 |
</div> |
662 |
</div> |
659 |
[% END # /tab_panel#excerpt %] |
663 |
[% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %] |
660 |
[% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %] |
664 |
|
661 |
|
665 |
[% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %] |
662 |
[% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %] |
666 |
<div id="reviews" class="tab-pane" role="tabpanel" aria-labelledby="tab_reviews-tab"> |
663 |
[% WRAPPER tab_panel tabname="reviews" %] |
667 |
<div class="content_set"> |
664 |
<div class="content_set"> |
668 |
<h2>Reviews provided by Syndetics</h2> |
665 |
<h2>Reviews provided by Syndetics</h2> |
669 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
666 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
Lines 679-689
Link Here
|
679 |
[% END %] |
676 |
[% END %] |
680 |
[% END %] |
677 |
[% END %] |
681 |
</div> |
678 |
</div> |
682 |
</div> |
679 |
[% END # /tab_panel#reviews %] |
683 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
680 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
684 |
|
681 |
|
685 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
682 |
[% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %] |
686 |
<div id="anotes" class="tab-pane" role="tabpanel" aria-labelledby="tab_anotes-tab"> |
683 |
[% WRAPPER tab_panel tabname="anotes" %] |
687 |
<div class="content_set"> |
684 |
<div class="content_set"> |
688 |
<h2>Author notes provided by Syndetics</h2> |
685 |
<h2>Author notes provided by Syndetics</h2> |
689 |
[% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] |
686 |
[% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] |
Lines 692-709
Link Here
|
692 |
[% END %] |
689 |
[% END %] |
693 |
[% END %] |
690 |
[% END %] |
694 |
</div> |
691 |
</div> |
695 |
</div> |
692 |
[% END # /tab_panel#anotes %] |
696 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
693 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
697 |
[% END # / IF SyndeticsEnabled %] |
694 |
[% END # / IF SyndeticsEnabled %] |
698 |
|
695 |
|
699 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %] |
696 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %] |
700 |
<div id="NovelistSelect" class="tab-pane" role="tabpanel" aria-labelledby="tab_NovelistSelect-tab"> |
697 |
[% WRAPPER tab_panel tabname="NovelistSelect" %] |
701 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div> |
698 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]></div> |
702 |
</div> |
699 |
[% END # /tab_panel#NovelistSelect %] |
703 |
[% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %] |
700 |
[% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %] |
704 |
|
701 |
|
705 |
[% IF ( subscriptionsnumber ) %] |
702 |
[% IF ( subscriptionsnumber ) %] |
706 |
<div id="subscriptions" class="tab-pane" role="tabpanel" aria-labelledby="tab_subscriptions-tab"> |
703 |
[% WRAPPER tab_panel tabname="subscriptions" %] |
707 |
<h2>This is a serial</h2> |
704 |
<h2>This is a serial</h2> |
708 |
<p class="subscription_count">There are [% subscriptionsnumber | html %] subscription(s) associated with this title.</p> |
705 |
<p class="subscription_count">There are [% subscriptionsnumber | html %] subscription(s) associated with this title.</p> |
709 |
[% FOREACH subscription IN subscriptions %] |
706 |
[% FOREACH subscription IN subscriptions %] |
Lines 778-809
Link Here
|
778 |
</div> |
775 |
</div> |
779 |
[% END # / FOREACH subscriptions %] |
776 |
[% END # / FOREACH subscriptions %] |
780 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p> |
777 |
<p class="subscription_moredetails"><a href="opac-serial-issues.pl?biblionumber=[% biblio.biblionumber | uri %]">More details</a></p> |
781 |
</div> <!-- / #subscriptions --> |
778 |
[% END # /tab_panel#subscriptions %] |
782 |
[% END # IF subscriptionsnumber %] |
779 |
[% END # IF subscriptionsnumber %] |
783 |
|
780 |
|
784 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
781 |
[% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] |
785 |
<!-- Library Thing for Libraries Content --> |
782 |
<!-- Library Thing for Libraries Content --> |
786 |
<div id="LFTLSimilarItems" class="tab-pane" role="tabpanel" aria-labelledby="tab_LFTLSimilarItems-tab"> |
783 |
[% WRAPPER tab_panel tabname="LFTLSimilarItems" %] |
787 |
<div class="content_set"> |
784 |
<div class="content_set"> |
788 |
<!-- Uncommenting this span makes the font smaller in the tab for LTFL --> |
|
|
789 |
<!-- but breaks Xhtml validation --> |
790 |
<!-- <span class="results_summary">--> |
791 |
<div id="ltfl_related"></div> |
785 |
<div id="ltfl_related"></div> |
792 |
<div id="ltfl_similars"></div> |
786 |
<div id="ltfl_similars"></div> |
793 |
<!-- </span>--> |
|
|
794 |
</div> |
787 |
</div> |
795 |
</div> |
788 |
[% END # /tab_panel#LFTLSimilarItems %] |
796 |
<div id="LTFLTagBrowse" class="tab-pane" role="tabpanel" aria-labelledby="tab_LTFLTagBrowse-tab"> |
789 |
[% WRAPPER tab_panel tabname="LTFLTagBrowse" %] |
797 |
<div class="content_set"> |
790 |
<div class="content_set"> |
798 |
<!-- <span class="results_summary"> --> |
|
|
799 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
791 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
800 |
<!-- </span> --> |
|
|
801 |
</div> |
792 |
</div> |
802 |
</div> |
793 |
[% END # /tab_panel#LTFLTagBrowse %] |
803 |
[% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %] |
794 |
[% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %] |
804 |
|
795 |
|
805 |
[% IF Koha.Preference( 'OPACComments' ) == 1 %] |
796 |
[% IF Koha.Preference( 'OPACComments' ) == 1 %] |
806 |
<div id="comments" class="tab-pane" role="tabpanel" aria-labelledby="tab_comments-tab"> |
797 |
[% WRAPPER tab_panel tabname="comments" %] |
807 |
<div id="newcomment"></div> |
798 |
<div id="newcomment"></div> |
808 |
[% IF ( reviews ) %] |
799 |
[% IF ( reviews ) %] |
809 |
[% FOREACH review IN reviews %] |
800 |
[% FOREACH review IN reviews %] |
Lines 874-926
Link Here
|
874 |
<a class="login-link loginModal-trigger" role="button" data-toggle="modal" data-return="true" data-tab="comment" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. |
865 |
<a class="login-link loginModal-trigger" role="button" data-toggle="modal" data-return="true" data-tab="comment" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment. |
875 |
</div> |
866 |
</div> |
876 |
[% END # / IF loggedinusername %] |
867 |
[% END # / IF loggedinusername %] |
877 |
</div> <!-- / #comments --> |
868 |
[% END # /tab_panel#newcomment %] |
878 |
[% END # / IF OPACComments %] |
869 |
[% END # / IF OPACComments %] |
879 |
|
|
|
880 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
881 |
<div id="editions" class="tab-pane" role="tabpanel" aria-labelledby="tab_editions-tab"> |
882 |
<h2>Other editions of this work</h2> |
883 |
<table class="table table-bordered table-striped"> |
884 |
<caption class="sr-only">Other editions</caption> |
885 |
[% FOREACH XISBN IN XISBNS %] |
886 |
<tr> |
887 |
<td> |
888 |
[% IF ( OPACAmazonCoverImages ) %] |
889 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" /> |
890 |
[% END %] |
891 |
|
870 |
|
892 |
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] |
871 |
[% IF ( OPACFRBRizeEditions && XISBNS ) %] |
893 |
[% IF ( XISBN.content_identifier_exists ) %] |
872 |
[% WRAPPER tab_panel tabname="editions" %] |
894 |
<img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc | uri %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc | uri %][% END %]&type=xw10" alt="" /> |
873 |
<h2>Other editions of this work</h2> |
895 |
[% ELSE %] |
874 |
<table class="table table-bordered table-striped"> |
896 |
<span class="no-image">No cover image available</span> |
875 |
<caption class="sr-only">Other editions</caption> |
897 |
[% END # / IF XISBN.content_identifier_exists %] |
876 |
[% FOREACH XISBN IN XISBNS %] |
898 |
[% END # / IF SyndeticsEnabled && SyndeticsCoverImages %] |
877 |
<tr> |
899 |
</td> |
878 |
<td> |
|
|
879 |
[% IF ( OPACAmazonCoverImages ) %] |
880 |
<img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" alt="" /> |
881 |
[% END %] |
882 |
|
883 |
[% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] |
884 |
[% IF ( XISBN.content_identifier_exists ) %] |
885 |
<img src="https://secure.syndetics.com/index.aspx?isbn=[% XISBN.browser_normalized_isbn | uri %]/[% SyndeticsCoverImageSize | uri %].GIF&client=[% SyndeticsClientCode | uri %][% IF ( XISBN.browser_normalized_upc ) %]&upc=[% XISBN.browser_normalized_upc | uri %][% END %][% IF ( XISBN.browser_normalized_oclc ) %]&oclc=[% XISBN.browser_normalized_oclc | uri %][% END %]&type=xw10" alt="" /> |
886 |
[% ELSE %] |
887 |
<span class="no-image">No cover image available</span> |
888 |
[% END # / IF XISBN.content_identifier_exists %] |
889 |
[% END # / IF SyndeticsEnabled && SyndeticsCoverImages %] |
890 |
</td> |
900 |
|
891 |
|
901 |
[% UNLESS ( item_level_itypes ) %] |
892 |
[% UNLESS ( item_level_itypes ) %] |
902 |
<td>[% XISBN.description | html %]</td> |
893 |
<td>[% XISBN.description | html %]</td> |
|
|
894 |
[% END %] |
895 |
<td> |
896 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> |
897 |
[% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %] |
898 |
[% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %] |
899 |
[% IF ( XISBN.publishercode ) %] |
900 |
<p>[% XISBN.publishercode | html %] |
901 |
[% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] |
902 |
[% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %] |
903 |
[% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %] |
904 |
</p> |
903 |
[% END %] |
905 |
[% END %] |
904 |
<td> |
906 |
</td> |
905 |
<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> |
907 |
</tr> |
906 |
[% IF ( XISBN.author ) %]<span> by </span>[% XISBN.author | html %][% END %] |
908 |
[% END # / FOREACH XISBNS %] |
907 |
[% IF ( XISBN.copyrightdate ) %]<span> ©</span>[% XISBN.copyrightdate | html %][% END %] |
909 |
</table> |
908 |
[% IF ( XISBN.publishercode ) %] |
910 |
[% END # /tab_panel#editions %] |
909 |
<p>[% XISBN.publishercode | html %] |
911 |
[% END # / IF OPACFRBRizeEditions && XISBNS %] |
910 |
[% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] |
|
|
911 |
[% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %] |
912 |
[% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %] |
913 |
</p> |
914 |
[% END %] |
915 |
</td> |
916 |
</tr> |
917 |
[% END # / FOREACH XISBNS %] |
918 |
</table> |
919 |
</div> <!-- / #editions --> |
920 |
[% END # / IF OPACFRBRizeEditions && XISBNS %] |
921 |
|
912 |
|
922 |
[% IF ( HTML5MediaEnabled ) %] |
913 |
[% IF ( HTML5MediaEnabled ) %] |
923 |
<div id="html5media" class="tab-pane" role="tabpanel" aria-labelledby="tab_html5media-tab"> |
914 |
[% WRAPPER tab_panel tabname="html5media" %] |
924 |
[% FOREACH HTML5MediaSet IN HTML5MediaSets %] |
915 |
[% FOREACH HTML5MediaSet IN HTML5MediaSets %] |
925 |
<p> |
916 |
<p> |
926 |
[% IF HTML5MediaSet.is_youtube %] |
917 |
[% IF HTML5MediaSet.is_youtube %] |
Lines 935-993
Link Here
|
935 |
[% END %] |
926 |
[% END %] |
936 |
</p> |
927 |
</p> |
937 |
[% END %] |
928 |
[% END %] |
938 |
</div> |
929 |
[% END # /tab_panel#html5media %] |
939 |
[% END # / IF HTML5MediaEnabled %] |
930 |
[% END # / IF HTML5MediaEnabled %] |
940 |
|
931 |
|
941 |
[% IF ( OPACLocalCoverImages && localimages.count ) %] |
932 |
[% IF ( OPACLocalCoverImages && localimages.count ) %] |
942 |
<div id="images" class="tab-pane" role="tabpanel" aria-labelledby="tab_images-tab"> |
933 |
[% WRAPPER tab_panel tabname="images" %] |
943 |
<p>Click on an image to view it in the image viewer</p> |
934 |
<p>Click on an image to view it in the image viewer</p> |
944 |
[% FOREACH image IN localimages %] |
935 |
[% FOREACH image IN localimages %] |
945 |
<a href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber | uri %]&imagenumber=[% image.imagenumber | uri %]" title="Local cover image"> |
936 |
<a href="/cgi-bin/koha/opac-imageviewer.pl?biblionumber=[% biblio.biblionumber | uri %]&imagenumber=[% image.imagenumber | uri %]" title="Local cover image"> |
946 |
<img src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image.imagenumber | uri %]" alt="Local cover image" /> |
937 |
<img src="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image.imagenumber | uri %]" alt="Local cover image" /> |
947 |
</a> |
938 |
</a> |
948 |
[% END %] |
939 |
[% END %] |
949 |
</div><!-- / #images --> |
940 |
[% END # /tab_panel#images %] |
950 |
[% END # / IF OPACLocalCoverImages && localimages.size %] |
941 |
[% END # / IF OPACLocalCoverImages && localimages.size %] |
951 |
|
|
|
952 |
[% IF Koha.Preference( 'OPACAuthorIdentifiers' ) && author_identifiers.size %] |
953 |
<div id="author_identifiers" class="tab-pane" role="tabpanel" aria-labelledby="tab_author_identifiers-tab"> |
954 |
[% FOR author IN author_identifiers %] |
955 |
<div class="author_identifier"> |
956 |
<span class="author_name"><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% author.authid | uri %]">[% author.name | html %]</a></span> |
957 |
<ul> |
958 |
[% FOR identifier IN author.identifiers %] |
959 |
[% PROCESS "authority-identifiers.inc" identifier => identifier %] |
960 |
[% END %] |
961 |
</ul> |
962 |
</div> |
963 |
[% END %] |
964 |
</div> |
965 |
[% END %] |
966 |
|
942 |
|
967 |
</div> <!-- / #bibliodescriptions --> |
943 |
[% IF Koha.Preference( 'OPACAuthorIdentifiers' ) && author_identifiers.size %] |
|
|
944 |
[% WRAPPER tab_panel tabname="author_identifiers" %] |
945 |
[% FOR author IN author_identifiers %] |
946 |
<div class="author_identifier"> |
947 |
<span class="author_name"><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% author.authid | uri %]">[% author.name | html %]</a></span> |
948 |
<ul> |
949 |
[% FOR identifier IN author.identifiers %] |
950 |
[% PROCESS "authority-identifiers.inc" identifier => identifier %] |
951 |
[% END %] |
952 |
</ul> |
953 |
</div> |
954 |
[% END %] |
955 |
[% END # /tab_panel#author_identifiers %] |
956 |
[% END %] |
968 |
|
957 |
|
969 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] |
958 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] |
970 |
<div id="NovelistSelect" class="tab-pane" role="tabpanel" aria-labelledby="tab_NovelistSelect-tab"> |
959 |
[% WRAPPER tab_panel tabname="NovelistSelect" %] |
971 |
<h2>Novelist Select</h2> |
960 |
<h2>Novelist Select</h2> |
972 |
<div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div> |
961 |
<div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]"></div> |
973 |
</div> |
962 |
[% END # /tab_panel#NovelistSelect %] |
974 |
[% END %] |
963 |
[% END %] |
|
|
964 |
[% END # /WRAPPER tab_panels %] |
965 |
[% END # /WRAPPER tabs#bibliodescriptions %] |
975 |
|
966 |
|
976 |
[% IF ( Babeltheque ) %] |
967 |
[% IF ( Babeltheque ) %] |
977 |
<div> |
968 |
<div> |
978 |
<div id="BW_etiquettes"></div> |
969 |
<div id="BW_etiquettes"></div> |
979 |
<div id="BW_suggestions"></div> |
970 |
<div id="BW_suggestions"></div> |
980 |
</div> |
971 |
</div> |
981 |
<div class="clearfix"></div> |
972 |
<div class="clearfix"></div> |
982 |
<div> |
973 |
<div> |
983 |
<div id="BW_podcasts"></div> |
974 |
<div id="BW_podcasts"></div> |
984 |
</div> |
975 |
</div> |
985 |
<div class="clearfix"></div> |
976 |
<div class="clearfix"></div> |
986 |
<div> |
977 |
<div> |
987 |
<div id="BW_videos"></div> |
978 |
<div id="BW_videos"></div> |
988 |
</div> |
979 |
</div> |
989 |
[% END # / IF Babeltheque %] |
980 |
[% END # / IF Babeltheque %] |
990 |
</div> <!-- /.tab-content --> |
|
|
991 |
|
981 |
|
992 |
</div> <!-- /.col-lg-10 --> |
982 |
</div> <!-- /.col-lg-10 --> |
993 |
|
983 |
|
Lines 2026-2032
Link Here
|
2026 |
|
2016 |
|
2027 |
function showBsTab( container, panelid ){ |
2017 |
function showBsTab( container, panelid ){ |
2028 |
if( $( "#" + panelid ).length == 1 ){ |
2018 |
if( $( "#" + panelid ).length == 1 ){ |
2029 |
$("#" + container + " a[href='#" + panelid + "']").tab("show"); |
2019 |
$("#" + container + " a[href='#" + panelid + "_panel']").tab("show"); |
2030 |
} else { |
2020 |
} else { |
2031 |
$("#" + container + " a:first").tab("show"); |
2021 |
$("#" + container + " a:first").tab("show"); |
2032 |
} |
2022 |
} |
2033 |
- |
|
|