From 1fc54d3479ffdf47ebe355cde2c9ce25043ab4e4 Mon Sep 17 00:00:00 2001 From: Simon Spannagel Date: Wed, 8 Jul 2020 10:26:34 +0200 Subject: [PATCH 1/2] Fix header logo size in notification mails Signed-off-by: Simon Spannagel --- lib/private/Mail/EMailTemplate.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index e91c1208cc..2c8efa7e01 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -16,6 +16,7 @@ declare(strict_types=1); * @author Morris Jobke * @author Roeland Jago Douma * @author Tomasz Paluszkiewicz + * @author Simon Spannagel * * @license GNU AGPL version 3 or any later version * @@ -117,8 +118,8 @@ EOF; -
- +
+
From d5b1297b55caac266101d538fc1802e23969490b Mon Sep 17 00:00:00 2001 From: Simon Spannagel Date: Thu, 23 Jul 2020 18:06:44 +0200 Subject: [PATCH 2/2] Adjust tests to new e-mail layout Signed-off-by: Simon Spannagel --- apps/settings/tests/Mailer/NewUserMailHelperTest.php | 12 ++++++------ tests/data/emails/new-account-email-custom.html | 4 ++-- .../data/emails/new-account-email-single-button.html | 4 ++-- tests/data/emails/new-account-email.html | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/settings/tests/Mailer/NewUserMailHelperTest.php b/apps/settings/tests/Mailer/NewUserMailHelperTest.php index 3744173f53..aa3a80dcc2 100644 --- a/apps/settings/tests/Mailer/NewUserMailHelperTest.php +++ b/apps/settings/tests/Mailer/NewUserMailHelperTest.php @@ -203,8 +203,8 @@ class NewUserMailHelperTest extends TestCase {
-
- +
+
@@ -434,8 +434,8 @@ EOF;
-
- +
+
@@ -669,8 +669,8 @@ EOF;
-
- +
+
diff --git a/tests/data/emails/new-account-email-custom.html b/tests/data/emails/new-account-email-custom.html index ec88e309cf..f37e64df92 100644 --- a/tests/data/emails/new-account-email-custom.html +++ b/tests/data/emails/new-account-email-custom.html @@ -22,8 +22,8 @@
-
- +
+
diff --git a/tests/data/emails/new-account-email-single-button.html b/tests/data/emails/new-account-email-single-button.html index 13e0c036c3..fdb64293c7 100644 --- a/tests/data/emails/new-account-email-single-button.html +++ b/tests/data/emails/new-account-email-single-button.html @@ -22,8 +22,8 @@
-
- +
+
diff --git a/tests/data/emails/new-account-email.html b/tests/data/emails/new-account-email.html index 84ee18479e..6a6a2fe638 100644 --- a/tests/data/emails/new-account-email.html +++ b/tests/data/emails/new-account-email.html @@ -22,8 +22,8 @@
-
- +
+