Merge remote branch 'kc/new/bug_5301' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / addItems.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Add/Remove Items</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <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/rotating_collections/rotatingCollections.pl">Rotating Collections</a> &rsaquo; Add/Remove Items</div>
10
11 <div id="doc3">
12 <div id="bd">
13         <div class="yui-gb">
14
15       <h1>Rotating Collections: Add/Remove Items</h1>
16
17       <div>
18           <br />
19           <!-- TMPL_IF NAME="previousActionAdd" -->
20             <!-- TMPL_IF NAME="addSuccess" -->
21               <div>Item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->' Added Successfully!</div>
22             <!-- TMPL_ELSE -->
23               <div>Failed to add item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->'!</div>
24               <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
25             <!-- /TMPL_IF -->
26           <!-- /TMPL_IF -->
27
28           <!-- TMPL_IF NAME="previousActionRemove" -->
29             <!-- TMPL_IF NAME="removeSuccess" -->
30               <div>Item with barcode '<!-- TMPL_VAR NAME="addedBarcode" -->' Removed Successfully!</div>
31             <!-- TMPL_ELSE -->
32               <div>Failed to remove item with barcode '<!-- TMPL_VAR NAME="removedBarcode" -->'!</div>
33               <div>Reason: <strong><!-- TMPL_VAR NAME="failureMessage" --></strong></div>
34             <!-- /TMPL_IF -->
35           <!-- /TMPL_IF -->
36
37           <h3>Add Item to <i><!-- TMPL_VAR NAME="colTitle" --></i></h3>
38       </div>
39
40       <div>
41         <form action="addItems.pl" method="post">
42         <table>
43           <tr>
44             <th><label for="barcode">Barcode: </label></td>
45             <td><input type="text" id="barcode" name="barcode" /></td>
46             <td>
47               <input type="checkbox" name="removeItem" <!-- TMPL_IF NAME="removeChecked" -->checked<!-- /TMPL_IF--> >
48               <label for="removeItem">Remove Item from Collection</label>
49             </td>
50           </tr>
51
52           <input type="hidden" id="colId" name="colId" value="<!-- TMPL_VAR NAME="colId" -->" />
53           <input type="hidden" name="action" value="addItem" />
54           <tr><td align="right" colspan="99"><input type="submit" value="Submit" /></td></tr>
55         </table>
56         </form>
57       </div>
58
59       <div>
60         <h2>Items In This Collection</h2>
61         <!-- TMPL_IF NAME="collectionItemsLoop" -->
62           <table>
63             <tr>
64               <th>Title</th>
65               <th>Callnumber</th>
66               <th>Barcode</th>
67             </tr>
68             <!-- TMPL_LOOP NAME="collectionItemsLoop" -->
69               <tr>
70                 <td><!-- TMPL_VAR NAME="title" ESCAPE="html" --></td>
71                 <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
72                 <td><!-- TMPL_VAR NAME="barcode" --></td>
73               </tr>
74             <!-- /TMPL_LOOP -->
75           </table>
76         <!-- TMPL_ELSE -->
77           There are no Items in this Collection.
78         <!-- /TMPL_IF -->
79       </div>
80
81       <div>
82         <br/>
83         <input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
84       </div>
85
86 </div>
87 </div>
88 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
89