Merge remote-tracking branch 'origin/new/bug_7016'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / spinelabel-print.tt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 [% IF ( bidi ) %]
4 <html lang="[% lang %]" xml:lang="[% lang %]" dir="[% bidi %]" xmlns="http://www.w3.org/1999/xhtml">
5 [% ELSE %]
6 <html lang="[% lang %]" xml:lang="[% lang %]" xmlns="http://www.w3.org/1999/xhtml">
7 [% END %]
8 <head>
9 <title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/spinelabel.css" />
12
13                 <style type="text/css">
14                 @media print {
15                         .noprint { display: none; }
16                 }
17         </style>
18 </head>
19         [% IF ( BarcodeNotFound ) %]
20                 <body id="labels_spinelabel-print" class="tools labels">
21                         <p>The barcode [% Barcode %] was not found.</p>
22             <p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
23                 </body>
24         [% ELSE %]
25                 [% IF ( autoprint ) %]
26                         <body id="labels_spinelabel-print" class="tools labels" onLoad="window.print()">
27                 [% ELSE %]      
28                         <body>
29                 [% END %] 
30                         <span id="spinelabel" class="label">
31                                 [% content %]
32                         </span>
33                         <span id="print_button" class="noprint">
34                 <button onclick="window.print()">Print this label</button>
35                         </span>
36                 </body>
37         [% END %]
38 </html>