4 [% PROCESS 'i18n.inc' %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>[% FILTER collapse %]
8 [% t("Rotating collections") | html %] ›
9 [% t("Tools") | html %] ›
10 [% t("Koha") | html %]
12 [% INCLUDE 'doc-head-close.inc' %]
15 <body id="rcoll_rotatingCollections" class="tools rcoll">
16 [% WRAPPER 'header.inc' %]
17 [% INCLUDE 'cat-search.inc' %]
20 [% WRAPPER 'sub-header.inc' %]
21 [% WRAPPER breadcrumbs %]
22 [% WRAPPER breadcrumb_item %]
23 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
25 [% WRAPPER breadcrumb_item bc_active= 1 %]
26 <span>Rotating collections</span>
28 [% END #/ WRAPPER breadcrumbs %]
29 [% END #/ WRAPPER sub-header.inc %]
31 <div class="main container-fluid">
33 <div class="col-sm-10 col-sm-push-2">
36 [% INCLUDE 'rotating-collections-toolbar.inc' %]
38 <h1>Rotating collections</h1>
40 [% IF ( collectionsLoop ) %]
41 <div class="page-section">
42 <table id="rotating-collections-table">
47 <th>Current library</th>
52 [% FOREACH collectionsLoo IN collectionsLoop %]
54 <td><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]">[% collectionsLoo.colTitle | html %]</a></td>
55 <td>[% collectionsLoo.colDesc | html %]</td>
56 <td>[% Branches.GetName( collectionsLoo.colBranchcode ) | html %]</td>
58 <div class="btn-group dropup">
59 <a class="btn btn-default btn-xs dropdown-toggle" id="collectionsactions[% collectionsLoo.colId | html %]" role="button" data-toggle="dropdown" href="#">
60 Actions <b class="caret"></b></a>
61 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="collectionsactions[% collectionsLoo.colId | html %]">
62 <li><a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa fa-plus"></i> Manage items</a></li>
63 <li><a href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% collectionsLoo.colId | uri %]"><i class="fa-solid fa-right-left"></i> Transfer</a></li>
64 <li><a href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% collectionsLoo.colId | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a></li>
65 <li><a class="confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash-can"></i> Delete</a></li>
73 </div> <!-- /.page-section -->
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' %]