Bug 35378: 'This authority type is used {count} times' missing dot
[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 [% PROCESS 'i18n.inc' %]
6 [% SET footerjs = 1 %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% FILTER collapse %]
9     [% t("Recalls queue") | html %] &rsaquo;
10     [% t("Circulation") | html %] &rsaquo;
11     [% t("Koha") | html %]
12 [% END %]</title>
13 [% INCLUDE 'doc-head-close.inc' %]
14 </head>
15 <body id="circ_recalls_queue" class="circ">
16 [% WRAPPER 'header.inc' %]
17     [% INCLUDE 'cat-search.inc' %]
18 [% END %]
19
20 [% WRAPPER 'sub-header.inc' %]
21     [% WRAPPER breadcrumbs %]
22         [% WRAPPER breadcrumb_item %]
23             <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
24         [% END %]
25         [% WRAPPER breadcrumb_item bc_active= 1 %]
26             <span>Recalls queue</span>
27         [% END %]
28     [% END #/ WRAPPER breadcrumbs %]
29 [% END #/ WRAPPER sub-header.inc %]
30
31 <div class="main container-fluid">
32     <div class="row">
33         [% IF Koha.Preference('CircSidebar') %]
34             <div class="col-sm-10 col-sm-push-2">
35         [% ELSE %]
36             <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
37         [% END %]
38         <main>
39
40         <h1>Recalls queue</h1>
41         [% IF Koha.Preference('UseRecalls') %]
42             [% IF recalls.count %]
43                 <div class="page-section">
44                     <form method="post" action="/cgi-bin/koha/recalls/recalls_queue.pl">
45                         <input type="hidden" name="op" value="cancel_multiple_recalls">
46                         <input type="checkbox" id="select_all"> <span id="select_all_text">Select all</span>
47                         [% INCLUDE 'recalls.inc' %]
48                         <fieldset class="action">
49                             <button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
50                         </fieldset>
51                     </form>
52                 </div> <!-- /.page-section -->
53             [% ELSE %]
54                 <div class="dialog message">There are no recalls to show.</div>
55             [% END %]
56         [% ELSE %]
57             <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>
58         [% END %]
59
60         </main>
61         </div> <!-- /.col-etc -->
62
63         [% IF Koha.Preference('CircSidebar') %]
64             <div class="col-sm-2 col-sm-pull-10">
65                 <aside>
66                     [% INCLUDE 'circ-nav.inc' %]
67                 </aside>
68             </div> <!-- /.col-sm-2.col-sm-pull-10 -->
69         [% END %]
70
71     </div> <!-- /.row -->
72 </div>
73
74 [% MACRO jsinclude BLOCK %]
75     [% INCLUDE 'datatables.inc' %]
76     [% INCLUDE 'columns_settings.inc' %]
77     [% Asset.js("js/recalls.js") | $raw %]
78 [% END %]
79
80 [% INCLUDE 'intranet-bottom.inc' %]