Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-print.tmpl
Kyle M Hall 9f3ecc8a29 Quick Spine Label Printer - Minors fixes
This new version of the patch does away with the need for 2 spinelabel css files.

This patch address two points brought up:
[1] (minor) if an item is not found, it should say so and return to
spinelabel-home.pl, not show an empty label
[2] (minor) can the print button be excluded from the printout?

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-08-03 21:18:40 -04:00

27 lines
No EOL
853 B
Cheetah

<html>
<head>
<title>Koha &rsaquo; Tools &rsaquo; Spine Labels</title>
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/spinelabel.css" />
<style type="text/css">
@media print {
.noprint { display: none; }
}
</style>
</head>
<!-- TMPL_IF NAME="BarcodeNotFound" -->
<body>
<p>The barcode <!-- TMPL_VAR NAME="Barcode" --> was not found.</p>
<p><a href="spinelabel-home.pl">Return To Spine Label Printer</a></p>
</body>
<!-- TMPL_ELSE -->
<body <!-- TMPL_IF NAME="autoprint">onLoad="window.print()"<!-- /TMPL_IF> >
<span id="spinelabel" class="label">
<!-- TMPL_VAR NAME="content" -->
</span>
<span id="print_button" class="noprint">
<form><input type="button" value="Print This Label" onClick="window.print()" /></form>
</span>
</body>
<!-- /TMPL_IF -->
</html>