[% USE raw %]
[% USE Asset %]
[% SET footerjs = 1 %]
[% PROCESS 'authorities.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
[% INCLUDE 'authorities-toolbar.inc' %]
[% IF ( displayhierarchy ) %]
[% PROCESS showhierarchy trees = loophierarchies %]
[% END %]
[% IF ( unknownauthid ) %]
The authority record you requested does not exist ([% errauthid | html %]).
[% ELSE %]
Authority #[% authid | html %] ([% authtypetext | html %])
[% FOREACH BIG_LOO IN BIG_LOOP %]
[% FOREACH innerloo IN BIG_LOO.innerloop %]
[% IF ( innerloo.tag_number ) %]
[% innerloo.tag_number | html %]
[% IF (innerloo.defined("ind1") ) %]
[% innerloo.ind1 | html %][% innerloo.ind2 | html %]
[% END %]
[% IF (innerloo.tag_desc) %]
- [% innerloo.tag_desc | html %]
[% END %]
[% ELSE %]
[% END %]
[% FOREACH subfiel IN innerloo.subfield %]
[% UNLESS ( subfiel.hide_marc ) %]
[% subfiel.marc_subfield | html %]
[% END %]
[% subfiel.long_desc | html %]
[% IF ( subfiel.is_url ) %]
[% subfiel.marc_value | html %]
[% ELSE %]
[% subfiel.marc_value | html %]
[% END %]
[% IF ( subfiel.link ) %]
[% END %]
[% IF ( subfiel.authority ) %]
Auth
[% END %]
[% END %]
[% END %]
[% END %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'authorities_js.inc' %]
[% IF ( displayhierarchy ) %]
[% Asset.js("lib/jquery/plugins/jquery.jstree.js") | $raw %]
[% END %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]