|
Lines 1-5
Link Here
|
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>Koha › Tools › Rotating collections › Collection [% colTitle %] ’ Add or remove items</title> |
2 |
<title>Koha › Tools › Rotating collections › Collection [% collection.colTitle %] ’ Add or remove items</title> |
| 3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
| 4 |
<script type="text/javascript"> |
4 |
<script type="text/javascript"> |
| 5 |
//<![CDATA[ |
5 |
//<![CDATA[ |
|
Lines 13-33
Link Here
|
| 13 |
[% INCLUDE 'header.inc' %] |
13 |
[% INCLUDE 'header.inc' %] |
| 14 |
[% INCLUDE 'cat-search.inc' %] |
14 |
[% INCLUDE 'cat-search.inc' %] |
| 15 |
|
15 |
|
| 16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> › <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId %]">Collection <i>[% colTitle %]</i></a> › Add or remove items</div> |
16 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> › <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collection.colId %]">Collection <i>[% collection.colTitle %]</i></a> › Add or remove items</div> |
| 17 |
|
17 |
|
| 18 |
<div id="doc3" class="yui-t2"> |
18 |
<div id="doc3" class="yui-t2"> |
| 19 |
<div id="bd"> |
19 |
<div id="bd"> |
| 20 |
<div id="yui-main"> |
20 |
<div id="yui-main"> |
| 21 |
<div class="yui-b"> |
21 |
<div class="yui-b"> |
| 22 |
|
22 |
|
| 23 |
[% IF ( ! colId ) %] |
23 |
[% IF ( ! collection ) %] |
| 24 |
<div class="dialog message"> |
24 |
<div class="dialog message"> |
| 25 |
<p>Invalid collection id</p> |
25 |
<p>Invalid collection id</p> |
| 26 |
<p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p> |
26 |
<p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p> |
| 27 |
</div> |
27 |
</div> |
| 28 |
[% ELSE %] |
28 |
[% ELSE %] |
| 29 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
29 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
| 30 |
<h1>Collection <i>[% colTitle %]</i></h1> |
30 |
<h1>Collection <i>[% collection.colTitle %]</i></h1> |
| 31 |
|
31 |
|
| 32 |
[% IF ( previousActionAdd ) %] |
32 |
[% IF ( previousActionAdd ) %] |
| 33 |
[% IF ( addSuccess ) %] |
33 |
[% IF ( addSuccess ) %] |
|
Lines 85-91
Link Here
|
| 85 |
</li> |
85 |
</li> |
| 86 |
</ol> |
86 |
</ol> |
| 87 |
<p> |
87 |
<p> |
| 88 |
<input type="hidden" id="colId" name="colId" value="[% colId %]" /> |
88 |
<input type="hidden" id="colId" name="colId" value="[% collection.colId %]" /> |
| 89 |
<input type="hidden" name="action" value="addItem" /> |
89 |
<input type="hidden" name="action" value="addItem" /> |
| 90 |
<input type="submit" value="Submit" /> |
90 |
<input type="submit" value="Submit" /> |
| 91 |
</p> |
91 |
</p> |
|
Lines 95-102
Link Here
|
| 95 |
</div> |
95 |
</div> |
| 96 |
|
96 |
|
| 97 |
<div> |
97 |
<div> |
| 98 |
<h2>Items in <i>[% colTitle %]</i></h2> |
98 |
<h2>Items in <i>[% collection.colTitle %]</i></h2> |
| 99 |
[% IF ( collectionItemsLoop ) %] |
99 |
[% IF ( collection.items ) %] |
| 100 |
<table> |
100 |
<table> |
| 101 |
<tr> |
101 |
<tr> |
| 102 |
<th>Title</th> |
102 |
<th>Title</th> |
|
Lines 104-115
Link Here
|
| 104 |
<th>Barcode</th> |
104 |
<th>Barcode</th> |
| 105 |
<th> </th> |
105 |
<th> </th> |
| 106 |
</tr> |
106 |
</tr> |
| 107 |
[% FOREACH collectionItemsLoo IN collectionItemsLoop %] |
107 |
[% FOREACH item IN collection.items %] |
| 108 |
<tr> |
108 |
<tr> |
| 109 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title |html %]</a></td> |
109 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = item.biblionumber %][% item.biblio.title |html %]</a></td> |
| 110 |
<td>[% collectionItemsLoo.itemcallnumber %]</td> |
110 |
<td>[% item.itemcallnumber %]</td> |
| 111 |
<td>[% collectionItemsLoo.barcode %]</td> |
111 |
<td>[% item.barcode %]</td> |
| 112 |
<td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId %]&barcode=[% collectionItemsLoo.barcode %]&removeItem=1&action=addItem">Remove</a></td> |
112 |
<td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collection.colId %]&barcode=[% item.barcode %]&removeItem=1&action=addItem">Remove</a></td> |
| 113 |
</tr> |
113 |
</tr> |
| 114 |
[% END %] |
114 |
[% END %] |
| 115 |
</table> |
115 |
</table> |