@@ -, +, @@
---
.../intranet-tmpl/prog/en/modules/tools/preview_letter.tt | 7 +++++--
svc/letters/preview | 10 ++++++----
2 files changed, 11 insertions(+), 6 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt
@@ -12,6 +12,9 @@
[% CASE 'preview_not_available' %]Preview is not available for letters '[% m.letter_code %]'.
[% CASE 'not_checked_in_yet' %]Do not forget that the issue has not been checked in yet.
[% CASE 'not_checked_out_yet' %]Do not forget that the issue has not been checked out yet.
+ [% CASE 'no_checkout' %]This item is not checked out.
+ [% CASE 'no_item_or_no_patron' %]The item or the patron does not exist.
+ [% CASE 'no_hold' %]No hold is placed by this patron on this bibliographic record.
[% CASE %][% m.code %]
[% END %]
@@ -28,7 +31,7 @@
[% END %]
- [% IF tt_content %]
+ [% IF rendered_tt_message %]