5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Tools › Rotating collections</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% Asset.css("css/datatables.css") | $raw %]
11 <body id="rcoll_rotatingCollections" class="tools rcoll">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'cat-search.inc' %]
15 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Rotating collections</div>
17 <div id="doc3" class="yui-t2">
22 [% INCLUDE 'rotating-collections-toolbar.inc' %]
24 <h1>Rotating collections</h1>
26 [% IF ( collectionsLoop ) %]
27 <table id="rotating-collections-table">
32 <th>Current location</th>
37 [% FOREACH collectionsLoo IN collectionsLoop %]
39 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | html %]">[% collectionsLoo.colTitle | html %]</a></td>
40 <td>[% collectionsLoo.colDesc | html %]</td>
41 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
43 <div class="dropdown">
44 <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
45 Actions <b class="caret"></b></a>
46 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
47 <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | html %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
48 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | html %]"><i class="fa fa-exchange"></i> Transfer</a></li>
49 <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId | html %]"><i class="fa fa-pencil"></i> Edit</a></li>
50 <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li>
59 <div class="dialog message">There are no collections currently defined.</div>
63 </div> <!-- /.yui-b -->
64 </div> <!-- /#yui-main -->
66 [% INCLUDE 'tools-menu.inc' %]
70 [% MACRO jsinclude BLOCK %]
71 [% INCLUDE 'datatables.inc' %]
72 [% Asset.js("js/tools-menu.js") | $raw %]
73 [% Asset.js("js/rotating-collections.js") | $raw %]
76 [% INCLUDE 'intranet-bottom.inc' %]