Bug 7889 [Search errors] Use standard style for errors and messages
[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 [% INCLUDE 'greybox.inc' %]
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body id="acq_neworderbiblio" class="acq">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'acquisitions-search.inc' %]
9
10 <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>
11
12 <div id="doc3" class="yui-t2">
13    
14    <div id="bd">
15         <div id="yui-main">
16         <div class="yui-b">
17         
18 <h1>Search existing records</h1>
19
20
21 [% IF ( total ) %]
22 <b>[% total %] results found </b> 
23 <div class="pages">[% pagination_bar %]</div>
24 [% ELSE %]
25 <h3> No results found</h3>
26 <p>
27     No results match your search for <span style="font-weight: bold;">&ldquo;[% query %]&rdquo;</span> in [% LibraryName %]
28 </p>
29 [% END %]
30
31 [% IF ( query_error ) %]
32     <div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
33 [% END %]
34
35 [% IF ( total ) %]
36 <div class="searchresults">
37     <table>
38     <tr>
39        <th>Summary</th>
40        <th>Publisher</th>
41        <th>Copyright</th>
42        <th colspan="2">&nbsp;</th>
43     </tr>
44     [% FOREACH biblio IN resultsloop %]
45         <tr>
46             <td>
47                 <p><span class="title">[% biblio.title |html %]</span>
48                 [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author %]</span>,[% END %]</p>
49                 <p>[% IF ( biblio.isbn ) %] [% biblio.isbn %][% END %]
50                 [% IF ( biblio.pages ) %] - [% biblio.pages %][% END %]
51                 [% IF ( biblio.notes ) %] : [% biblio.notes %][% END %]
52                 [% IF ( biblio.size ) %] ; [% biblio.size %][% END %]
53                 </p>
54             </td>
55             <td>
56                 [% biblio.publishercode %]
57                 [% IF ( biblio.place ) %] ; [% biblio.place %][% END %]
58             </td>
59             <td>
60                 [% biblio.copyrightdate %]
61             </td>
62         <td>
63         <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblio.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">View MARC</a>
64         </td>
65             <td>
66             <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;biblionumber=[% biblio.biblionumber %]" title="Order this one">
67                 Order
68             </a>
69             </td>
70         </tr>
71     [% END %]
72     </table>
73 </div>
74 [% END %]
75
76 [% INCLUDE 'acquisitions-add-to-basket.inc' %]
77
78 </div>
79 </div>
80 <div class="yui-b">
81 [% INCLUDE 'acquisitions-menu.inc' %]
82 </div>
83 </div>
84 [% INCLUDE 'intranet-bottom.inc' %]