Bug 23787: Add AUTO_RENEWALS to sample_notices
Removed "\" from "It\'s too late..." -- apparently that doesn't need to get escaped in YAML To test: - create a new English (en) install - confirm presence of auto renewal notice Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3aecd0afb0
commit
851f433b77
1 changed files with 29 additions and 0 deletions
|
@ -1179,3 +1179,32 @@ tables:
|
|||
- "Title: <<problem_reports.title>>"
|
||||
- ""
|
||||
- "Message: <<problem_reports.content>>"
|
||||
|
||||
- module: circulation
|
||||
code: AUTO_RENEWALS
|
||||
branchcode: ""
|
||||
name: "Notification of automatic renewal"
|
||||
is_html: 0
|
||||
title: "Automatic renewal notice"
|
||||
message_transport_type: email
|
||||
lang: default
|
||||
content:
|
||||
- "Dear [% borrower.firstname %] [% borrower.surname %],"
|
||||
- "[% IF checkout.auto_renew_error %]"
|
||||
- "The following item, [% biblio.title %], has not been renewed because:"
|
||||
- "[% IF checkout.auto_renew_error == 'too_many' %]"
|
||||
- "You have reached the maximum number of checkouts possible."
|
||||
- "[% ELSIF checkout.auto_renew_error == 'on_reserve' %]"
|
||||
- "This item is on hold for another patron."
|
||||
- "[% ELSIF checkout.auto_renew_error == 'restriction' %]"
|
||||
- "You are currently restricted."
|
||||
- "[% ELSIF checkout.auto_renew_error == 'overdue' %]"
|
||||
- "You have overdue items."
|
||||
- "[% ELSIF checkout.auto_renew_error == 'auto_too_late' %]"
|
||||
- "It's too late to renew this item."
|
||||
- "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]"
|
||||
- "Your total unpaid fines are too high."
|
||||
- "[% END %]"
|
||||
- "[% ELSE %]"
|
||||
- "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due %]"
|
||||
- "[% END %]"
|
||||
|
|
Loading…
Reference in a new issue