Bug 8386: Error in duplicate detection message for authorities
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-authoritiessearchresultlist.tt
1 [% PROCESS 'authorities-search-results.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="opac-authoritiesresultlist">
6 [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
7    <div id="bd">
8 [% INCLUDE 'masthead.inc' %]
9
10         <div id="yui-main">
11         <div class="yui-b"><div class="yui-g">
12 <div id="userauthsearchresults" class="container">
13         <h1>Authority search results</h1>
14         <div id="pages">
15                         [% IF ( displayprev ) %]
16                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">
17                                         &lt;&lt;
18                                 </a>
19                         [% END %]
20                         [% FOREACH number IN numbers %]
21                                 [% IF ( number.highlight ) %]
22                                         <span class="current">[% number.number %]</span>
23                                 [% ELSE %]
24                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
25                                 [% END %]
26                         [% END %]
27                         [% IF ( displaynext ) %]
28                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
29                                 [% END %]
30                 </div>
31                 <div id="results">
32                         [% IF ( total ) %]
33                 [% IF ( countfuzzy ) %]
34                     <b>Showing [% resultcount %] of about [% total %] results</b>
35                 [% ELSE %]
36                     <b>Results [% from %] to [% to %] of [% total %]</b>
37                 [% END %]
38                         [% ELSE %]
39                         No results found.
40                         [% END %]
41                 </div>
42
43                         [% IF ( total ) %]
44 <div class="searchresults">
45                 <table>
46                         <tr>
47                 <th>Authorized headings</th>
48                 <th>Type of heading</th>
49                                 [% UNLESS ( isEDITORS ) %]
50                     <th>Biblio records</th>
51                                 [% END %]
52                 <th>Full heading</th>
53                         </tr>
54                         [% FOREACH resul IN result %]
55             [% UNLESS ( loop.odd ) %]
56                 <tr class="highlight">
57             [% ELSE %]
58                 <tr>
59             [% END %]
60                     <td>[% PROCESS authresult summary=resul.summary %]</td>
61                     <td>[% authtypetext %]</td>
62                                         [% UNLESS ( resul.isEDITORS ) %]
63                                                 <td>
64                                                          <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>
65                                                 </td>
66                                         [% END %]
67                                                 <td>
68                             <a href="opac-authoritiesdetail.pl?authid=[% resul.authid %]">View full heading</a>
69                                                 </td>
70                                 </tr>
71                         [% END %]
72                 </table>
73         </div>
74         <div id="resultnumber">
75                         [% IF ( displayprev ) %]
76                                 <a href="opac-authorities-home.pl?startfrom=[% startfromprev %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&lt;&lt;</a>
77                         [% END %]
78                         [% FOREACH number IN numbers %]
79                                 [% IF ( number.highlight ) %]<span class="current">[% number.number %]</span>[% ELSE %]
80                                         <a href="opac-authorities-home.pl?startfrom=[% number.startfrom %]&amp;[% FOREACH searchdat IN number.searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">[% number.number %]</a>
81                                 [% END %]
82                         [% END %]
83                         [% IF ( displaynext ) %]
84                                 <a href="opac-authorities-home.pl?startfrom=[% startfromnext %]&amp;[% FOREACH searchdat IN searchdata %][% searchdat.term %]=[% searchdat.val |url %]&amp;[% END %]&amp;resultsperpage=[% resultsperpage %]&amp;type=opac&amp;op=do_search&amp;authtypecode=[% authtypecode %]&amp;orderby=[% orderby %]">&gt;&gt;</a>
85                                 [% END %]
86         </div>  
87                         [% END %]
88 </div>
89 </div>
90 </div>
91 </div>
92 [% IF ( OpacNav ) %]
93 <div class="yui-b">
94 <div id="leftmenus" class="container">
95 [% INCLUDE 'navigation.inc' %]
96 </div>
97 </div>[% END %]
98 </div>
99 [% INCLUDE 'opac-bottom.inc' %]