Bugzilla – Attachment 70598 Details for
Bug 15284
Switch default ISSUESLIP notice to Template Toolkit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15284: Switch default ISSUESLIP notice to Template Toolkit
Bug-15284-Switch-default-ISSUESLIP-notice-to-Templ.patch (text/plain), 2.90 KB, created by
Charlotte Cordwell
on 2018-01-17 04:02:04 UTC
(
hide
)
Description:
Bug 15284: Switch default ISSUESLIP notice to Template Toolkit
Filename:
MIME Type:
Creator:
Charlotte Cordwell
Created:
2018-01-17 04:02:04 UTC
Size:
2.90 KB
patch
obsolete
>From b79c637df8d8fc94e167b773f401421023e9dc3a Mon Sep 17 00:00:00 2001 >From: Charlotte Cordwell <charlotte.cordwell123@gmail.com> >Date: Wed, 17 Jan 2018 02:56:05 +0000 >Subject: [PATCH] Bug 15284: Switch default ISSUESLIP notice to Template > Toolkit > >Updated for english version. >--- > .../data/mysql/en/mandatory/sample_notices.sql | 45 ++++++++++++---------- > 1 file changed, 25 insertions(+), 20 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.sql b/installer/data/mysql/en/mandatory/sample_notices.sql >index 0eb0051..c24ffd8 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.sql >+++ b/installer/data/mysql/en/mandatory/sample_notices.sql >@@ -29,30 +29,34 @@ VALUES ('members', 'DISCHARGE', 'Discharge confirmation', 'Discharge for <<borro > has returned all items.</p>', 1, 'email'); > > INSERT INTO `letter` (module, code, name, title, content, is_html) >-VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '<h3><<branches.branchname>></h3> >-Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> >-(<<borrowers.cardnumber>>) <br /> >+VALUES ('circulation','ISSUESLIP','Issue Slip','Issue Slip', '[% USE KohaDates %] >+<h3>[% branch.branchname %]</h3> >+Checked out to [% borrower.title %] [% borrower.firstname %] [% borrower.initials %] [% borrower.surname %] <br /> >+([% borrower.cardnumber %]) <br /> > >-<<today>><br /> >+[% today | $KohaDates %]<br /> > > <h4>Checked Out</h4> >-<checkedout> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</checkedout> >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF ! checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br/> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > > <h4>Overdues</h4> >-<overdue> >-<p> >-<<biblio.title>> <br /> >-Barcode: <<items.barcode>><br /> >-Date due: <<issues.date_due>><br /> >-</p> >-</overdue> >- >+[% FOREACH checkout IN borrower.checkouts %] >+ [% IF checkout.is_overdue %] >+ <p> >+ [% checkout.item.biblio.title %] <br /> >+ Barcode: [% checkout.item.barcode %]<br /> >+ Date due: [% checkout.date_due | $KohaDates %]<br /> >+ </p> >+ [% END %] >+[% END %] > <hr> > > <h4 style="text-align: center; font-style:italic;">News</h4> >@@ -63,7 +67,8 @@ Date due: <<issues.date_due>><br /> > <p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px">Posted on <<opac_news.timestamp>></p> > <hr /> > </div> >-</news>', 1), >+</news> >+',1), > ('circulation','ISSUEQSLIP','Issue Quick Slip','Issue Quick Slip', '<h3><<branches.branchname>></h3> > Checked out to <<borrowers.title>> <<borrowers.firstname>> <<borrowers.initials>> <<borrowers.surname>> <br /> > (<<borrowers.cardnumber>>) <br /> >-- >2.1.4
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 15284
:
45337
|
70598
|
91659
|
91664