Bugzilla – Attachment 175673 Details for
Bug 36109
Port default ODUE notice to Template Toolkit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36109: Convert sample ODUE notice to TT
Bug-36109-Convert-sample-ODUE-notice-to-TT.patch (text/plain), 3.56 KB, created by
Caroline Cyr La Rose
on 2024-12-18 20:09:42 UTC
(
hide
)
Description:
Bug 36109: Convert sample ODUE notice to TT
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2024-12-18 20:09:42 UTC
Size:
3.56 KB
patch
obsolete
>From 511fed86744c12378cd0a29ae34c9ed802be3a58 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 1 Oct 2024 19:15:21 +0100 >Subject: [PATCH] Bug 36109: Convert sample ODUE notice to TT > >This is an initial submission to convert the existing <<>> sample notice >to TT. > >We could do more here, like including the due date and making the fines >display more clearly optional. > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > .../mysql/en/mandatory/sample_notices.yml | 30 +++++++++++-------- > 1 file changed, 18 insertions(+), 12 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index e054a5a0fa..a19b1e07b1 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -879,26 +879,32 @@ tables: > message_transport_type: email > lang: default > content: >- - "Dear <<borrowers.firstname>> <<borrowers.surname>>," >+ - "[%- USE Price -%]" >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" >- - "According to our current records, you have items that are overdue.Your library does not charge late fines, but please return or renew them at the branch below as soon as possible." >+ - "According to our current records, you have items that are overdue." >+ - "Please return or renew them at the branch below as soon as possible." > - "" >- - "<<branches.branchname>>" >- - "<<branches.branchaddress1>>" >- - "<<branches.branchaddress2>> <<branches.branchaddress3>>" >- - "Phone: <<branches.branchphone>>" >- - "Fax: <<branches.branchfax>>" >- - "Email: <<branches.branchemail>>" >+ - "[% branch.branchname %]" >+ - "[% branch.branchaddress1 %]" >+ - "[% branch.branchaddress2 %] [% branch.branchaddress3 %]" >+ - "Phone: [% branch.branchphone %]" >+ - "Fax: [% branch.branchfax %]" >+ - "Email: [% branch.branchemail %]" > - "" >- - "If you have registered a password with the library, and you have a renewal available, you may renew online. If an item becomes more than 30 days overdue, you will be unable to use your library card until the item is returned." >+ - "If you have registered a password with the library, and you have a renewal available, you may renew online." >+ - "If an item becomes more than 30 days overdue, you will be unable to use your library card until the item is returned." > - "" >- - "The following item(s) is/are currently overdue:" >+ - "The following [% IF overdues.count > 1 %]items are[% ELSE %]item is[% END %] currently overdue:" > - "" >- - "<item>\"<<biblio.title>>\" by <<biblio.author>>, <<items.itemcallnumber>>, Barcode: <<items.barcode>> Fine: <<items.fine>></item>" >+ - "[% FOREACH overdue IN overdues %]" >+ - "[%- SET item = overdue.item -%]" >+ - "\"[% item.biblio.title %]\" by [% item.biblio.author %], [% item.itemcallnumber %], Barcode: [% item.barcode %], Fine: [% overdue.overdue_fines.total_outstanding | $Price %]" >+ - "[% END %]" > - "" > - "Thank-you for your prompt attention to this matter." > - "" >- - "<<branches.branchname>> Staff" >+ - "[% branch.branchname %] Staff" > - "" > > - module: circulation >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36109
:
172285
|
172377
| 175673 |
175674