Bug 25867: Label "Current location" as "Current library" and "Permanent location...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / rotatingCollections.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Branches %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 </head>
9
10 <body id="rcoll_rotatingCollections" class="tools rcoll">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'cat-search.inc' %]
13
14 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Rotating collections</div>
15
16 <div class="main container-fluid">
17     <div class="row">
18         <div class="col-sm-10 col-sm-push-2">
19             <main>
20
21                 [% INCLUDE 'rotating-collections-toolbar.inc' %]
22
23                 <h1>Rotating collections</h1>
24                 <div>
25                     [% IF ( collectionsLoop ) %]
26                         <table id="rotating-collections-table">
27                             <thead>
28                                 <tr>
29                                     <th>Title</th>
30                                     <th>Description</th>
31                                     <th>Current library</th>
32                                     <th>&nbsp;</th>
33                                 </tr>
34                             </thead>
35                             <tbody>
36                             [% FOREACH collectionsLoo IN collectionsLoop %]
37                                 <tr>
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>
41                                     <td>
42                                     <div class="btn-group dropup">
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&amp;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&amp;colId=[% collectionsLoo.colId | html %]"><i class="fa fa-trash"></i> Delete</a></li>
50                                         </ul>
51                                     </div>
52                                     </td>
53                                 </tr>
54                             [% END %]
55                             </tbody>
56                         </table>
57                     [% ELSE %]
58                         <div class="dialog message">There are no collections currently defined.</div>
59                     [% END %]
60                 </div>
61
62             </main>
63         </div> <!-- /.col-sm-10.col-sm-push-2 -->
64
65         <div class="col-sm-2 col-sm-pull-10">
66             <aside>
67                 [% INCLUDE 'tools-menu.inc' %]
68             </aside>
69         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
70      </div> <!-- /.row -->
71
72 [% MACRO jsinclude BLOCK %]
73     [% INCLUDE 'datatables.inc' %]
74     [% Asset.js("js/tools-menu.js") | $raw %]
75     [% Asset.js("js/rotating-collections.js") | $raw %]
76 [% END %]
77
78 [% INCLUDE 'intranet-bottom.inc' %]