1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Preview notice template</title>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <body id="preview_letter" class="catalog">
6 <div class="main container-fluid">
7 [% FOR m IN messages %]
8 [%# FIXME The message block does not appear at the top of the modal! %]
9 <div class="dialog [% m.type | html %]">
11 [% CASE 'no_data_for_preview' %]You did not specify data for preview.
12 [% CASE 'preview_not_available' %]Preview is not available for letters '[% m.letter_code | html %]'.
13 [% CASE 'not_checked_in_yet' %]Do not forget that the issue has not been checked in yet.
14 [% CASE 'not_checked_out_yet' %]Do not forget that the issue has not been checked out yet.
15 [% CASE 'no_checkout' %]This item is not checked out.
16 [% CASE 'no_item_or_no_patron' %]The item or the patron does not exist.
17 [% CASE 'no_hold' %]No hold is placed by this patron on this bibliographic record.
18 [% CASE %][% m.code | html %]
23 [% IF rendered_tt_message %]
24 [% IF messages_are_similar %]
25 <div class="dialog message">The generated notices are exactly the same!</div>
27 <div class="dialog alert">The generated notices are different!</div>
31 [% IF rendered_message %]
33 <div class="col-xs-6">
34 <h3>Original version</h3>
35 <span style="font-family:monospace">
36 [% FILTER html_line_break %]
37 [% original_content | html %]
41 <div class="col-xs-6">
42 <h3>Original message, rendered:</h3>
43 <span style="font-family:monospace">
44 [% FILTER html_line_break %]
45 [% rendered_message.content | html %]
53 [% IF rendered_tt_message %]
56 <div class="col-xs-6">
57 <h3>Converted version</h3>
58 <span style="font-family:monospace">
59 [% FILTER html_line_break %]
60 [% tt_content | html %]
64 <div class="col-xs-6">
65 <h3>Converted message, rendered:</h3>
66 <span style="font-family:monospace">
67 [% FILTER html_line_break %]
68 [% rendered_tt_message.content | html %]
74 </div> <!-- /.main -->