1 [% BLOCK showreference %]
2 [% IF marcflavour == 'UNIMARC' %]
5 <span class="BT">BT: [% heading | html %]</span>
7 <span class="NT">NT: [% heading | html %]</span>
9 <span class="UF">UF: [% heading | html %]</span>
11 <span class="RT">RT: [% heading | html %]</span>
14 [% IF ( label ) %]<span class="label">[% label | html %]</span>[% END %]
15 <span class="heading">
16 [% IF ( linkpath && search ) %]<a href="[% link | url %][% search | url %]">[% heading | html %]</a>
17 [% ELSE %][% heading | html %][% END %]
19 [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
22 [% CASE 'earlier' %](Earlier heading)
23 [% CASE 'later' %](Later heading)
24 [% CASE 'acronym' %](Acronym)
25 [% CASE 'musical' %](Musical composition)
26 [% CASE 'broader' %](Broader heading)
27 [% CASE 'narrower' %](Narrower heading)
28 [% CASE 'parent' %](Immediate parent body)
30 [% IF type %]([% type | html %])[% END %]
33 [% END # / UNLESS seefrom %]
34 [% END # / IF marcflavour = 'UNIMARC' %]
35 [% END # / BLOCK showreference %]
37 [% BLOCK authresult %]
38 [% IF ( summary.summary ) %][% summary.summary | html %]:[% END %]
39 [% UNLESS ( summary.summaryonly ) %]
40 <div class="authorizedheading">
41 [% FOREACH authorize IN summary.authorized %]
42 <span class="authorizedheading">[% authorize.heading | html %]</span>
45 [% IF ( marcflavour == 'UNIMARC' ) %]
46 [% IF summary.notes %]
47 <div class="authres_notes">
48 [% FOREACH note IN summary.notes %]
49 [% note.note | html %]</span>
53 [% IF summary.seealso %]
54 <div class="authres_seealso">
55 [% FOREACH see IN summary.seealso %]
56 [% PROCESS showreference heading=see.heading label="" type=see.type search='' %]
57 [% IF ! loop.last %] ; [% END %]
61 [% IF summary.otherscript %]
62 <div class="authres_otherscript">
63 [% FOREACH other IN summary.otherscript %]
64 [% PROCESS language lang=other.lang | trim %]:
66 [% IF ! loop.last %] ; [% END %]
71 [% IF ( summary.seefrom ) %]
72 [% FOREACH seefro IN summary.seefrom %]
73 <div class="seefrom authref">
74 [% PROCESS showreference heading=seefro.heading label="used for/see from:" type=seefro.type search='' %]
78 [% IF ( summary.seealso ) %]
79 [% FOREACH seeals IN summary.seealso %]
80 <div class="seealso authref">
81 [% PROCESS showreference heading=seeals.heading label="see also:" type=seeals.type linkpath=link search=seeals.search %]
85 [% END # / IF marcflavour = 'UNIMARC' %]
86 [% END # / UNLESS summary.summaryonly %]
87 [% END # / BLOCK authresult %]