Merge remote branch 'kc/new/bug_4218' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / addbooks.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Cataloging</title>
3 <!-- TMPL_INCLUDE NAME="greybox.inc" -->
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <script type="text/javascript">
6         $(document).ready(function() {
7         $('#header_search').tabs();
8  });
9 </script>
10 </head>
11 <body>
12 <!-- TMPL_INCLUDE NAME="header.inc" -->
13 <!-- TMPL_INCLUDE NAME="cataloging-search.inc" -->
14
15 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloging</div>
16
17 <div id="doc" class="yui-t7">
18
19    <div id="bd">
20         <div id="yui-main">
21
22 <!-- TMPL_INCLUDE NAME="cataloging-toolbar.inc" -->
23
24         <!-- TMPL_IF name="noitemsfound" -->
25                 No results found
26         <!-- /TMPL_IF -->
27
28 <!-- display the search results -->
29
30 <!-- TMPL_IF NAME="total"-->
31 <!-- TMPL_VAR NAME="total"--> result(s) found in catalog,
32 <a href="#searchresult-breeding"><!-- TMPL_VAR NAME="breeding_count" --> result(s) found in reservoir</a>
33 <!-- TMPL_VAR name='pagination_bar'-->
34 <div class="searchresults">
35     <table>
36         <tr>
37             <th>Title</th>
38             <th>Location</th>
39             <th>Preview</th>
40             <!-- TMPL_IF NAME="CAN_user_editcatalogue_edit_catalogue" --><th>&nbsp;</th><!-- TMPL_ELSE --><!-- /TMPL_IF -->
41             <!-- TMPL_IF NAME="CAN_user_editcatalogue_edit_items" --><th>&nbsp;</th><!-- /TMPL_IF -->
42         </tr>
43     <!-- TMPL_LOOP NAME="resultsloop" -->
44         <!-- TMPL_IF name="even" -->
45             <tr class="highlight">
46         <!-- TMPL_ELSE -->
47             <tr>
48         <!-- /TMPL_IF -->
49             <td>
50                 <p>
51                     <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" ESCAPE="html" --></a>
52                 <!--TMPL_LOOP Name="subtitle"--><!-- TMPL_VAR NAME="subfield" --><!--/TMPL_LOOP--></p>
53                 <!-- TMPL_IF name="summary" -->
54                     <p><!-- TMPL_VAR name="summary" --></p>
55                 <!-- TMPL_ELSE -->
56                     <p>
57                         <!-- TMPL_IF NAME="author" -->
58                             <!-- TMPL_VAR NAME="author" -->
59                         <!-- TMPL_ELSE -->
60                             &nbsp;
61                         <!-- /TMPL_IF -->
62                         <!-- TMPL_IF NAME="isbn" --> - <!-- TMPL_VAR NAME="isbn" --> <!-- /TMPL_IF -->
63                         <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
64                         <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
65                         <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
66                         <!-- TMPL_IF NAME="edition" -->Edition: <!-- TMPL_VAR NAME="edition" --><!-- /TMPL_IF -->
67                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
68                         <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
69                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
70                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
71                     </p>
72                 <!-- /TMPL_IF -->
73                 </td>
74                 <td>
75                     <!-- TMPL_IF NAME="items_loop" -->
76                         <span class="available">
77                         <!-- TMPL_LOOP NAME="items_loop" -->
78                             <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchname" -->
79                             <i>
80                         <!-- TMPL_IF name="location" --><!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
81                         <!-- TMPL_IF name="itemcallnumber" --><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
82                             <!-- TMPL_IF name="classification" -->
83                             <a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
84                                 <!-- TMPL_VAR NAME="classification" -->
85                             </a>
86                         <!-- /TMPL_IF -->
87                         </i>
88                             <br />
89                         <!-- /TMPL_LOOP -->
90                         </span>
91                     <!-- /TMPL_IF -->
92                     <span class="unavailable">
93                         <!-- TMPL_IF NAME="onloancount" --> Checked out (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
94                         <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
95                         <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
96                         <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
97                     </span>
98                 </td>
99                                 <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">Card</a>
100                 </td>
101                 <!-- TMPL_IF NAME="CAN_user_editcatalogue_edit_catalogue"--><td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Edit biblio</a></td><!-- /TMPL_IF -->
102                 <!-- TMPL_IF NAME="CAN_user_editcatalogue_edit_items" --><td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Add/Edit Items</a></td><!-- /TMPL_IF -->
103             </tr>
104     <!-- /TMPL_LOOP -->
105     </table>
106 </div>
107 <!-- TMPL_ELSE -->
108     <!-- TMPL_IF name='query'-->
109         <!-- TMPL_IF NAME="error" --><div class="dialog alert"><!-- /TMPL_IF --><b>No results found</b>
110         <!-- TMPL_IF NAME="error" -->
111             Error: <span class="error"><!-- TMPL_VAR NAME="error" --></span></div>
112         <!-- /TMPL_IF -->
113     <!-- /TMPL_IF -->
114 <!-- /TMPL_IF -->
115
116 <!-- TMPL_IF name='query'-->
117 <div id="searchresult-breeding">
118     <h3>Biblios in reservoir</h3>
119     <!-- TMPL_IF name="breeding_loop" -->
120         <table>
121             <tr>
122                 <th>Title</th>
123                 <th>ISBN</th>
124                 <th>Date</th>
125                 <th>Edition</th>
126                 <th>coming from</th>
127                 <th>preview</th>
128                 <th>&nbsp;</th>
129             </tr>
130             <!-- TMPL_LOOP NAME="breeding_loop" -->
131             <!-- TMPL_IF NAME="__odd__" -->
132                <tr>
133             <!--  TMPL_ELSE -->
134                <tr class="highlight">
135             <!-- /TMPL_IF -->
136                 <td><!-- TMPL_VAR NAME="title" escape="html" -->
137                 <!-- TMPL_VAR NAME="author" --></td>
138                 <td><!-- TMPL_VAR NAME="isbn" --></td>
139                 <td><!-- TMPL_VAR NAME="copyrightdate" --></td>
140                 <td><!-- TMPL_VAR NAME="edition" --></td>
141                 <td><!-- TMPL_VAR NAME="file" --></td>
142                 <td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=<!-- TMPL_VAR NAME="id" -->" title="MARC" rel="gb_page_center[600,500]">Card</a>
143                                 </td>
144                 <td>
145                         <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=<!-- TMPL_VAR NAME="id" -->" <!-- TMPL_UNLESS NAME="CAN_user_editcatalogue_edit_catalogue" --> class="disabled" onclick="return false;"<!-- /TMPL_UNLESS -->>Add biblio</a>
146                 </td>
147             </tr>
148             <!-- /TMPL_LOOP -->
149         </table>
150     <!-- TMPL_ELSE -->
151     <p>None</p>
152     <!-- /TMPL_IF -->
153 </div>
154 <!-- /TMPL_IF -->
155 </div>
156 </div>
157 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->