Bug 8836 [Template follow-up] Resurrect Rotating Collections
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / rotatingCollections.tt
blob7124575c268633fe3f1f7267245ff941765b9705
1 [% USE Branches %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body id="rcoll_rotatingCollections" class="tools rcoll">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'cat-search.inc' %]
10 <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; Rotating collections</div>
12 <div id="doc3" class="yui-t2">
13     <div id="bd">
14         <div id="yui-main">
15             <div class="yui-b">
17                 [% INCLUDE 'rotating-collections-toolbar.inc' %]
19                 <h1>Rotating collections</h1>
20                 <div>
21                     [% IF ( collectionsLoop ) %]
22                         <table>
23                             <tr>
24                                 <th>Title</th>
25                                 <th>Description</th>
26                                 <th>Current location</th>
27                                 <th>&nbsp;</th>
28                                 <th>&nbsp;</th>
29                                 <th>&nbsp;</th>
30                                 <th>&nbsp;</th>
31                             </tr>
33                             [% FOREACH collectionsLoo IN collectionsLoop %]
34                                 <tr>
35                                     <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]">[% collectionsLoo.colTitle %]</a></td>
36                                     <td>[% collectionsLoo.colDesc %]</td>
37                                     <td>[% Branches.GetName( collectionsLoo.colBranchcode ) %]</td>
38                                     <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]">Add or remove items</a></td>
39                                     <td><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId %]">Transfer</a></td>
40                                     <td><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% collectionsLoo.colId %]">Edit</a></td>
41                                     <td><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% collectionsLoo.colId %]">Delete</a></td>
42                                 </tr>
43                             [% END %]
44                         </table>
45                     [% ELSE %]
46                         <div class="dialog message">There are no collections currently defined.</div>
47                     [% END %]
48                 </div>
50             </div> <!-- /.yui-b -->
51         </div> <!-- /#yui-main -->
52         <div class="yui-b">
53             [% INCLUDE 'tools-menu.inc' %]
54         </div>
55     </div> <!-- /#bd -->
56 [% INCLUDE 'intranet-bottom.inc' %]