|
Lines 50-66
Link Here
|
| 50 |
</span> |
50 |
</span> |
| 51 |
</div> |
51 |
</div> |
| 52 |
|
52 |
|
| 53 |
[% IF ( displayhierarchy ) %] |
|
|
| 54 |
<div id="hierarchies"> |
| 55 |
[% PROCESS showhierarchy trees = loophierarchies %] |
| 56 |
</div> |
| 57 |
[% END %] |
| 58 |
|
| 59 |
<h1>[% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %]</h1> |
53 |
<h1>[% summary.mainentry | html %][% IF authtypetext %] ([% authtypetext | html %])[% END %]</h1> |
| 60 |
|
54 |
|
| 61 |
<div class="usedin"> |
55 |
<div class="usedin"> |
| 62 |
[% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid | uri %]&idx=an,phr">Number of records used in: [% count | html %]</a>[% ELSE %]This authority is not used in any records.[% END %] |
56 |
[% IF count %]<a href="/cgi-bin/koha/opac-search.pl?type=opac&q=[% authid | uri %]&idx=an,phr">Number of records used in: [% count | html %]</a>[% ELSE %]This authority is not used in any records.[% END %] |
| 63 |
</div> |
57 |
</div> |
|
|
58 |
<br> |
| 64 |
|
59 |
|
| 65 |
<div class="authstanza"> |
60 |
<div class="authstanza"> |
| 66 |
[% FOREACH authorize IN summary.authorized %] |
61 |
[% FOREACH authorize IN summary.authorized %] |
|
Lines 72-162
Link Here
|
| 72 |
[% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %] |
67 |
[% PROCESS otherscript headings=summary.otherscript wantcategory='preferred' %] |
| 73 |
</div> |
68 |
</div> |
| 74 |
|
69 |
|
| 75 |
[% IF summary.seefrom.size %] |
70 |
[% IF authresult.html %] |
| 76 |
<div class="authstanza seefrom"> |
71 |
[% authresult.html | $raw %] |
| 77 |
<div class="authstanzaheading">Used for/see from:</div> |
72 |
[% ELSE %] |
| 78 |
<ul class="seefrom"> |
73 |
[% PROCESS authresult summary=authresult.summary authid=authresult.authid %] |
| 79 |
[% FOREACH seefro IN summary.seefrom %] |
|
|
| 80 |
<li class="heading seefrom auth[% seefro.field | html %]"> |
| 81 |
[% IF seefro.type && seefro.type != 'seefrom' %] |
| 82 |
<span class="label">[% PROCESS authtypelabel type=seefro.type | trim %]:</span> |
| 83 |
[% END %] |
| 84 |
<span class="seefrom">[% PROCESS authheadingdisplay heading=seefro.heading search=seefrosearch authid=seefro.authid %]</span> |
| 85 |
</li> |
| 86 |
[% END %] |
| 87 |
[% PROCESS otherscript headings=summary.otherscript wantcategory='seefrom' %] |
| 88 |
</ul> |
| 89 |
</div> |
| 90 |
[% END %] |
| 91 |
|
| 92 |
[% IF summary.seealso.size %] |
| 93 |
<div class="authstanza seealso"> |
| 94 |
<div class="authstanzaheading">See also:</div> |
| 95 |
<ul class="seelso"> |
| 96 |
[% FOREACH seeals IN summary.seealso %] |
| 97 |
<li class="heading seealso auth[% seeals.field | html %]"> |
| 98 |
[% IF seeals.type && seeals.type != 'seealso' %] |
| 99 |
<span class="label">[% PROCESS authtypelabel type=seeals.type | trim %]:</span> |
| 100 |
[% END %] |
| 101 |
<span class="seealso">[% PROCESS authheadingdisplay heading=seeals.heading search=seeals.search authid=seeals.authid %]</span> |
| 102 |
</li> |
| 103 |
[% END %] |
| 104 |
[% PROCESS otherscript headings=summary.otherscript wantcategory='seealso' %] |
| 105 |
</ul> |
| 106 |
</div> |
| 107 |
[% END %] |
| 108 |
|
| 109 |
[% IF marcflavour == 'UNIMARC' && summary.otherscript %] |
| 110 |
<div class="authstanza"> |
| 111 |
<div class="authstanzaheading">Other forms:</div> |
| 112 |
<ul> |
| 113 |
[% FOREACH otherscrip IN summary.otherscript %] |
| 114 |
<li> |
| 115 |
[% PROCESS language lang=otherscrip.lang | trim %]: |
| 116 |
<span class="otherscript">[% otherscrip.term | html %]</span> |
| 117 |
</li> |
| 118 |
[% END %] |
| 119 |
</ul> |
| 120 |
</div> |
| 121 |
[% END %] |
74 |
[% END %] |
| 122 |
|
75 |
|
| 123 |
[% IF ( MARCURLS ) %] |
|
|
| 124 |
<div class="authstanza online_resources"> |
| 125 |
<span class="label">Online resources:</span> |
| 126 |
<ul> |
| 127 |
[% FOREACH MARCurl IN MARCURLS %] |
| 128 |
<li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]<br />[% END %] |
| 129 |
[% IF ( Koha.Preference('OPACURLOpenInNewWindow') ) %] |
| 130 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]" target="_blank" rel="noreferrer"> |
| 131 |
[% ELSE %] |
| 132 |
<a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]"> |
| 133 |
[% END %] |
| 134 |
[% MARCurl.linktext | html %]</a> |
| 135 |
[% IF ( MARCurl.notes ) %] |
| 136 |
<ul> |
| 137 |
[% FOREACH note IN MARCurl.notes %] |
| 138 |
<li>[% note.note | html %]</li> |
| 139 |
[% END %] |
| 140 |
</ul> |
| 141 |
[% END %] |
| 142 |
</li> |
| 143 |
[% END # /FOREACH MARCURLS %] |
| 144 |
</ul> |
| 145 |
</div> |
| 146 |
[% END # / IF MARCURLS %] |
| 147 |
|
| 148 |
<div id="authdescriptions" class="toptabs"> |
| 149 |
<ul> |
| 150 |
<li id="tab_descriptions"><a href="#descriptions">Notes</a></li> |
| 151 |
</ul> |
| 152 |
<div id="descriptions"> |
| 153 |
<div class="content_set"> |
| 154 |
[% FOREACH note IN summary.notes %] |
| 155 |
<p class="note auth[% note.field | html %]">[% note.note | html %]</p> |
| 156 |
[% END %] |
| 157 |
</div> |
| 158 |
</div> |
| 159 |
</div> |
| 160 |
</div> <!-- / .#userauthdetails --> |
76 |
</div> <!-- / .#userauthdetails --> |
| 161 |
</div> <!-- / .col-lg-10/12 --> |
77 |
</div> <!-- / .col-lg-10/12 --> |
| 162 |
</div> <!-- / .row --> |
78 |
</div> <!-- / .row --> |