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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
23 <a href="#" aria-current="page">
30 <div class="main container-fluid">
32 <div class="col-sm-10 col-sm-push-2">
35 [% INCLUDE 'rotating-collections-toolbar.inc' %]
37 <h1>Rotating collections</h1>
39 [% IF ( collectionsLoop ) %]
40 <table id="rotating-collections-table">
45 <th>Current library</th>
50 [% FOREACH collectionsLoo IN collectionsLoop %]
52 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
53 <td>[% collectionsLoo.colDesc | html %]</td>
54 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
56 <div class="btn-group dropup">
57 <a class="btn btn-default btn-xs" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
58 Actions <b class="caret"></b></a>
59 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
60 <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>
61 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-exchange"></i> Transfer</a></li>
62 <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>
63 <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>
72 <div class="dialog message">There are no collections currently defined.</div>
77 </div> <!-- /.col-sm-10.col-sm-push-2 -->
79 <div class="col-sm-2 col-sm-pull-10">
81 [% INCLUDE 'tools-menu.inc' %]
83 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
86 [% MACRO jsinclude BLOCK %]
87 [% INCLUDE 'datatables.inc' %]
88 [% Asset.js("js/tools-menu.js") | $raw %]
89 [% Asset.js("js/rotating-collections.js") | $raw %]
92 [% INCLUDE 'intranet-bottom.inc' %]