From 4dec34908156c7f659cc99035f787bc0d7f9de6b Mon Sep 17 00:00:00 2001 From: Martin Renvoize 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