Bugzilla – Attachment 172285 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.49 KB, created by
Martin Renvoize (ashimema)
on 2024-10-01 18:17:05 UTC
(
hide
)
Description:
Bug 36109: Convert sample ODUE notice to TT
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-01 18:17:05 UTC
Size:
3.49 KB
patch
obsolete
>From cba9baf73ce4186971a71aad10de1505babd3591 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. >--- > .../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 ec0e2386dab..9dcda57e986 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -829,26 +829,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.46.2
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