Bug 30952: Staff interface redesign (header)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / recalls / request.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% USE KohaDates %]
5 [% SET footerjs = 1 %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Confirm recalls &rsaquo; Recalls &rsaquo; Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 </head>
10 <body id="recalls-request" class="catalog">
11 [% WRAPPER 'header.inc' %]
12     [% INCLUDE 'circ-search.inc' %]
13 [% END %]
14
15 <div id="breadcrumbs">
16     <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a> &rsaquo;
17     <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo;
18     <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a> &rsaquo;
19     Confirm recalls on [% biblio.title | html %]
20 </div>
21
22 <div class="main container-fluid">
23 <div class="row">
24 <div class="col-sm-10 col-sm-push-2">
25 <main>
26
27     <h1>Existing recalls</h1>
28
29     [% IF Koha.Preference('UseRecalls') %]
30         [% IF recalls.count %]
31             <form method="post" action="/cgi-bin/koha/recalls/request.pl">
32                 <input type="hidden" name="op" value="cancel_multiple_recalls">
33                 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]">
34                 <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
35                 [% INCLUDE 'recalls.inc' %]
36                 <fieldset class="action">
37                     <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
38                 </fieldset>
39             </form>
40         [% ELSE %]
41             <div class="dialog message">No recalls have been made.</div>
42         [% END %]
43     [% ELSE %]
44         <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>
45     [% END %]
46
47 </main>
48 </div> <!-- /.col-sm-10.col-sm-push-2 -->
49
50 <div class="col-sm-2 col-sm-pull-10">
51     <aside>
52         [% INCLUDE 'biblio-view-menu.inc' %]
53     </aside>
54 </div> <!-- .col-sm-2.col-sm-pull-10 -->
55
56 </div> <!-- /.row -->
57 </div> <!-- /.main.container-fluid -->
58
59 [% MACRO jsinclude BLOCK %]
60     [% Asset.js("js/recalls.js") | $raw %]
61     [% INCLUDE 'datatables.inc' %]
62     [% INCLUDE 'columns_settings.inc' %]
63 [% END %]
64
65 [% INCLUDE 'intranet-bottom.inc' %]