From 71b1caccb96ccbbf1c1df69ccf94562295077771 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 11 Apr 2022 14:52:51 +0100 Subject: [PATCH] Bug 30237: (follow-up) Update Notice This patch updates the sample notice as suggested by Katrin. Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- installer/data/mysql/atomicupdate/bug_30237.pl | 2 +- installer/data/mysql/en/mandatory/sample_notices.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30237.pl diff --git a/installer/data/mysql/atomicupdate/bug_30237.pl b/installer/data/mysql/atomicupdate/bug_30237.pl old mode 100644 new mode 100755 index 0114abda85..4c92eb164b --- a/installer/data/mysql/atomicupdate/bug_30237.pl +++ b/installer/data/mysql/atomicupdate/bug_30237.pl @@ -8,7 +8,7 @@ return { my ($dbh, $out) = @$args{qw(dbh out)}; # Add WELCOME notice $dbh->do( q{ - INSERT IGNORE INTO letter (module, code, name, is_html, title, content, message_transport_type) VALUES ('members', 'WELCOME', 'Welcome notice', 1, "[% USE Koha %]Welcome to [% Koha.Preference('LibraryName') %]", "[% USE Koha %]\r\nHello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].\r\n\r\nThankyou for joining [% Koha.Preference('LibraryName') %]\r\n\r\nThe library's catalog can be found here.\r\n\r\nYour library card number is [% borrower.cardnumber %]\r\n\r\nIf you have any problems or questions regarding your account, please contact your Koha Administrator.", 'email');}); + INSERT IGNORE INTO letter (module, code, name, is_html, title, content, message_transport_type) VALUES ('members', 'WELCOME', 'Welcome notice', 1, "[% USE Koha %]Welcome to [% Koha.Preference('LibraryName') %]", "[% USE Koha %]\r\nHello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].\r\n\r\nThank you for joining [% Koha.Preference('LibraryName') %]\r\n\r\nYou can search for all our materials in our catalog.\r\n\r\nYour library card number is [% borrower.cardnumber %]\r\n\r\nIf you have any problems or questions regarding your account, please contact the library.", 'email');}); # Update system preference $dbh->do( q{ diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index e286083d67..99fe795dd3 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -1077,11 +1077,11 @@ tables: - "" - "Thankyou for joining [% Koha.Preference('LibraryName') %]" - "" - - "The library's catalog can be found here." + - "You can search for all our materials in our catalog." - "" - "Your library card number is [% borrower.cardnumber %]" - "" - - "If you have any problems or questions regarding your account, please contact your Koha Administrator." + - "If you have any problems or questions regarding your account, please contact the library." - module: orderacquisition code: ACQORDER -- 2.39.5