Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tt
Jonathan Druart 0ad922011c Bug 12904: Force browser to load new javascript files after upgrade
This patch has been automatically generated using:
  perl kv.pl **/*.tt **/*.inc

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
2018-02-08 14:53:24 -03:00

43 lines
1.6 KiB
Text

<!DOCTYPE html>
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
<head>
<title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/spinelabel_[% KOHA_VERSION %].css" />
<style type="text/css">
@media print {
.noprint { display: none; }
}
</style>
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
[% IF ( IntranetUserJS ) %]
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min_[% KOHA_VERSION %].js"></script>
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min_[% KOHA_VERSION %].js"></script>
<script type="text/javascript">
//<![CDATA[
[% IntranetUserJS %]
//]]>
</script>
[% END %]
</head>
[% IF ( BarcodeNotFound ) %]
<body id="labels_spinelabel-print" class="tools labels">
<p>The barcode [% Barcode |html %] was not found.</p>
<p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
</body>
[% ELSE %]
[% IF ( autoprint ) %]
<body id="labels_spinelabel-print" class="tools labels" onload="window.print()">
[% ELSE %]
<body id="labels_spinelabel-print" class="tools labels">
[% END %]
<span id="spinelabel" class="label">
[% content %]
</span>
<span id="print_button" class="noprint">
<button onclick="window.print()">Print this label</button>
</span>
</body>
[% END %]
</html>