Jonathan Druart
cd81bdc6a0
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
87 lines
3.9 KiB
Text
87 lines
3.9 KiB
Text
[% USE raw %]
|
|
[% USE Asset %]
|
|
[% USE Koha %]
|
|
[% PROCESS 'opac-authorities.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Entry [% authtypetext | html %]</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% BLOCK cssinclude %][% END %]
|
|
</head>
|
|
[% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesdetail' bodyclass='scrollto' %]
|
|
[% INCLUDE 'masthead.inc' %]
|
|
|
|
<div class="main">
|
|
<ul class="breadcrumb">
|
|
<li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
|
|
<li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">›</span></li>
|
|
<li><a href="#">Entry [% authtypetext | html %]</a></li>
|
|
</ul>
|
|
|
|
<div class="container-fluid">
|
|
<div class="row-fluid">
|
|
[% IF ( OpacNav || OpacNavBottom ) %]
|
|
<div class="span2">
|
|
<div id="navigation">
|
|
[% INCLUDE 'navigation.inc' %]
|
|
</div>
|
|
</div>
|
|
<div class="span10">
|
|
[% ELSE %]
|
|
<div class="span12">
|
|
[% END %]
|
|
<div id="userauthMARCdetails" class="maincontent">
|
|
<div id="views">
|
|
<span class="view">
|
|
<a id="Normalview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid | html %]">Normal view</a>
|
|
</span>
|
|
<span class="view">
|
|
<span id="MARCview">MARC view</span>
|
|
</span>
|
|
</div>
|
|
|
|
[% IF ( displayhierarchy ) %]
|
|
<div id="hierarchies">
|
|
[% PROCESS showhierarchy trees = loophierarchies %]
|
|
</div>
|
|
[% END %]
|
|
|
|
<h1>Entry [% authtypetext | html %]</h1>
|
|
<p><a href="opac-search.pl?type=opac&q=[% authid | uri %]&idx=an,phr">Number of records used in: [% count | html %]</a></p>
|
|
[% FOREACH Tag0X IN Tab0XX %]
|
|
<p><b>[% Tag0X.tag | html %]</b></p>
|
|
<ul>
|
|
[% FOREACH subfiel IN Tag0X.subfield %]
|
|
<li><b>[% subfiel.marc_lib | $raw %]:</b>
|
|
[% IF subfiel.isurl %]<a href="[% subfiel.marc_value | url %]">[% subfiel.marc_value | html %]</a>
|
|
[% ELSE %][% subfiel.marc_value | html %][% END %]</li>
|
|
[% END %]
|
|
</ul>
|
|
[% END %]
|
|
</div> <!-- / #userauthMARCdetails -->
|
|
</div> <!-- / .span10/12 -->
|
|
</div> <!-- / .row-fluid -->
|
|
</div> <!-- / .container-fluid -->
|
|
</div> <!-- / .main -->
|
|
|
|
[% INCLUDE 'opac-bottom.inc' %]
|
|
[% BLOCK jsinclude %]
|
|
[% Asset.js("lib/jquery/plugins/jquery.jstree.js") | $raw %]
|
|
<script>
|
|
//<![CDATA[
|
|
$(document).ready(function() {
|
|
[% IF ( displayhierarchy ) %]
|
|
var current_nodes = [];
|
|
$('.currentauth').each(function() {
|
|
current_nodes.push('#' + $(this).parent().parents('li:first').attr('id'));
|
|
});
|
|
$('#hierarchies').jstree({
|
|
"plugins": [ "themes", "html_data"],
|
|
"themes": { "theme": "classic",
|
|
"icons": false },
|
|
"core": { "initially_open": current_nodes }
|
|
});
|
|
[% END %]
|
|
});
|
|
//]]>
|
|
</script>
|
|
[% END %]
|