Koha/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
Katrin Fischer 22804d6ff6 Bug 6458: Incorrect translation processing - rotating_collections/...
Patch removes templates directives from HTML tags in the
rotating collections module.

The module is currently not interated into Koha's staff interface.
Fixing templats to make Jenkins happy.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-09-13 09:32:23 +12:00

90 lines
3.1 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Tools &rsaquo; Rotating Collections &rsaquo; Add/Remove Items</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
<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>
<div id="doc3">
<div id="bd">
<div class="yui-gb">
<h1>Rotating Collections: Add/Remove Items</h1>
<div>
<br />
[% IF ( previousActionAdd ) %]
[% IF ( addSuccess ) %]
<div>Item with barcode '[% addedBarcode %]' Added Successfully!</div>
[% ELSE %]
<div>Failed to add item with barcode '[% addedBarcode %]'!</div>
<div>Reason: <strong>[% failureMessage %]</strong></div>
[% END %]
[% END %]
[% IF ( previousActionRemove ) %]
[% IF ( removeSuccess ) %]
<div>Item with barcode '[% addedBarcode %]' Removed Successfully!</div>
[% ELSE %]
<div>Failed to remove item with barcode '[% removedBarcode %]'!</div>
<div>Reason: <strong>[% failureMessage %]</strong></div>
[% END %]
[% END %]
<h3>Add Item to <i>[% colTitle %]</i></h3>
</div>
<div>
<form action="addItems.pl" method="post">
<table>
<tr>
<th><label for="barcode">Barcode: </label></td>
<td><input type="text" id="barcode" name="barcode" /></td>
<td>
[% IF ( removeChecked ) %]<input type="checkbox" name="removeItem" checked="checked" />
[% ELSE %]<input type="checkbox" name="removeItem" />[% END %]
<label for="removeItem">Remove Item from Collection</label>
</td>
</tr>
<input type="hidden" id="colId" name="colId" value="[% colId %]" />
<input type="hidden" name="action" value="addItem" />
<tr><td align="right" colspan="99"><input type="submit" value="Submit" /></td></tr>
</table>
</form>
</div>
<div>
<h2>Items In This Collection</h2>
[% IF ( collectionItemsLoop ) %]
<table>
<tr>
<th>Title</th>
<th>Callnumber</th>
<th>Barcode</th>
</tr>
[% FOREACH collectionItemsLoo IN collectionItemsLoop %]
<tr>
<td>[% collectionItemsLoo.title |html %]</td>
<td>[% collectionItemsLoo.itemcallnumber %]</td>
<td>[% collectionItemsLoo.barcode %]</td>
</tr>
[% END %]
</table>
[% ELSE %]
There are no Items in this Collection.
[% END %]
</div>
<div>
<br/>
<input type="button" value="Return to Rotating Collections Home" onclick="window.location.href='rotatingCollections.pl'">
</div>
</div>
</div>
[% INCLUDE 'intranet-bottom.inc' %]