Bugzilla – Attachment 166409 Details for
Bug 36125
Port default HOLD_SLIP notice to Template Toolkit syntax
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36125: Adjust default HOLD_SLIP to use TT
Bug-36125-Adjust-default-HOLDSLIP-to-use-TT.patch (text/plain), 3.27 KB, created by
Martin Renvoize (ashimema)
on 2024-05-08 13:12:21 UTC
(
hide
)
Description:
Bug 36125: Adjust default HOLD_SLIP to use TT
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-08 13:12:21 UTC
Size:
3.27 KB
patch
obsolete
>From ec16eaa36b6ff61f517c4029af37e49a210da7ed Mon Sep 17 00:00:00 2001 >From: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Date: Thu, 25 Apr 2024 17:03:20 -0400 >Subject: [PATCH] Bug 36125: Adjust default HOLD_SLIP to use TT > >To test: >1. Apply patch >2. reset_all (or start your testing environment in the first place) >3. Find a patron and make sure their account contains values for > all of the following fields: > First name > Surname > Card number > Phone > Address > Address 2 > City > Zipcode > Email >4. Place a hold for this patron, specifying a hold note >5. Check in an item to fill the hold and click "Confirm and print slip" >6. Confirm that all information on the hold slip is correct > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../mysql/en/mandatory/sample_notices.yml | 30 +++++++++---------- > 1 file changed, 15 insertions(+), 15 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index 9675b3eb4f1..6e2ed6d1a8d 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -679,32 +679,32 @@ tables: > message_transport_type: email > lang: default > content: >- - "<h5>Date: <<today>></h5>" >+ - "<h5>Date: [% today | KohaDates %]</h5>" > - "<br>" >- - "<h3> Transfer to/Hold in <<branches.branchname>></h3>" >+ - "<h3> Transfer to/Hold in [% branch.branchname %]</h3>" > - "<br>" >- - "<h3><<borrowers.surname>>, <<borrowers.firstname>></h3>" >+ - "<h3>[% borrower.surname %], [% borrower.firstname %]</h3>" > - "<br>" > - "<ul>" >- - " <li><<borrowers.cardnumber>></li>" >- - " <li><<borrowers.phone>></li>" >- - " <li> <<borrowers.address>><br>" >- - " <<borrowers.address2>><br>" >- - " <<borrowers.city>> <<borrowers.zipcode>>" >+ - " <li>[% borrower.cardnumber %]</li>" >+ - " <li>[% borrower.phone %]</li>" >+ - " <li> [% borrower.address %]<br>" >+ - " [% borrower.address2 %]<br>" >+ - " [% borrower.city %] [% borrower.zipcode %]" > - " </li>" >- - " <li><<borrowers.email>></li>" >+ - " <li>[% borrower.email %]</li>" > - "</ul>" > - "<br>" > - "<h3>ITEM ON HOLD</h3>" >- - "<h4><<biblio.title>></h4>" >- - "<h5><<biblio.author>></h5>" >+ - "<h4>[% biblio.title %]</h4>" >+ - "<h5>[% biblio.author %]</h5>" > - "<ul>" >- - " <li><<items.barcode>></li>" >- - " <li><<items.itemcallnumber>></li>" >- - " <li><<reserves.waitingdate>></li>" >+ - " <li>[% item.barcode %]</li>" >+ - " <li>[% item.itemcallnumber %]</li>" >+ - " <li>[% reserve.waitingdate %]</li>" > - "</ul>" > - "<p>Notes:" >- - "<pre><<reserves.reservenotes>></pre>" >+ - "<pre>[% reserve.reservenotes %]</pre>" > - "</p>" > > - module: circulation >-- >2.45.0
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 36125
:
165592
|
165793
|
165877
| 166409 |
166410