From 3b831e48427110030de6d31882a2df5e1f93369a Mon Sep 17 00:00:00 2001 From: acsfer <12234510+acsfer@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:03:09 +0100 Subject: [PATCH 1/2] [stable22] 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 8e9f02fce281ca656f837a4ffaebf5e101b86383 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 0fe1d922275f4..4b1c7593faf9b 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -290,7 +290,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -303,7 +303,7 @@ public function testGenerateTemplateWithPasswordResetToken() {
- +
@@ -522,7 +522,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -535,7 +535,7 @@ public function testGenerateTemplateWithoutPasswordResetToken() {
- +
@@ -743,7 +743,7 @@ public function testGenerateTemplateWithoutUserId() {
- +
@@ -756,7 +756,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 @@

+