Bug 35356: Show SMS labels only when data exists
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / recallshistory.tt
1 [% USE raw %]
2 [% USE KohaDates %]
3 [% USE Koha %]
4 [% USE Asset %]
5 [% PROCESS 'i18n.inc' %]
6 [% SET footerjs = 1 %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% FILTER collapse %]
9     [% t("Recalls history for") | html %] [% INCLUDE 'patron-title.inc' %]
10     [% t("Patrons") | html %] &rsaquo;
11     [% t("Koha") | html %]
12 [% END %]</title>
13 [% INCLUDE 'doc-head-close.inc' %]
14 </head>
15
16 <body id="recalls_history" class="pat">
17     [% WRAPPER 'header.inc' %]
18         [% INCLUDE 'patron-search-header.inc' %]
19     [% END %]
20
21     <div id="breadcrumbs">
22         <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
23         <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo;
24         Recalls history for [% INCLUDE 'patron-title.inc' %]
25     </div>
26     <div class="main container-fluid">
27         <div class="row">
28             <div class="col-sm-10 col-sm-push-2">
29                 <main>
30                     [% INCLUDE 'members-toolbar.inc' %]
31                     <h1>Recalls history</h1>
32                     [% IF Koha.Preference('UseRecalls') %]
33                         <input type="checkbox" id="hide_old" name="hide_old" checked="checked">
34                         <label for="hide_old">Show old recalls</label>
35                         [% INCLUDE 'recalls.inc' %]
36                     [% ELSE %]
37                          <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>
38                     [% END %]
39                 </main>
40             </div>
41         <div class="col-sm-2 col-sm-pull-10">
42             <aside>
43                 [% INCLUDE 'circ-menu.inc' %]
44             </aside>
45         </div>
46     </div>
47
48 [% MACRO jsinclude BLOCK %]
49     [% INCLUDE 'datatables.inc' %]
50     [% INCLUDE 'columns_settings.inc' %]
51     [% Asset.js("js/recalls.js") | $raw %]
52 [% END %]
53
54 [% INCLUDE 'intranet-bottom.inc' %]