5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Rotating collections › Tools › Koha</title>
7 [% INCLUDE 'doc-head-close.inc' %]
10 <body id="rcoll_rotatingCollections" class="tools rcoll">
11 [% WRAPPER 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
15 [% WRAPPER 'sub-header.inc' %]
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
19 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
22 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
25 <a href="#" aria-current="page">
33 <div class="main container-fluid">
35 <div class="col-sm-10 col-sm-push-2">
38 [% INCLUDE 'rotating-collections-toolbar.inc' %]
40 <h1>Rotating collections</h1>
42 [% IF ( collectionsLoop ) %]
43 <table id="rotating-collections-table">
48 <th>Current library</th>
53 [% FOREACH collectionsLoo IN collectionsLoop %]
55 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
56 <td>[% collectionsLoo.colDesc | html %]</td>
57 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
59 <div class="btn-group dropup">
60 <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
61 Actions <b class="caret"></b></a>
62 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
63 <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>
64 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li>
65 <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>
66 <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>
75 <div class="dialog message">There are no collections currently defined.</div>
80 </div> <!-- /.col-sm-10.col-sm-push-2 -->
82 <div class="col-sm-2 col-sm-pull-10">
84 [% INCLUDE 'tools-menu.inc' %]
86 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
89 [% MACRO jsinclude BLOCK %]
90 [% INCLUDE 'datatables.inc' %]
91 [% Asset.js("js/tools-menu.js") | $raw %]
92 [% Asset.js("js/rotating-collections.js") | $raw %]
95 [% INCLUDE 'intranet-bottom.inc' %]