Merge remote-tracking branch 'origin/new/bug_6720'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / neworderbiblio.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Acquisitions &rsaquo; Search existing records</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4 [% INCLUDE 'greybox.inc' %]
5 [% INCLUDE 'doc-head-close.inc' %]
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/javascript">
10 //<![CDATA[
11  $(document).ready(function() {
12     var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
13         'bPaginate': false,
14         'bFilter': false,
15         'bInfo': false,
16         'bSort': false,
17     } ) );
18  });
19  //]]>
20 </script>
21 </head>
22 <body id="acq_neworderbiblio" class="acq">
23 [% INCLUDE 'header.inc' %]
24 [% INCLUDE 'acquisitions-search.inc' %]
25
26 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a> &rsaquo; <a href="/cgi-bin/koha/acqui/basket.pl?=[% basketno %]">Basket [% basketno %]</a> &rsaquo; Search existing records</div>
27
28 <div id="doc3" class="yui-t2">
29    
30    <div id="bd">
31         <div id="yui-main">
32         <div class="yui-b">
33         
34 <h1>Search existing records</h1>
35
36
37 [% IF ( total ) %]
38 <b>[% total %] results found </b> 
39 <div class="pages">[% pagination_bar %]</div>
40 [% ELSE %]
41 <h3> No results found</h3>
42 <p>
43     No results match your search for <span style="font-weight: bold;">&ldquo;[% query %]&rdquo;</span> in [% LibraryName %]
44 </p>
45 [% END %]
46
47 [% IF ( query_error ) %]
48     <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
49 [% END %]
50
51 [% IF ( total ) %]
52 <div class="searchresults">
53     <table id="resultst">
54     <thead>
55       <tr>
56          <th>Summary</th>
57          <th>Publisher</th>
58          <th>Copyright</th>
59          <th>&nbsp;</th>
60          <th>&nbsp;</th>
61       </tr>
62     </thead>
63     <tbody>
64       [% FOREACH biblio IN resultsloop %]
65         <tr>
66             <td>
67                 <p><span class="title">[% biblio.title |html %]</span>
68                 [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author %]</span>,[% END %]</p>
69                 <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
70                 [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
71                 [% IF ( biblio.notes ) %] : [% biblio.notes %][% END %]
72                 [% IF ( biblio.size ) %] ; [% biblio.size %][% END %]
73                 </p>
74             </td>
75             <td>
76                 [% biblio.publishercode %]
77                 [% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
78             </td>
79             <td>
80                 [% biblio.copyrightdate %]
81             </td>
82         <td>
83         <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
84         </td>
85             <td>
86             <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;biblionumber=[% biblio.biblionumber %]" title="Order this one">
87                 Order
88             </a>
89             </td>
90         </tr>
91       [% END %]
92     </tbody>
93     </table>
94 </div>
95 [% END %]
96
97 [% INCLUDE 'acquisitions-add-to-basket.inc' %]
98
99 </div>
100 </div>
101 <div class="yui-b">
102 [% INCLUDE 'acquisitions-menu.inc' %]
103 </div>
104 </div>
105 [% INCLUDE 'intranet-bottom.inc' %]