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

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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-10-29 15:20:03 +00:00 committed by Tomas Cohen Arazi
parent eeffa57eab
commit c6284eed81
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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
@ -1455,7 +1455,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