Frédéric Demians
492dd7dc7f
- Note field (3xx) are not displayed on search result page. We get 'HASH()' text. - Parallel/Other forms (7xx) are not displayed, with language name in front of heading, both on result and detail page. - Note are not displayed. - On result page, seealso form are displayed, but end with a superfluous '--' - Style the result page, with condensed block, and space between them. - Done both on OPAC/staff To be applied on 3.8.x after bug 8523. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
110 lines
4.1 KiB
Text
110 lines
4.1 KiB
Text
[% PROCESS 'opac-authorities.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Entry
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% IF ( displayhierarchy ) %]
|
|
<script language="javascript" type="text/javascript" src="/opac-tmpl/lib/jquery/plugins/jquery.jstree.js"></script>
|
|
[% END %]
|
|
<script language="javascript" type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function() {
|
|
$('#authdescriptions').tabs();
|
|
[% 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>
|
|
</head>
|
|
<body id="opac-authoritiesdetail">
|
|
|
|
<div id="doc3" class="yui-t7">
|
|
<div id="bd">
|
|
[% INCLUDE 'masthead.inc' %]
|
|
<div id="yui-main">
|
|
<div class="yui-b"><div class="yui-g">
|
|
|
|
<div id="views"><span class="view"><span id="Normalview">Normal view</span></span> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% authid %]&marc=1">MARC view</a></span></div>
|
|
|
|
<div id="userauthdetails" class="container">
|
|
|
|
[% IF ( displayhierarchy ) %]
|
|
<div id="hierarchies">
|
|
[% PROCESS showhierarchy trees = loophierarchies %]
|
|
</div>
|
|
[% END %]
|
|
|
|
<h1>[% summary.mainentry %][% IF authtypetext %] ([% authtypetext %])[% END %]</h1>
|
|
<div class="usedin">Used in <a href="opac-search.pl?type=opac&q=[% authid %]&idx=an,phr">[% count %] records</a></div>
|
|
<div class="authstanza">
|
|
[% FOREACH authorize IN summary.authorized %]
|
|
<div class="heading authorized auth[% seefro.field %]"><span class="label">Preferred form: </span><span class="authorized">[% authorize.heading %]</span></div>
|
|
[% END %]
|
|
[% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %]
|
|
</div>
|
|
[% IF summary.seefrom.size %]
|
|
<div class="authstanza seefrom">
|
|
<div class="authstanzaheading">Used for/see from:</div>
|
|
<ul class="seefrom">
|
|
[% FOREACH seefro IN summary.seefrom %]
|
|
<li class="heading seefrom auth[% seefro.field %]">
|
|
[% IF seefro.type && seefro.type != 'seefrom' %]<span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span>[% END %]
|
|
<span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span>
|
|
</li>
|
|
[% END %]
|
|
[% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %]
|
|
</div>
|
|
[% END %]
|
|
[% IF summary.seealso.size %]
|
|
<div class="authstanza seealso">
|
|
<div class="authstanzaheading">See also:</div>
|
|
<ul class="seelso">
|
|
[% FOREACH seeals IN summary.seealso %]
|
|
<li class="heading seealso auth[% seeals.field %]">[% IF seeals.type && seeals.type != 'seealso' %]<span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span>[% END %]
|
|
<span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span>
|
|
</li>
|
|
[% END %]
|
|
[% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %]
|
|
</div>
|
|
[% END %]
|
|
[% IF marcflavour == 'UNIMARC' && summary.otherscript %]
|
|
<div class="authstanza">
|
|
<div class="authstanzaheading">Other forms:</div>
|
|
<ul>
|
|
[% FOREACH otherscrip IN summary.otherscript %]
|
|
<li>
|
|
[% PROCESS language lang=otherscrip.lang | trim %]:
|
|
<span class="otherscript">[% otherscrip.term %]</span>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
[% END %]
|
|
<div id="authdescriptions" class="toptabs">
|
|
<ul>
|
|
<li id="tab_descriptions" class="ui-tabs-selected"><a href="#descriptions">Notes</a></li>
|
|
</ul>
|
|
<div id="descriptions">
|
|
<div class="content_set">
|
|
[% FOREACH note IN summary.notes %]
|
|
<p class="note auth[% note.field %]">[% note.note %]</p>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'opac-bottom.inc' %]
|