Bug 35187: Fix missing line breaks in WELCOME notice
When a notices is marked as HTML, we need to use block elements
(p, div, li, etc.) or explicit line breaks.
This adds the line breaks where required.
To test:
WELCOME
* Without patch
* Make sure your Koha can send email (set up SMTP server, KohaAdminLibraryAddress)
* Make sure your patron has an email set
* In patron account, use "More > Welcome email"
* Verify all text is on one line
* Apply patch
* reset_all to install new sample notice templates
* Repeat test, verify welcome notice is now nice
(cherry picked from commit d60fe27ea4
)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
This commit is contained in:
parent
94ce705a7f
commit
50e8b27996
1 changed files with 9 additions and 9 deletions
|
@ -1253,15 +1253,15 @@ tables:
|
|||
lang: default
|
||||
content:
|
||||
- "[% USE Koha %]"
|
||||
- "Hello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %]."
|
||||
- ""
|
||||
- "Thank you for joining [% IF Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE %]the library[% END %]"
|
||||
- ""
|
||||
- "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 the library."
|
||||
- "Hello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].<br>"
|
||||
- "<br>"
|
||||
- "Thank you for joining [% IF Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE %]the library[% END %]<br>"
|
||||
- "<br>"
|
||||
- "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>.<br>"
|
||||
- "<br>"
|
||||
- "Your library card number is [% borrower.cardnumber %]<br>"
|
||||
- "<br>"
|
||||
- "If you have any problems or questions regarding your account, please contact the library."
|
||||
|
||||
- module: members
|
||||
code: 2FA_OTP_TOKEN
|
||||
|
|
Loading…
Reference in a new issue