From 301335e9e186ef542103e10ef7a81a69370d6d82 Mon Sep 17 00:00:00 2001 From: Liam JACK Date: Sun, 12 Apr 2020 13:04:56 +0200 Subject: [PATCH 1/2] Fix #13287 - Increase max-height on button in welcome email template Signed-off-by: Liam JACK --- .../tests/Mailer/NewUserMailHelperTest.php | 18 +++++++++--------- lib/private/Mail/EMailTemplate.php | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index c32bb601f3..ffce4d9978 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -294,7 +294,7 @@ class NewUserMailHelperTest extends TestCase {
- +
@@ -377,8 +377,8 @@ Set your password: https://example.com/resetPassword/MySuperLongSecureRandomToke Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; @@ -531,7 +531,7 @@ EOF;
- +
@@ -614,8 +614,8 @@ Go to TestCloud: https://example.com/ Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; @@ -757,7 +757,7 @@ EOF;
- +
@@ -838,8 +838,8 @@ Go to TestCloud: https://example.com/ Install Client: https://nextcloud.com/install/#install-clients --- -TestCloud - +-- +TestCloud - This is an automatically sent email, please do not reply. EOF; diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index 9e2f099259..850a047fa2 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -236,7 +236,7 @@ EOF;
- +
@@ -289,7 +289,7 @@ EOF;
- +
From 840bed9a859db16f21762a80832c09fc7d448b25 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 17 Apr 2020 09:00:59 +0200 Subject: [PATCH 2/2] Fix tests Signed-off-by: Morris Jobke --- tests/data/emails/new-account-email-custom.html | 2 +- tests/data/emails/new-account-email.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/emails/new-account-email-custom.html b/tests/data/emails/new-account-email-custom.html index 2d2e01b7ab..9165a581d4 100644 --- a/tests/data/emails/new-account-email-custom.html +++ b/tests/data/emails/new-account-email-custom.html @@ -114,7 +114,7 @@
- +
diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html index 3835fc3d54..82bea52751 100644 --- a/tests/data/emails/new-account-email.html +++ b/tests/data/emails/new-account-email.html @@ -114,7 +114,7 @@
- +