2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Tools › Rotating collections</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
8 $(document).ready(function(){
9 $(".confirmdelete").click(function(){
10 $(this).parents('tr').addClass("warn");
11 if(confirm(_("Are you sure you want to delete this collection?"))){
14 $(this).parents('tr').removeClass("warn");
18 $('#rotating-collections-table').dataTable($.extend(true, {}, dataTablesDefaults, {
21 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
23 "sPaginationType": "four_button"
28 <body id="rcoll_rotatingCollections" class="tools rcoll">
29 [% INCLUDE 'header.inc' %]
30 [% INCLUDE 'cat-search.inc' %]
32 <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>
34 <div id="doc3" class="yui-t2">
39 [% INCLUDE 'rotating-collections-toolbar.inc' %]
41 <h1>Rotating collections</h1>
43 [% IF ( collectionsLoop ) %]
44 <table id="rotating-collections-table">
49 <th>Current location</th>
54 [% FOREACH collectionsLoo IN collectionsLoop %]
56 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]">[% collectionsLoo.colTitle %]</a></td>
57 <td>[% collectionsLoo.colDesc %]</td>
58 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) %]</td>
60 <div class="dropdown">
61 <a class="btn btn-mini" dropdown-toggle" id="collectionsactions[% collectionsLoo.colId %]" role="button" data-toggle="dropdown" href="#">
62 Actions <b class="caret"></b></a>
63 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId %]">
64 <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId %]"><i class="fa fa-plus"></i> Add or remove items</a></li>
65 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId %]"><i class="fa fa-exchange"></i> Transfer</a></li>
66 <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId %]"><i class="fa fa-pencil"></i> Edit</a></li>
67 <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% collectionsLoo.colId %]"><i class="fa fa-trash"></i> Delete</a></li>
76 <div class="dialog message">There are no collections currently defined.</div>
80 </div> <!-- /.yui-b -->
81 </div> <!-- /#yui-main -->
83 [% INCLUDE 'tools-menu.inc' %]
86 [% INCLUDE 'intranet-bottom.inc' %]