Bug 30237: (follow-up) Update Notice

This patch updates the sample notice as suggested by Katrin.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2022-04-11 14:52:51 +01:00 committed by Fridolin Somers
parent 3d5e974f8f
commit 71b1caccb9
2 changed files with 3 additions and 3 deletions

2
installer/data/mysql/atomicupdate/bug_30237.pl Normal file → Executable file
View file

@ -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 <a href='[% Koha.Preference('OPACBaseURL') %]'>here</a>.\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 <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>.\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{

View file

@ -1077,11 +1077,11 @@ tables:
- ""
- "Thankyou for joining [% Koha.Preference('LibraryName') %]"
- ""
- "The library's catalog can be found <a href='[% Koha.Preference('OPACBaseURL') %]'>here</a>."
- "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>."
- ""
- "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