Trying again: Standardizing styling of error messages; other markup corrections.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-manager.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; <!-- TMPL_IF NAME="batch_is_labels" -->Label<!-- TMPL_ELSIF NAME="batch_is_patroncards" -->Patron Card<!-- TMPL_ELSE -->Unknown Batchtype<!-- /TMPL_IF --> Batch</title>
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body>
5 <!-- TMPL_INCLUDE NAME="header.inc" -->
6 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
7
8 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> &rsaquo; <!-- TMPL_IF NAME="batch_is_labels" -->Label<!-- TMPL_ELSIF NAME="batch_is_patroncards" -->Patron Card<!-- TMPL_ELSE -->Unknown Batchtype<!-- /TMPL_IF --> Batch</div>
9  <div id="doc3" class="yui-t2">
10   <div id="bd">
11    <div id="yui-main">
12         <div class="yui-b">
13
14 <!-- TMPL_IF NAME="message" -->
15         <!-- TMPL_LOOP NAME="message_loop" -->
16         <div class="dialog message"><!-- TMPL_VAR NAME="message_text" --></div>
17         <!-- /TMPL_LOOP -->
18 <!-- /TMPL_IF -->
19
20 <!-- TMPL_IF NAME="batch_id" -->
21 <!-- TMPL_INCLUDE NAME="tools-labels-batches-toolbar.inc" -->
22 <div class="yui-g">
23     <div class="yui-u first">
24 <!-- TMPL_IF NAME="batch_is_labels" -->
25     <h2>Items to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" -->  (<!-- TMPL_VAR NAME="batch_count" -->  items)</h2>
26     <table>
27         <tr>
28             <th>Label Num.</th>
29             <th>Summary</th>
30             <th>Item Type</th>
31             <th>Barcode</th>
32             <th>Delete</th>
33         </tr>
34         <!-- TMPL_LOOP NAME="resultsloop" -->
35         <tr>
36             <td><!-- TMPL_VAR NAME="labelno" --></td>
37             <td><b><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"> <!-- TMPL_VAR NAME="title" --></a></b> : <!-- TMPL_VAR NAME="author" --> : <!-- TMPL_VAR NAME="isbn" --></td>
38             <td><!-- TMPL_VAR NAME="itemtype" --></td>
39             <td><!-- TMPL_VAR NAME="barcode" --></td>
40             <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete&amp;labelid=<!-- TMPL_VAR NAME="labelid" -->&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=labels">Delete</a></td>
41                             <!-- FIXME: should use POST to change server state, not GET -->
42         </tr>
43         <!-- /TMPL_LOOP -->
44     </table>
45 <!-- TMPL_ELSIF NAME="batch_is_patroncards" -->
46     <h2>Patron Cards to be Printed for Batch <!-- TMPL_VAR NAME="batch_id" -->  (<!-- TMPL_VAR NAME="batch_count" -->  items)</h2>
47     <table>
48         <tr>
49             <th>Card<br />Num.</th>
50             <th>Patron Name</th>
51             <th>Borrower Number</th>
52             <th>Card Number</th>
53             <th>Delete</th>
54         </tr>
55         <!-- TMPL_LOOP NAME="resultsloop" -->
56         <tr>
57             <td><!-- TMPL_VAR NAME="cardno" --></td>
58             <td><b><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"> <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></a></b></td>
59             <td><!-- TMPL_VAR NAME="borrowernumber" --></td>
60             <td><!-- TMPL_VAR NAME="cardnumber" --></td>
61             <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete&amp;cardid=<!-- TMPL_VAR NAME="cardid" -->&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=patroncards">Remove</a></td>
62                             <!-- FIXME: should use POST to change server state, not GET -->
63         </tr>
64         <!-- /TMPL_LOOP -->
65     </table>
66 <!-- TMPL_ELSE -->
67         <div class="dialog alert">Error: Unknown Batch Type &quot;<!-- TMPL_VAR NAME="batch_type" -->&quot;</div>
68 <!-- /TMPL_IF -->
69     </div>
70     <div class="yui-u">
71         <!-- TMPL_INCLUDE NAME="label-status.inc" -->
72     </div>
73 </div>
74 <!-- TMPL_ELSE -->
75 <!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
76 <!-- TMPL_IF NAME="batch_is_labels" -->
77     <div class="yui-g">
78         <div class="yui-u first">
79 <!-- TMPL_IF NAME="batches" -->
80             <h2>Label Batches</h2>
81             <table>
82                 <tr>
83                     <th>ID</th>
84                     <th>#</th>
85                     <th>Edit</th>
86                     <th>Delete</th>
87                     <th>Print</th>
88                 </tr>
89                 <!-- TMPL_LOOP NAME="batches" -->
90                 <tr>
91                     <td><!-- TMPL_VAR NAME="batch_id" --></td>
92                     <td><!-- TMPL_VAR NAME="num" --> records</td>
93                     <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=labels">Edit</a></td>
94                     <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=labels">Delete</a><!-- FIXME: should use POST to change server state, not GET --></td>
95                     <td><a style="float: left;"  href="/cgi-bin/koha/labels/label-print-<!-- TMPL_VAR NAME="outputformat" -->.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=labels">Generate and download <!-- TMPL_VAR NAME="batch_id" --></a></td>
96                 </tr>
97                 <!-- /TMPL_LOOP -->
98             </table>
99 <!-- TMPL_ELSE -->
100             <fieldset class="brief">
101             <legend>No Label Batches Currently Defined</legend>
102             <div class="hint">
103                 Select "New Label Batch" to create a Label batch.
104             </div>
105             </fieldset>
106 <!-- /TMPL_IF --><!-- /batches -->
107         </div>
108         <div class="yui-u">
109         <!-- TMPL_INCLUDE NAME="label-status.inc" -->
110         </div>
111     </div>
112 <!-- TMPL_ELSIF NAME="batch_is_patroncards" -->
113     <div class="yui-g">
114         <div class="yui-u first">
115 <!-- TMPL_IF NAME="batches" -->
116             <h2>Patron Card Batches</h2>
117             <table>
118                 <tr>
119                     <th>ID</th>
120                     <th>#</th>
121                     <th>Edit</th>
122                     <th>Delete</th>
123                     <th>Print</th>
124                 </tr>
125                 <!-- TMPL_LOOP NAME="batches" -->
126                 <tr>
127                     <td><!-- TMPL_VAR NAME="batch_id" --></td>
128                     <td><!-- TMPL_VAR NAME="num" --> records</td>
129                     <td><a href="/cgi-bin/koha/labels/label-manager.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=patroncards">Edit</a></td>
130                     <td><a href="/cgi-bin/koha/labels/label-manager.pl?op=delete_batch&amp;batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=patroncards">Delete</a><!-- FIXME: should use POST to change server state, not GET --></td>
131                     <td><a style="float: left;"  href="/cgi-bin/koha/labels/label-print-<!-- TMPL_VAR NAME="outputformat" -->.pl?batch_id=<!-- TMPL_VAR NAME="batch_id" -->&amp;type=patroncards">Generate and download <!-- TMPL_VAR NAME="batch_id" --></a></td>
132                 </tr>
133                 <!-- /TMPL_LOOP -->
134             </table>
135 <!-- TMPL_ELSE -->
136             <fieldset class="brief">
137             <legend>No Patron Card Batches Currently Defined</legend>
138             <div class="hint">
139                 Select "New Patron Card Batch" to create a Label batch.
140             </div>
141             </fieldset>
142 <!-- /TMPL_IF --><!-- /batches -->
143         </div>
144         <div class="yui-u">
145             <!-- TMPL_INCLUDE NAME="label-status.inc" -->
146         </div>
147     </div>
148 <!-- /TMPL_IF --><!-- /type -->
149 <!-- /TMPL_IF --><!-- batch_id -->
150 </div>
151 </div>
152 <div class="yui-b">
153 <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
154 </div>
155 </div>
156 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->