Bugzilla – Attachment 175337 Details for
Bug 32211
Update sample (pre) due notices to use TT syntax
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32211: Update DUEDGST and PREDUEDGST default notices to use TT
Bug-32211-Update-DUEDGST-and-PREDUEDGST-default-no.patch (text/plain), 3.78 KB, created by
Andrew Fuerste-Henry
on 2024-12-09 20:46:48 UTC
(
hide
)
Description:
Bug 32211: Update DUEDGST and PREDUEDGST default notices to use TT
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2024-12-09 20:46:48 UTC
Size:
3.78 KB
patch
obsolete
>From 239643aae814da217f50da2a8476065aa240295f Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Mon, 9 Dec 2024 20:46:24 +0000 >Subject: [PATCH] Bug 32211: Update DUEDGST and PREDUEDGST default notices to > use TT > >To test: >1. Apply patch >2. reset_all (or start your testing environment in the first place) >3. Enable SMS Notices > a) Find the system preference SMSSendDriver > b) Enter "Email" as the value for SMSSendDriver and save >4. Go to a patron account, and set the following messaging preferences: > Item due: > - Check SMS > - Check Email > - Check Digests only for both > Advance notice > - Select 1 day in advance > - Check SMS > - Check Email > - Check Digest only for both >5. Go to the checkout tab for that patron >6. Set a custom due date for today and check out 2+ items >7. Set a custom due date for tomorrow and check out 2+ more items >8. Run the cron job to generate notices: > misc/cronjobs/advance_notices.pl -v -c >9. Open the Notices tab on that patron's account >--> The patron should have four notices: > Item due reminder (one for SMS and one for email) > Advance notice of item due (one for SMS and one for email) >10. Open each notice and confirm that all information is correct >--- > .../mysql/en/mandatory/sample_notices.yml | 24 +++++++++---------- > 1 file changed, 12 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..3aa28bf5bc 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -738,12 +738,12 @@ tables: > message_transport_type: email > lang: default > content: >- - "Dear <<borrowers.firstname>> <<borrowers.surname>>," >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" > - "The following item(s) are now due:" >- - "" >- - "<<items.content>>" >- - "" >+ - "[% FOREACH checkout IN CHECKOUTS %]" >+ - "[% checkout.title %], [% checkout.author %] ([% checkout.barcode %])" >+ - "[% END %]" > - "Thank you." > > - module: circulation >@@ -755,9 +755,9 @@ tables: > message_transport_type: sms > lang: default > content: >- - "Dear <<borrowers.firstname>> <<borrowers.surname>>," >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" >- - "You have <<count>> item(s) that are now due" >+ - "You have [% checkouts.size %] item(s) that are now due" > - "" > - "Thank you." > >@@ -954,12 +954,12 @@ tables: > message_transport_type: email > lang: default > content: >- - "Dear <<borrowers.firstname>> <<borrowers.surname>>," >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" > - "The following item(s) will be due soon:" >- - "" >- - "<<items.content>>" >- - "" >+ - "[% FOREACH checkout IN checkouts %]" >+ - "[% checkout.title %], [% checkout.author %] ([% checkout.barcode %])" >+ - "[% END %]" > - "Thank you." > > - module: circulation >@@ -971,9 +971,9 @@ tables: > message_transport_type: sms > lang: default > content: >- - "Dear <<borrowers.firstname>> <<borrowers.surname>>," >+ - "Dear [% borrower.firstname %] [% borrower.surname %]," > - "" >- - "You have <<count>> item(s) that will be due soon." >+ - "You have [% checkouts.size %] item(s) that will be due soon." > - "" > - "Thank you." > >-- >2.39.5
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 32211
:
175337
|
176390
|
176391
|
176392
|
176652