4 [% PROCESS 'opac-authorities.inc' %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Entry [% authtypetext | html %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% BLOCK cssinclude %][% END %]
10 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %]
11 [% INCLUDE 'masthead.inc' %]
14 <nav aria-label="breadcrumb">
15 <ul class="breadcrumb">
16 <li class="breadcrumb-item">
17 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
19 <li class="breadcrumb-item">
20 <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a>
22 <li class="breadcrumb-item" aria-current="page">
23 <a href="#">Entry [% authtypetext | html %]</a>
28 <div class="container-fluid">
30 [% IF ( OpacNav || OpacNavBottom ) %]
31 <div class="col-lg-2">
33 [% INCLUDE 'navigation.inc' %]
36 <div class="col-lg-10 order-first order-md-first order-lg-2">
38 <div class="col order-first order-md-first order-lg-2">
40 <div id="userauthMARCdetails" class="maincontent">
43 <a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid | html %]">Normal view</a>
46 <span id="MARCview">MARC view</span>
50 [% IF ( displayhierarchy ) %]
51 <div id="hierarchies">
52 [% PROCESS showhierarchy trees = loophierarchies %]
56 <h1>Entry [% authtypetext | html %]</h1>
57 <p><a href="opac-search.pl?type=opac&q=[% authid | uri %]&idx=an,phr">Number of records used in: [% count | html %]</a></p>
58 [% FOREACH Tag0X IN Tab0XX %]
59 <p><strong>[% Tag0X.tag | html %]</strong></p>
61 [% FOREACH subfiel IN Tag0X.subfield %]
62 <li><strong>[% subfiel.marc_lib | $raw %]:</strong>
63 [% IF subfiel.isurl %]<a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>
64 [% ELSE %][% subfiel.marc_value | html %][% END %]</li>
68 </div> <!-- / #userauthMARCdetails -->
69 </div> <!-- / .col-lg-10/12 -->
70 </div> <!-- / .row -->
71 </div> <!-- / .container-fluid -->
72 </div> <!-- / .main -->
74 [% INCLUDE 'opac-bottom.inc' %]
76 [% Asset.js("lib/jquery/plugins/jquery.jstree.js") | $raw %]
78 $(document).ready(function() {
79 [% IF ( displayhierarchy ) %]
80 var current_nodes = [];
81 $('.currentauth').each(function() {
82 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
84 $('#hierarchies').jstree({
85 "plugins": [ "themes", "html_data"],
86 "themes": { "theme": "classic",
88 "core": { "initially_open": current_nodes }