Bugzilla – Attachment 175675 Details for
Bug 36256
Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36256: Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax
Bug-36256-Port-default-MEMBERSHIPEXPIRY-notice-to-.patch (text/plain), 1.99 KB, created by
Caroline Cyr La Rose
on 2024-12-18 20:27:08 UTC
(
hide
)
Description:
Bug 36256: Port default MEMBERSHIP_EXPIRY notice to Template Toolkit syntax
Filename:
MIME Type:
Creator:
Caroline Cyr La Rose
Created:
2024-12-18 20:27:08 UTC
Size:
1.99 KB
patch
obsolete
>From 92fe8091937242ced94c5e565a1b428ae253bda4 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Wed, 18 Dec 2024 15:25:25 -0500 >Subject: [PATCH] Bug 36256: Port default MEMBERSHIP_EXPIRY notice to Template > Toolkit syntax > >This patch changes the sample MEMBERSHIP_EXPIRY email notice to Template >Toolkit syntax. > >To test: >1. Apply patch and reset_all >2. Go to Tools > Notices and slips >3. Check the MEMBERSHIP_EXPIRY email notice, make sure everything looks good (TT syntax, grammar and spelling OK) >4. Add a value in MembershipExpiryDaysNotice >5. Change a patron's account so that it expires in the number of days in MembershipExpiryDaysNotice >6. Add an email address in the patron's account >7. Run /misc/cronjobs/membership_expiry.pl -c >8. Go to the patron's notices and check that the text of the notice was generated correctly and that the grammar and spelling are OK >--- > installer/data/mysql/en/mandatory/sample_notices.yml | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index e054a5a0fa..8f01192436 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -1461,17 +1461,15 @@ tables: > message_transport_type: email > lang: default > content: >- - "Dear <<borrowers.title>> <<borrowers.firstname>> <<borrowers.surname>>," >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" > - "Your library card will expire soon, on:" > - "" >- - "<<borrowers.dateexpiry>>" >+ - "[% borrower.dateexpiry %]" > - "" > - "Thank you," > - "" >- - "Librarian" >- - "" >- - "<<branches.branchname>>" >+ - "[% branch.branchname %]" > > - module: members > code: MEMBERSHIP_RENEWED >-- >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 36256
: 175675