Bugzilla – Attachment 170885 Details for
Bug 36020
Port default recall notices to Template Toolkit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36020: (follow-up) Use title includes
Bug-36020-follow-up-Use-title-includes.patch (text/plain), 3.48 KB, created by
Lisette Scheer
on 2024-08-29 21:13:44 UTC
(
hide
)
Description:
Bug 36020: (follow-up) Use title includes
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2024-08-29 21:13:44 UTC
Size:
3.48 KB
patch
obsolete
>From 4dec34908156c7f659cc99035f787bc0d7f9de6b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 20 May 2024 10:39:17 +0100 >Subject: [PATCH] Bug 36020: (follow-up) Use title includes > >This patch updates the recall sample notices to use the patron-title and >biblio-title includes for patron and biblio title displays. >--- > .../data/mysql/en/mandatory/sample_notices.yml | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index b92c145418..1311d447a5 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -2301,9 +2301,9 @@ tables: > content: > - "Date: [% today | $KohaDates %]" > - "" >- - "[% borrower.firstname %] [% borrower.surname %]," >+ - "[% INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_cardnumber => 1, no_html = 1 %]," > - "" >- - "A recall has been placed on the following item: [% biblio.title %] / [% biblio.author %] ([% item.barcode %]). The due date has been updated, and is now [% issue.date_due %]. Please return the item before the due date." >+ - "A recall has been placed on the following item: [% INCLUDE 'biblio-title.inc' biblio=title link = 0 %] / [% biblio.author %] ([% item.barcode %]). The due date has been updated, and is now [% issue.date_due %]. Please return the item before the due date." > - "" > - "Thank you!" > >@@ -2318,9 +2318,9 @@ tables: > content: > - "Date: [% today | $KohaDates %]" > - "" >- - "[% borrower.firstname %] [% borrower.surname %]," >+ - "[% INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_cardnumber => 1, no_html = 1 %]," > - "" >- - "A recall that you requested on the following item: [% biblio.title %] / [% biblio.author %] ([% item.barcode %]) is now ready for you to pick up at [% recall.pickup_library_id %]. Please pick up your item by [% recalls.expiration_date %]." >+ - "A recall that you requested on the following item: [% INCLUDE 'biblio-title.inc' biblio=title link = 0 %] / [% biblio.author %] ([% item.barcode %]) is now ready for you to pick up at [% recall.pickup_library_id %]. Please pick up your item by [% recalls.expiration_date %]." > - "" > - "Thank you!" > >@@ -2357,14 +2357,14 @@ tables: > content: > - "Date: [% today | $KohaDates %]" > - "" >- - "Recall for pickup at [% branche.branchname %]" >- - "[% borrower.surname %], [% borrower.firstname %] ([% borrower.cardnumber %])" >+ - "Recall for pickup at [% branch.branchname %]" >+ - "[% INCLUDE 'patron-title.inc' patron => borrower, no_title => 1, no_html = 1 %]" > - "[% borrower.phone %]" > - "[% borrower.streetnumber %] [% borrower.address %], [% borrower.address2 %], [% borrower.city %] [% borrower.zipcode %]" > - "[% borrowes.email %]" > - "" > - "ITEM RECALLED" >- - "[% biblio.title %] by [% biblio.author %]" >+ - "[% INCLUDE 'biblio-title.inc' biblio=title link = 0 %] by [% biblio.author %]" > - "Barcode: [% item.barcode %]" > - "Callnumber: [% item.itemcallnumber %]" > - "Waiting since: [% recall.waiting_date %]" >-- >2.39.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 36020
:
166784
|
166934
|
166935
|
170885
|
170886
|
170887
|
170889
|
172134
|
172135
|
172147
|
172148
|
176478
|
176479