Enabling yuipath system preference for choosing local or Yahoo-hosted YUI js library...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-manager.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo;  Labels</title>
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <script type="text/javascript">
4 function Plugin(batch_id) {
5         window.open("label-item-search.pl?batch_id="+batch_id+"",'FindABibIndex','width=600,height=460,toolbar=no,scrollbars=yes');
6 }
7 </script>
8 </head>
9 <body>
10 <!-- TMPL_INCLUDE NAME="header.inc" -->
11 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
12
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Labels</div>
14
15 <div id="doc3" class="yui-t2">
16    
17    <div id="bd">
18         <div id="yui-main">
19         <div class="yui-b">
20 <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
21 <!-- TMPL_INCLUDE NAME="label-status.inc" -->
22
23 <!-- TMPL_UNLESS NAME="batch_id" -->
24
25 <!-- TMPL_IF NAME="batches" -->
26 <h2>Label Batches</h2>
27 <table>
28 <tr>
29         <th>Batch id</th>
30         <th>#</th>
31         <th>Edit</th>
32         <th>Delete</th>
33         <th>Print</th>
34 </tr>
35 <!-- TMPL_LOOP NAME="batches" -->
36 <tr>
37         <td>
38                 <!-- TMPL_VAR NAME="batch_id" -->
39         </td>
40         <td>
41                 <!-- TMPL_VAR NAME="num" --> records
42         </td>
43         <td>
44                 <a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Edit</a>
45         </td>
46         <td>
47                 <a href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete</a>
48         </td>
49           <td>
50                   <a class="button" style="float: right;"  href="/cgi-bin/koha/labels/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Generate PDF for Batch  <!-- TMPL_VAR NAME="batch_id" --></a>
51         </td></tr>
52 <!-- /TMPL_LOOP -->
53 </table>
54
55 <!-- /TMPL_IF -->
56
57 <!-- TMPL_ELSE -->
58 <div class="details">
59
60         <a class="button" href="#" onclick="Plugin(<!-- TMPL_VAR NAME="batch_id" -->); return false;">Add item(s) to batch</a> &nbsp;&nbsp;&nbsp;&nbsp;
61                 <a class="button" href="/cgi-bin/koha/labels/label-manager.pl?batch_id=">Return to batch summary</a>&nbsp;&nbsp;&nbsp;&nbsp;
62         <a class="button" style="border:2px solid #634;" href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete current batch (<!-- TMPL_VAR NAME="batch_id" -->)</a>&nbsp;&nbsp;&nbsp;&nbsp;
63 <a class="button"  href="/cgi-bin/koha/labels/label-print-pdf.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Generate PDF for Batch: <!-- TMPL_VAR NAME="batch_id" --></a>
64 </div>
65
66 <h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" -->  (<!-- TMPL_VAR NAME="batch_count" -->  items)</h2>
67
68 <table>
69 <tr>
70         <th>Label Number</th>
71         <th>Summary</th>
72         <th>Item Type</th>
73         <th>Barcode</th>
74         <th>Delete</th>
75 </tr>
76 <!-- TMPL_LOOP NAME="resultsloop" -->
77 <tr>
78         <td>
79                 <!-- TMPL_VAR NAME="labelno" -->
80         </td>
81         <td>
82                 <b> <a href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" -->:</a></b> <!-- TMPL_VAR NAME="author" -->:
83                 <!-- TMPL_VAR NAME="isbn" -->         </td>
84         <td>           <!-- TMPL_VAR NAME="itemtype" -->         </td>
85         <td>          <!-- TMPL_VAR NAME="barcode" -->         </td>
86         <td>
87                 <a href="/cgi-bin/koha/labels/label-manager.pl?op=delete&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->">Delete</a>
88         </td>
89 </tr>
90 <!-- /TMPL_LOOP -->
91 </table>
92
93
94 <!-- /TMPL_UNLESS -->
95
96 </div>
97 </div>
98 <div class="yui-b">
99 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
100 </div>
101 </div>
102 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->