Lines 1-6
Link Here
|
1 |
[% SET footerjs = 1 %] |
1 |
[% SET footerjs = 1 %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Tools › Rotating collections › Collection [% colTitle %] ’ Add or remove items</title> |
3 |
<title>Koha › Tools › Rotating collections › Collection [% collection.colTitle %] ’ Add or remove items</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
</head> |
5 |
</head> |
6 |
|
6 |
|
Lines 8-28
Link Here
|
8 |
[% INCLUDE 'header.inc' %] |
8 |
[% INCLUDE 'header.inc' %] |
9 |
[% INCLUDE 'cat-search.inc' %] |
9 |
[% INCLUDE 'cat-search.inc' %] |
10 |
|
10 |
|
11 |
<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> |
11 |
<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> |
12 |
|
12 |
|
13 |
<div id="doc3" class="yui-t2"> |
13 |
<div id="doc3" class="yui-t2"> |
14 |
<div id="bd"> |
14 |
<div id="bd"> |
15 |
<div id="yui-main"> |
15 |
<div id="yui-main"> |
16 |
<div class="yui-b"> |
16 |
<div class="yui-b"> |
17 |
|
17 |
|
18 |
[% IF ( ! colId ) %] |
18 |
[% IF ( ! collection ) %] |
19 |
<div class="dialog message"> |
19 |
<div class="dialog message"> |
20 |
<p>Invalid collection id</p> |
20 |
<p>Invalid collection id</p> |
21 |
<p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p> |
21 |
<p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p> |
22 |
</div> |
22 |
</div> |
23 |
[% ELSE %] |
23 |
[% ELSE %] |
24 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
24 |
[% INCLUDE 'rotating-collections-toolbar.inc' %] |
25 |
<h1>Collection <i>[% colTitle %]</i></h1> |
25 |
<h1>Collection <i>[% collection.colTitle %]</i></h1> |
26 |
|
26 |
|
27 |
[% IF ( previousActionAdd ) %] |
27 |
[% IF ( previousActionAdd ) %] |
28 |
[% IF ( addSuccess ) %] |
28 |
[% IF ( addSuccess ) %] |
Lines 80-86
Link Here
|
80 |
</li> |
80 |
</li> |
81 |
</ol> |
81 |
</ol> |
82 |
<p> |
82 |
<p> |
83 |
<input type="hidden" id="colId" name="colId" value="[% colId %]" /> |
83 |
<input type="hidden" id="colId" name="colId" value="[% collection.colId %]" /> |
84 |
<input type="hidden" name="action" value="addItem" /> |
84 |
<input type="hidden" name="action" value="addItem" /> |
85 |
<input type="submit" value="Submit" /> |
85 |
<input type="submit" value="Submit" /> |
86 |
</p> |
86 |
</p> |
Lines 90-97
Link Here
|
90 |
</div> |
90 |
</div> |
91 |
|
91 |
|
92 |
<div> |
92 |
<div> |
93 |
<h2>Items in <i>[% colTitle %]</i></h2> |
93 |
<h2>Items in <i>[% collection.colTitle %]</i></h2> |
94 |
[% IF ( collectionItemsLoop ) %] |
94 |
[% IF ( collection.items ) %] |
95 |
<table> |
95 |
<table> |
96 |
<tr> |
96 |
<tr> |
97 |
<th>Title</th> |
97 |
<th>Title</th> |
Lines 99-110
Link Here
|
99 |
<th>Barcode</th> |
99 |
<th>Barcode</th> |
100 |
<th> </th> |
100 |
<th> </th> |
101 |
</tr> |
101 |
</tr> |
102 |
[% FOREACH collectionItemsLoo IN collectionItemsLoop %] |
102 |
[% FOREACH item IN collection.items %] |
103 |
<tr> |
103 |
<tr> |
104 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title |html %]</a></td> |
104 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = item.biblionumber %][% item.biblio.title |html %]</a></td> |
105 |
<td>[% collectionItemsLoo.itemcallnumber %]</td> |
105 |
<td>[% item.itemcallnumber %]</td> |
106 |
<td>[% collectionItemsLoo.barcode %]</td> |
106 |
<td>[% item.barcode %]</td> |
107 |
<td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId %]&barcode=[% collectionItemsLoo.barcode %]&removeItem=1&action=addItem">Remove</a></td> |
107 |
<td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collection.colId %]&barcode=[% item.barcode %]&removeItem=1&action=addItem">Remove</a></td> |
108 |
</tr> |
108 |
</tr> |
109 |
[% END %] |
109 |
[% END %] |
110 |
</table> |
110 |
</table> |