5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Tools › Rotating collections</title>
7 [% INCLUDE 'doc-head-close.inc' %]
10 <body id="rcoll_rotatingCollections" class="tools rcoll">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
14 <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>
16 <div class="main container-fluid">
18 <div class="col-sm-10 col-sm-push-2">
21 [% INCLUDE 'rotating-collections-toolbar.inc' %]
23 <h1>Rotating collections</h1>
25 [% IF ( collectionsLoop ) %]
26 <table id="rotating-collections-table">
31 <th>Current location</th>
36 [% FOREACH collectionsLoo IN collectionsLoop %]
38 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
39 <td>[% collectionsLoo.colDesc | html %]</td>
40 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
42 <div class="dropdown">
43 <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
44 Actions <b class="caret"></b></a>
45 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
46 <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
47 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li>
48 <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-pencil"></i> Edit</a></li>
49 <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>
58 <div class="dialog message">There are no collections currently defined.</div>
63 </div> <!-- /.col-sm-10.col-sm-push-2 -->
65 <div class="col-sm-2 col-sm-pull-10">
67 [% INCLUDE 'tools-menu.inc' %]
69 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
72 [% MACRO jsinclude BLOCK %]
73 [% INCLUDE 'datatables.inc' %]
74 [% Asset.js("js/tools-menu.js") | $raw %]
75 [% Asset.js("js/rotating-collections.js") | $raw %]
78 [% INCLUDE 'intranet-bottom.inc' %]