Bug 16366 - Remove obsolete "border" attribute from <img> tags
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / authorities / searchresultlist.tt
1 [% PROCESS 'authorities-search-results.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Authorities &rsaquo; Authority search results</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
6 //<![CDATA[
7
8 function confirm_deletion(id) {
9     var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
10     if (is_confirmed) {
11       window.location="authorities-home.pl?op=delete"
12           + "&authid=" + id
13           + "&type=intranet"
14           + "&authtypecode=[% authtypecode %]"
15           + "&marclist=[% marclist %]"
16           + "&and_or=[% and_or %]"
17           + "&excluding=[% excluding %]"
18           + "&operator=[% operator %]"
19           + "&orderby=[% orderby %]"
20           + "&value=[% value |url %]"
21           + "&startfrom=[% startfrom %]"
22           + "&resultsperpage=[% resultsperpage %]";
23     }
24 }
25
26 function Help() {
27     newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
28 }
29
30 function addauthority() {
31     X = document.forms[0].authtype.value;
32     window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
33 }
34 function searchauthority() {
35     X = document.forms[0].authtype2.value;
36     Y = document.forms[0].value.value;
37     window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
38 }
39 //]]>
40 </script>
41 [% INCLUDE 'authorities_js.inc' %]
42 </head>
43 <body id="auth_searchresultlist" class="auth">
44 [% INCLUDE 'header.inc' %]
45 [% INCLUDE 'authorities-search.inc' %]
46
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> &rsaquo; Authority search results</div>
48
49 <div id="doc" class="yui-t7">
50    
51    <div id="bd">
52     <div id="yui-main">
53     <div class="yui-g">
54     
55     [% INCLUDE 'authorities-toolbar.inc' %]
56 <h1>Authority search results</h1>
57
58 <div id="merge_in_progress"></div>
59 [% IF ( total ) %]
60 <div class="pages">[% pagination_bar %]</div>
61
62 <p id="authorities_searchresultlist_current_page_info">
63   Results [% from %] to [% to %] of [% total %]
64 </p>
65
66 <div id="authorities_searchresultlist_results">
67   <table>
68       <tr>
69         <th colspan="2">Summary</th>
70         [% UNLESS ( isEDITORS ) %]
71           <th>Used in</th>
72         [% END %]
73         [% IF ( CAN_user_editauthorities ) %]
74           <th>&nbsp;</th>
75         [% END %]
76       </tr>
77     [% FOREACH resul IN result %]
78     <tr data-authid="[% resul.authid %]">
79       <td>[% PROCESS authresult summary=resul.summary %]</td>
80       <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
81     [% UNLESS ( resul.isEDITORS ) %]
82       <td>
83       [% IF resul.used > 0 %]
84           <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&amp;op=do_search&amp;idx=an,phr&amp;q=[% resul.authid %]" class="button">[% resul.used %] record(s)</a>
85       [% ELSE %]
86           0 records
87       [% END %]
88       </td>
89     [% END %]
90     [% IF ( CAN_user_editauthorities ) %]
91       <td>
92       <div class="dropdown">
93         <a class="btn btn-mini dropdown-toggle" id="authactions[% resul.authid %]" role="button" data-toggle="dropdown" href="#">
94         Actions <b class="caret"></b></a>
95         <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid %]">
96           <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit</a></li>
97           <li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li>
98           [% UNLESS ( resul.used ) %]
99             <li><a onclick='return confirm_deletion("[% resul.authid %]")'><i class="fa fa-trash"></i> Delete</a></li>
100           [% END %]
101         </ul>
102       </div>
103       </td>
104     [% END %]
105     </tr>
106     [% END %]
107   </table>
108 </div>
109
110 <div class="pages">[% pagination_bar %]</div>
111
112 [% ELSE %]
113   No results found
114 [% END %]
115 </div>
116 </div>
117 </div>
118 [% INCLUDE 'intranet-bottom.inc' %]