3 [% PROCESS 'opac-authorities.inc' %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Authority search › [% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %]
10 [% INCLUDE 'masthead.inc' %]
13 <ul class="breadcrumb">
14 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
15 <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">›</span></li>
16 <li><a href="#">[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</a></li>
19 <div class="container-fluid">
20 <div class="row-fluid">
21 [% IF ( OpacNav || OpacNavBottom ) %]
24 [% INCLUDE 'navigation.inc' %]
31 <div id="userauthdetails" class="maincontent">
34 <span id="Normalview">Normal view</span>
37 <a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a>
41 [% IF ( displayhierarchy ) %]
42 <div id="hierarchies">
43 [% PROCESS showhierarchy trees = loophierarchies %]
47 <h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
50 [% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">Number of records used in: [% count %]</a>[% ELSE %]This authority is not used in any records.[% END %]
53 <div class="authstanza">
54 [% FOREACH authorize IN summary.authorized %]
55 <div class="heading authorized auth[% seefro.field %]">
56 <span class="label">Preferred form: </span>
57 <span class="authorized">[% authorize.heading %]</span>
60 [% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
63 [% IF summary.seefrom.size %]
64 <div class="authstanza seefrom">
65 <div class="authstanzaheading">Used for/see from:</div>
67 [% FOREACH seefro IN summary.seefrom %]
68 <li class="heading seefrom auth[% seefro.field %]">
69 [% IF seefro.type && seefro.type != 'seefrom' %]
70 <span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>
72 <span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
75 [% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
80 [% IF summary.seealso.size %]
81 <div class="authstanza seealso">
82 <div class="authstanzaheading">See also:</div>
84 [% FOREACH seeals IN summary.seealso %]
85 <li class="heading seealso auth[% seeals.field %]">
86 [% IF seeals.type && seeals.type != 'seealso' %]
87 <span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>
89 <span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
92 [% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
97 [% IF marcflavour == 'UNIMARC' && summary.otherscript %]
98 <div class="authstanza">
99 <div class="authstanzaheading">Other forms:</div>
101 [% FOREACH otherscrip IN summary.otherscript %]
103 [% PROCESS language lang=otherscrip.lang | trim %]:
104 <span class="otherscript">[% otherscrip.term %]</span>
111 <div id="authdescriptions" class="toptabs">
113 <li id="tab_descriptions"><a href="#descriptions">Notes</a></li>
115 <div id="descriptions">
116 <div class="content_set">
117 [% FOREACH note IN summary.notes %]
118 <p class="note auth[% note.field %]">[% note.note %]</p>
123 </div> <!-- / .#userauthdetails -->
124 </div> <!-- / .span10/12 -->
125 </div> <!-- / .row-fluid -->
126 </div> <!-- / .container-fluid -->
127 </div> <!-- / .main -->
129 [% INCLUDE 'opac-bottom.inc' %]
130 [% BLOCK jsinclude %]
131 [% IF ( displayhierarchy ) %]
132 [% Asset.js("lib/jquery/plugins/jquery.jstree.js") %]
134 <script type="text/javascript">
136 $(document).ready(function() {
137 $('#authdescriptions').tabs();
138 [% IF ( displayhierarchy ) %]
139 var current_nodes = [];
140 $('.currentauth').each(function() {
141 current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
143 $('#hierarchies').jstree({
144 "plugins": [ "themes", "html_data"],
145 "themes": { "theme": "classic",
147 "core": { "initially_open": current_nodes }