]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
templates: Remove trailing newlines
authorStephen Finucane <stephen@that.guru>
Sat, 29 Sep 2018 22:03:08 +0000 (23:03 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 29 Sep 2018 22:12:39 +0000 (23:12 +0100)
These got added accidentally during merge.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes: 45fa5c5c ("templates: Move additional email subjects to templates")
patchwork/templates/patchwork/mails/activation-subject.txt
patchwork/templates/patchwork/mails/optout-request-subject.txt
patchwork/templates/patchwork/mails/patch-change-notification-subject.txt
patchwork/tests/test_mail_settings.py

index c409f38cd94da92d3100e227dac2fc81e2318f8f..632eea8f4728e756be22ffe823935f283a0af33d 100644 (file)
@@ -1 +1 @@
-Patchwork account confirmation
+Patchwork account confirmation
\ No newline at end of file
index 377dfc890940aa6f7bbe06e7ea6687f445ecb2c1..32ac699800c4a9d87433bbfe70cf1ac8d125dac6 100644 (file)
@@ -1 +1 @@
-Patchwork opt-out confirmation
\ No newline at end of file
+Patchwork opt-out request
\ No newline at end of file
index c9d96d4113e26929804573b3b424da17998236e4..42dcaa62492ca8de3b59cfcafbafeb7c5fed12a4 100644 (file)
@@ -1 +1 @@
-[{{ projects|join:"," }}] Patch notification: {{notifications|length}} patch{{notifications|length|pluralize:"es"}} updated
+[{{ projects|join:"," }}] Patch notification: {{notifications|length}} patch{{notifications|length|pluralize:"es"}} updated
\ No newline at end of file
index 78cbd6dbccfdf956f95c241b38103382d2417117..8991252c70d7df849dbca879d388f8f510b94f95 100644 (file)
@@ -86,7 +86,7 @@ class OptoutRequestTest(TestCase):
         self.assertEqual(len(mail.outbox), 1)
         msg = mail.outbox[0]
         self.assertEqual(msg.to, [email])
-        self.assertEqual(msg.subject, 'Patchwork opt-out confirmation')
+        self.assertEqual(msg.subject, 'Patchwork opt-out request')
         self.assertIn(reverse('confirm', kwargs={'key': conf.key}), msg.body)
 
     def test_post_empty(self):
@@ -167,7 +167,7 @@ class OptinRequestTest(TestCase):
         self.assertEqual(len(mail.outbox), 1)
         msg = mail.outbox[0]
         self.assertEqual(msg.to, [self.email])
-        self.assertEqual(msg.subject, 'Patchwork opt-in confirmation')
+        self.assertEqual(msg.subject, 'Patchwork opt-in request')
         self.assertIn(reverse('confirm', kwargs={'key': conf.key}), msg.body)
 
     def test_post_empty(self):