Bug 30952: Staff interface redesign (header)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / recalls / recalls_queue.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% USE KohaDates %]
4 [% USE Asset %]
5 [% SET footerjs = 1 %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Recalls queue &rsaquo; Circulation &rsaquo; Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 </head>
10 <body id="circ_recalls_queue" class="circ">
11 [% WRAPPER 'header.inc' %]
12     [% INCLUDE 'cat-search.inc' %]
13 [% END %]
14
15 <div id="breadcrumbs">
16     <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
17     &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
18     &rsaquo; <a href="/cgi-bin/koha/recalls/recalls_queue.pl">Recalls queue</a>
19 </div>
20
21 <div class="main container-fluid">
22     <div class="row">
23         [% IF Koha.Preference('CircSidebar') %]
24             <div class="col-sm-10 col-sm-push-2">
25         [% ELSE %]
26             <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
27         [% END %]
28         <main>
29
30         <h1>Recalls queue</h1>
31         [% IF Koha.Preference('UseRecalls') %]
32             [% IF recalls.count %]
33                 <form method="post" action="/cgi-bin/koha/recalls/recalls_queue.pl">
34                     <input type="hidden" name="op" value="cancel_multiple_recalls">
35                     <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
36                     [% INCLUDE 'recalls.inc' %]
37                     <fieldset class="action">
38                         <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
39                     </fieldset>
40                 </form>
41             [% ELSE %]
42                 <div class="dialog message">There are no recalls to show.</div>
43             [% END %]
44         [% ELSE %]
45             <div class="dialog message">Recalls have not been enabled. Enable the <a href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">UseRecalls</a> system preference to use recalls.</div>
46         [% END %]
47
48         </main>
49         </div> <!-- /.col-etc -->
50
51         [% IF Koha.Preference('CircSidebar') %]
52             <div class="col-sm-2 col-sm-pull-10">
53                 <aside>
54                     [% INCLUDE 'circ-nav.inc' %]
55                 </aside>
56             </div> <!-- /.col-sm-2.col-sm-pull-10 -->
57         [% END %]
58
59     </div> <!-- /.row -->
60 </div>
61
62 [% MACRO jsinclude BLOCK %]
63     [% INCLUDE 'datatables.inc' %]
64     [% INCLUDE 'columns_settings.inc' %]
65     [% Asset.js("js/recalls.js") | $raw %]
66 [% END %]
67
68 [% INCLUDE 'intranet-bottom.inc' %]