[Bug 36107] New: Port default DUEDGST and PREDUEDGST notices to Template Toolkit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36107 Bug ID: 36107 Summary: Port default DUEDGST and PREDUEDGST notices to Template Toolkit Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Keywords: roadmap_24_05 Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: emily.lamancusa@montgomerycountymd.gov QA Contact: testopia@bugs.koha-community.org Blocks: 15278 The following notices need to be updated to use Template Toolkit syntax: DUEDGST (email) DUEDGST (sms) PREDUEDGST (email) PREDUEDGST (sms) These will be a bit trickier, as they make use of <<items.content>>. The default information in <<items.content>> is the due date, title, author, and barcode of the item. Since this bug is limited to changing the default notice text, and won't affect existing installations, we could be okay to simply replicate that information with Template Toolkit variables for now. We will need to decide what to do about <<items.content>> if/when we deprecate hungry alligator syntax in the long run, though. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15278 [Bug 15278] [Omnibus] Port default slips and notices from bespoke syntax to Template Toolkit -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36107 --- Comment #1 from Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> --- Note: the actual text in the SMS sample notices should probably be updated as well - currently they only tell the number of items coming due, which isn't very useful. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36107 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #2 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- (In reply to Emily Lamancusa from comment #1)
Note: the actual text in the SMS sample notices should probably be updated as well - currently they only tell the number of items coming due, which isn't very useful.
I think this was due to the limited number of characters you can send in an SMS. If you have one title due, it might fit the the sms message, but if you have 5 titles, it will go over and give an error. Bug 35639 tries to fix the error at least, but the patron will still not get the full information if they have many titles due. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36107 --- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Here's one I just did for PREDUEDGST, with the help of Jonathan [% FOREACH item IN items %] [%~ SET checkout = item.checkout %] [%~ SET biblio = item.biblio %] <strong>[% biblio.title %]</strong> [% IF biblio.author %]by [% biblio.author %][% ELSE %][% END %] Call number: [% item.itemcallnumber %] Due date: [% checkout.date_due | $KohaDates %] [% END %] -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org