Bug 2780 - Capitalize strings consistently (patron cards)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / patroncards / edit-batch.tt
1     [% INCLUDE 'doc-head-open.inc' %]
2     <title>Koha &rsaquo; Tools &rsaquo; Patron card creator &rsaquo; Manage patron card batches</title>
3     [% INCLUDE 'doc-head-close.inc' %]
4     [% INCLUDE 'greybox.inc' %]
5     <script type="text/javascript">
6         //<![CDATA[
7         $(document).ready(function() {
8             $("#cancel").empty();
9             buildButtons();
10          });
11         function buildButtons() {
12             var cancelButton = new YAHOO.widget.Button({
13                 type: "link",
14                 href: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch",
15                 label: _("Cancel"),
16                 id: "cancel",
17                 container: "cancel",
18             });
19         };
20     </script>
21 </head>
22 <body id="pcard_edit-batch" class="tools pcard">
23     [% INCLUDE 'header.inc' %]
24     [% INCLUDE 'cat-search.inc' %]
25     <div id="breadcrumbs">
26         <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
27         <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo;
28         <a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a> &rsaquo;
29         <a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Manage patron card batches</a> &rsaquo;
30         Manage batch number [% batch_id %]
31     </div>
32     <div id="doc3" class="yui-t2">
33         <div id="bd">
34             <div id="yui-main">
35                 <div class="yui-b">
36                     [% INCLUDE 'patroncards-batches-toolbar.inc' %]
37                     [% INCLUDE 'error-messages.inc' %]
38                     <div class="yui-g">
39                         <div class="yui-u first" id="manage-patroncard-batches">
40                             <div class="hint">Current library: [% LoginBranchname %]</div>
41                                 [% IF ( table_loop ) %]
42                                 <form name="items" class="checkboxed">
43                                     <h2>Items in batch number [% batch_id %]</h2>
44                                     <table>
45                                         [% FOREACH table_loo IN table_loop %]
46                                         [% IF ( table_loo.header_fields ) %]
47                                         <tr>
48                                         [% FOREACH header_field IN table_loo.header_fields %]
49                                             <th>[% header_field.field_label %]</th>
50                                         [% END %]
51                                         </tr>
52                                         [% ELSE %]
53                                         <tr>
54                                         [% FOREACH text_field IN table_loo.text_fields %]
55                                         [% IF ( text_field.select_field ) %]
56                                             <td align="center"><input type="checkbox" name="action" value="[% text_field.field_value %]"></td>
57                                         [% ELSE %]
58                                             <td>[% text_field.field_value %]</td>
59                                         [% END %]
60                                         [% END %]
61                                         </tr>
62                                         [% END %]
63                                         [% END %]
64                                     </table>
65                                 </form>
66                                 [% ELSE %]
67                                     <div class="dialog message"><h4>There are no items in batch [% batch_id %] yet</h4>
68                                     <p>Use the toolbar above to add items.</p></div>
69                                 [% END %]
70                             </div>
71                             [% IF ( duplicate_message ) %]
72                             <div class="yui-u">
73                                 <div class="dialog message">
74                                     <strong>[% duplicate_count %] duplicate item(s) found</strong> and removed from batch [% batch_id %].
75                                 </div>
76                             </div>
77                             [% END %]
78                         </div>
79                         <fieldset class="action">
80                             <span id="cancel"><a class="cancel" href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Cancel</a></span>
81                         </fieldset>
82                     </div>
83                 </div>
84                 <div class="yui-b">
85                     [% INCLUDE 'patroncards-menu.inc' %]
86                 </div>
87             </div>
88         </div>
89     [% INCLUDE 'intranet-bottom.inc' %]