Bugzilla – Attachment 158047 Details for
Bug 35185
Remove is_html flag from sample notices for text notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35185: Remove is_html flag from sample notices that are plain text
Bug-35185-Remove-ishtml-flag-from-sample-notices-t.patch (text/plain), 2.14 KB, created by
Katrin Fischer
on 2023-10-29 15:23:35 UTC
(
hide
)
Description:
Bug 35185: Remove is_html flag from sample notices that are plain text
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-29 15:23:35 UTC
Size:
2.14 KB
patch
obsolete
>From 032f15d5a58b28e87fcf4cbebe4d16ffc0734b83 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 29 Oct 2023 15:20:03 +0000 >Subject: [PATCH] Bug 35185: Remove is_html flag from sample notices that are > plain text > >Some notices had the is_html flag for new installations, but actually >didn't include any HTML formatting. These should be plain text >to have the line breaks behave as expected. > >This updates: >* 2FA_OTP_TOKEN >* OPAC_REG_VERIFY >* WELCOME > >We cannot do a database update here, as libraries will >have changed and updated these. So this is only for new >installations. > >To test: >* Apply patch >* reset_all (create a new sample database) >* Verify that the HTML checkbox is not set for these notices >* Verify they appear as plain text notices, not including HTML tags >--- > installer/data/mysql/en/mandatory/sample_notices.yml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml >index 3410210476..de9b3d8e21 100644 >--- a/installer/data/mysql/en/mandatory/sample_notices.yml >+++ b/installer/data/mysql/en/mandatory/sample_notices.yml >@@ -1327,7 +1327,7 @@ tables: > code: OPAC_REG_VERIFY > branchcode: "" > name: "OPAC self-registration verification email" >- is_html: 1 >+ is_html: 0 > title: "Verify your account" > message_transport_type: email > lang: default >@@ -1441,7 +1441,7 @@ tables: > code: WELCOME > branchcode: "" > name: "Welcome notice " >- is_html: 1 >+ is_html: 0 > title: "[% USE Koha %][% IF Koha.Preference('LibraryName') %]Welcome to [% Koha.Preference('LibraryName') %][% ELSE %]Welcome to the library[% END %]" > message_transport_type: email > lang: default >@@ -1461,7 +1461,7 @@ tables: > code: 2FA_OTP_TOKEN > branchcode: "" > name: "two-authentication step token" >- is_html: 1 >+ is_html: 0 > title: "Two-authentication token" > message_transport_type: email > lang: default >-- >2.30.2
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 35185
:
158047
|
158051
|
158053
|
158206