5 [% PROCESS 'authorities-search-results.inc' %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Authority search results › Authorities › Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 [% Asset.css("css/addbiblio.css") | $raw %]
16 list-style-type: none;
21 <body id="auth_searchresultlist" class="auth">
22 [% WRAPPER 'header.inc' %]
23 [% INCLUDE 'authorities-search.inc' %]
26 [% WRAPPER 'sub-header.inc' %]
27 [% WRAPPER breadcrumbs %]
28 [% WRAPPER breadcrumb_item %]
29 <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
31 [% WRAPPER breadcrumb_item bc_active= 1 %]
32 <span>Authority search results</span>
34 [% END #/ WRAPPER breadcrumbs %]
35 [% END #/ WRAPPER sub-header.inc %]
37 <div class="main container-fluid">
39 <div class="col-md-8 col-md-offset-2">
41 [% INCLUDE 'authorities-toolbar.inc' %]
42 <h1>Authority search results</h1>
44 <div id="merge_in_progress" class="page-section bg-info" style="display:none;"></div>
45 <div class="page-section">
47 <div class="pages">[% pagination_bar | $raw %]</div>
49 <p id="authorities_searchresultlist_current_page_info">
50 Results [% from | html %] to [% to | html %] of [% total | html %]
53 <div id="authorities_searchresultlist_results">
58 [% UNLESS ( isEDITORS ) %]
61 [% IF Koha.Preference('ShowHeadingUse') %]
62 <th class="heading_use">Heading use</th>
64 [% IF ( CAN_user_editauthorities ) %]
68 [% FOREACH resul IN result %]
69 <tr data-authid="[% resul.authid | html %]">
72 [% resul.html | $raw %]
74 [% PROCESS authresult summary=resul.summary authid=resul.authid %]
77 <td>[% resul.authtype | html %]</td>
78 [% UNLESS ( resul.isEDITORS ) %]
80 [% IF resul.used > 0 %]
81 <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid | uri %]" class="button">[% resul.used | html %] record(s)</a>
87 [% IF Koha.Preference('ShowHeadingUse') %]
88 <td class="heading_use"><ul class="usefor">
89 <li>[% IF resul.main %]<i class="fa fa-check"></i>[% ELSE %]<i class="fa fa-times"></i>[% END %] Main/Added Entry</li>
90 <li>[% IF resul.subject %]<i class="fa fa-check"></i>[% ELSE %]<i class="fa fa-times"></i>[% END %] Subject</li>
91 <li>[% IF resul.series %]<i class="fa fa-check"></i>[% ELSE %]<i class="fa fa-times"></i>[% END %] Series Title</li>
94 [% IF ( CAN_user_editauthorities ) %]
96 <div class="btn-group dropup">
97 <a class="btn btn-default btn-xs dropdown-toggle" id="authactions[% resul.authid | html %]" role="button" data-toggle="dropdown" href="#">
98 Actions <b class="caret"></b></a>
99 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]">
100 <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil-alt"></i> Edit</a></li>
101 <li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li>
102 [% UNLESS ( resul.used ) %]
103 <li><a onclick='return confirm_deletion("[% resul.authid | html %]")'><i class="fa fa-trash-can"></i> Delete</a></li>
105 <li class="authority_preview">
106 <a data-authid="[% resul.authid | html %]" href="/cgi-bin/koha/authorities/detail.pl?authid=[% resul.authid | uri %]"><i class="fa-solid fa-eye"></i> MARC preview</a>
117 [% INCLUDE 'authority-detail-modal.inc' %]
119 <div class="pages">[% pagination_bar | $raw %]</div>
124 </div> <!-- /.page-section -->
128 [% MACRO jsinclude BLOCK %]
129 [% INCLUDE 'authorities_js.inc' %]
130 [% Asset.js("js/authorities-detail-modal.js") | $raw %]
133 [% INCLUDE 'intranet-bottom.inc' %]