From 61509de9331392abf937af790679564456899878 Mon Sep 17 00:00:00 2001 From: acsfer <12234510+acsfer@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:01:26 +0100 Subject: [PATCH 1/2] [stable23] Increase email main buttons width for non-english languages Manual backport of https://github.com/nextcloud/server/pull/30653 --- lib/private/Mail/EMailTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index a83f7787829c5..2c091deb2a15e 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -234,7 +234,7 @@ class EMailTemplate implements IEMailTemplate {
- +
@@ -247,7 +247,7 @@ class EMailTemplate implements IEMailTemplate {
- +
From fab0e6dbe78b3634bccb9a1b62bafab543f57717 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 18 Jan 2022 14:59:02 +0100 Subject: [PATCH 2/2] Fix tests with email templates Signed-off-by: Carl Schwan --- apps/settings/tests/Mailer/NewUserMailHelperTest.php | 12 ++++++------ tests/data/emails/new-account-email-custom.html | 4 ++-- tests/data/emails/new-account-email.html | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index d1c5657f251c3..f2e1d87672d08 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -286,7 +286,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -299,7 +299,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -518,7 +518,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -531,7 +531,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -739,7 +739,7 @@ public function testGenerateTemplateWithoutUserId() {
- +
@@ -752,7 +752,7 @@ public function testGenerateTemplateWithoutUserId() {
- +
diff --git a/tests/data/emails/new-account-email-custom.html b/tests/data/emails/new-account-email-custom.html index 556cc0acf50c9..e1c9fd4fb4f81 100644 --- a/tests/data/emails/new-account-email-custom.html +++ b/tests/data/emails/new-account-email-custom.html @@ -107,7 +107,7 @@

- +
@@ -120,7 +120,7 @@

+

diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html index a60ecbee172b2..e879f44120676 100644 --- a/tests/data/emails/new-account-email.html +++ b/tests/data/emails/new-account-email.html @@ -107,7 +107,7 @@

- +
@@ -120,7 +120,7 @@

+