3 [% USE AdditionalContents %]
4 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6 [% PROCESS 'opac-authorities.inc' %]
7 [% PROCESS 'authorities-search-results.inc' %]
8 [% PROCESS 'i18n.inc' %]
10 <nav class="pagination pagination-sm noprint" aria-label="Search results pagination">
11 <ul class="pagination">
12 [% IF ( displayprev ) %]
13 <li class="page-item">
14 <a class="page-link" href="opac-authorities-home.pl?startfrom=[% startfromprev | uri %]&[% FOREACH searchdat IN searchdata %][% searchdat.term | uri %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage | uri %]&type=opac&op=do_search&authtypecode=[% authtypecode | uri %]&orderby=[% orderby | uri %]" aria-label="Go to the previous page">
15 <i class="fa fa-fw fa-angle-left" aria-hidden="true"></i> Previous
19 [% FOREACH number IN numbers %]
20 [% IF ( number.highlight ) %]
21 <li class="page-item disabled">
22 <a class="page-link" href="#" aria-disabled="true" aria-label="Current page: Page [% number.number | html %]">[% number.number | html %]</a>
25 <li class="page-item">
26 <a class="page-link" href="opac-authorities-home.pl?startfrom=[% number.startfrom | uri %]&[% FOREACH searchdat IN number.searchdata %][% searchdat.term | uri %]=[% searchdat.val |url %]&[% END %]resultsperpage=[% resultsperpage | uri %]&type=opac&op=do_search&authtypecode=[% authtypecode | uri %]&orderby=[% orderby | uri %]" aria-label="Go to page [% number.number | html %]">[% number.number | html %]</a>
30 [% IF ( displaynext ) %]
31 <li class="page-item">
32 <a class="page-link" href="opac-authorities-home.pl?startfrom=[% startfromnext | uri %]&[% FOREACH searchdat IN searchdata %][% searchdat.term | uri %]=[% searchdat.val |url %]&[% END %]&resultsperpage=[% resultsperpage | uri %]&type=opac&op=do_search&authtypecode=[% authtypecode | uri %]&orderby=[% orderby | uri %]" aria-label="Go to the next page">
33 Next <i class="fa fa-fw fa-angle-double-right" aria-hidden="true"></i>
38 </nav> <!-- / #pages -->
40 [% INCLUDE 'doc-head-open.inc' %]
41 <title>[% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
42 [% INCLUDE 'doc-head-close.inc' %]
43 [% BLOCK cssinclude %][% END %]
45 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesresultlist' bodyclass='scrollto' %]
46 [% INCLUDE 'masthead.inc' %]
49 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
50 <ol class="breadcrumb">
51 <li class="breadcrumb-item">
52 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
54 <li class="breadcrumb-item">
55 <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a>
57 <li class="breadcrumb-item active">
58 <a href="#" aria-current="page">Results</a>
61 </nav> <!-- /#breadcrumbs -->
63 <div class="container-fluid">
65 [% IF ( OpacNav || OpacNavBottom ) %]
66 <div class="col-lg-2">
68 [% INCLUDE 'navigation.inc' %]
71 <div class="col-lg-10 order-first order-md-first order-lg-2">
73 <div class="col order-first order-md-first order-lg-2">
75 <div id="userauthsearchresults" class="maincontent">
76 <h1>Authority search results</h1>
79 <div class="pages">[% pagination_bar | $raw %]</div>
83 [% IF ( countfuzzy ) %]
84 <p><strong>Showing [% resultcount | html %] of about [% total | html %] results</strong></p>
86 <p><strong>Results [% from | html %] to [% to | html %] of [% total | html %]</strong></p>
94 <div class="searchresults">
95 <table class="table table-bordered table-striped">
96 <caption class="sr-only">Authority search results</caption>
99 <th colspan="2">Authorized headings</th>
100 <th>Type of heading</th>
101 [% UNLESS ( isEDITORS ) %]
107 [% FOREACH resul IN result %]
111 [% resul.html | $raw %]
113 [% PROCESS authresult summary=resul.summary authid=resul.authid %]
116 <td><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% resul.authid | uri %]">Details</a>
117 <td>[% resul.authtype | html %]</td>
118 [% UNLESS ( resul.isEDITORS ) %]
120 [% IF resul.used > 0 %]
121 <a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an,phr:[% resul.authid | uri %]">[% resul.used | html %] [% tn('record', 'records', resul.used ) | html %]</a>
131 </div> <!-- / .searchresults -->
133 <div class="pages">[% pagination_bar | $raw %]</div>
135 [% END # / IF total %]
136 </div> <!-- / #userauthsearchresults -->
137 </div> <!-- / .col-lg-10/12 -->
138 </div> <!-- / .row -->
139 </div> <!-- / .container-fluid -->
140 </div> <!-- / .main -->
142 [% INCLUDE 'opac-bottom.inc' %]
143 [% BLOCK jsinclude %][% END %]