Bug 16876: Remove Full Heading column from OPAC Auth search results
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-authoritiessearchresultlist.tt
1 [% USE Koha %]
2 [% PROCESS 'opac-authorities.inc' %]
3 [% PROCESS 'authorities-search-results.inc' %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; [% IF ( total ) %]Authority search result[% ELSE %]No results found[% END %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
8 </head>
9 [% INCLUDE 'bodytag.inc' bodyid='opac-authoritiesresultlist' bodyclass='scrollto' %]
10 [% INCLUDE 'masthead.inc' %]
11
12     <div class="main">
13         <ul class="breadcrumb">
14             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
15             <li><a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> <span class="divider">&rsaquo;</span></li>
16             <li><a href="#">Results</a></li>
17         </ul>
18
19         <div class="container-fluid">
20             <div class="row-fluid">
21                 [% IF ( OpacNav || OpacNavBottom ) %]
22                     <div class="span2">
23                         <div id="navigation">
24                             [% INCLUDE 'navigation.inc' %]
25                         </div>
26                     </div>
27                     <div class="span10">
28                 [% ELSE %]
29                     <div class="span12">
30                 [% END %]
31                     <div id="userauthsearchresults" class="maincontent">
32                         <h1>Authority search results</h1>
33
34                         [% IF total %]
35                             <div class="pages">[% pagination_bar %]</div>
36                         [% END %]
37                         <div id="results">
38                             [% IF ( total ) %]
39                                 [% IF ( countfuzzy ) %]
40                                     <p><b>Showing [% resultcount %] of about [% total %] results</b></p>
41                                 [% ELSE %]
42                                     <p><b>Results [% from %] to [% to %] of [% total %]</b></p>
43                                 [% END %]
44                             [% ELSE %]
45                                 No results found.
46                             [% END %]
47                         </div>
48
49                         [% IF ( total ) %]
50                             <div class="searchresults">
51                                 <table class="table table-bordered table-striped">
52                                     <thead>
53                                         <tr>
54                                             <th colspan="2">Authorized headings</th>
55                                             <th>Type of heading</th>
56                                             [% UNLESS ( isEDITORS ) %]
57                                                 <th>Biblio records</th>
58                                             [% END %]
59                                         </tr>
60                                     </thead>
61                                     <tbody>
62                                         [% FOREACH resul IN result %]
63                                             <tr>
64                                                 <td>[% PROCESS authresult summary=resul.summary %]</td>
65                                                 <td><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% resul.authid %]">Details</a>
66                                                 <td>[% resul.authtype %]</td>
67                                                 [% UNLESS ( resul.isEDITORS ) %]
68                                                     <td>
69                                                          <a href="/cgi-bin/koha/opac-search.pl?type=opac&amp;op=do_search&amp;q=an=[% resul.authid %]">[% resul.used %] biblios</a>
70                                                     </td>
71                                                 [% END %]
72                                             </tr>
73                                         [% END %]
74                                     </tbody>
75                                 </table>
76                             </div> <!-- / .searchresults -->
77
78                             <div class="pages">[% pagination_bar %]</div>
79
80                         [% END # / IF total %]
81                     </div> <!-- / #userauthsearchresults -->
82                 </div> <!-- / .span10/12 -->
83             </div> <!-- / .row-fluid -->
84         </div> <!-- / .container-fluid -->
85     </div> <!-- / .main -->
86
87 [% INCLUDE 'opac-bottom.inc' %]
88 [% BLOCK jsinclude %][% END %]