Koha-clms/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt

67 lines
2.4 KiB
Plaintext

[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title
>[% FILTER collapse %]
[% t("Existing recalls") | html %]
&rsaquo; [% t("Recalls") | html %] &rsaquo; [% t("Koha") | html %]
[% END %]</title
>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="recalls-request" class="catalog">
[% WRAPPER 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
[% END %]
[% WRAPPER 'sub-header.inc' %]
[% WRAPPER breadcrumbs %]
[% WRAPPER breadcrumb_item %]
<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
[% END %]
[% WRAPPER breadcrumb_item %]
[% INCLUDE 'biblio-title.inc' link = 1 %]
[% END %]
[% WRAPPER breadcrumb_item bc_active= 1 %]
<span>Existing recalls</span>
[% END %]
[% END #/ WRAPPER breadcrumbs %]
[% END #/ WRAPPER sub-header.inc %]
[% WRAPPER 'main-container.inc' aside='biblio-view-menu' %]
<h1>Existing recalls</h1>
[% IF Koha.Preference('UseRecalls') != "off" %]
[% IF recalls.count %]
<div class="page-section">
<form method="post" action="/cgi-bin/koha/recalls/request.pl">
[% INCLUDE 'csrf-token.inc' %]
<input type="hidden" name="op" value="cud-cancel_multiple_recalls" />
<input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
<input type="checkbox" id="select_all" /> <span id="select_all_text">Select all</span>
[% INCLUDE 'recalls.inc' %]
<fieldset class="action">
<button type="submit" id="cancel_selected" class="btn btn-default btn-sm">Cancel selected recalls</button>
</fieldset>
</form>
</div>
<!-- /.page-section -->
[% ELSE %]
<div class="alert alert-info">No recalls have been made.</div>
[% END %]
[% ELSE %]
<div class="alert alert-info">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>
[% END %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/recalls.js") | $raw %]
[% INCLUDE 'datatables.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]