diff --git a/frontend/templates/notification/email_body.txt b/frontend/templates/notification/email_body.txt index ae2ebe9e..50c5dd15 100644 --- a/frontend/templates/notification/email_body.txt +++ b/frontend/templates/notification/email_body.txt @@ -1,4 +1,4 @@ -{% load i18n %}{% blocktrans %}{{ message }} +{% load i18n %}{{ message }} To see other notices or change how you receive notifications, please go to {{ notices_url }}. -{% endblocktrans %} + diff --git a/frontend/templates/notification/notice_settings.html b/frontend/templates/notification/notice_settings.html index 88f4dd3f..10350d86 100644 --- a/frontend/templates/notification/notice_settings.html +++ b/frontend/templates/notification/notice_settings.html @@ -200,14 +200,12 @@ $j(document).ready(function() { {{ user.email }}

- ({% blocktrans %}You can change this under Account.{% endblocktrans %}) + (You can change this under Account.)

{% else %}
- {% blocktrans %} You do not have a verified email address to which notices can be sent. You can add one by going to Account. - {% endblocktrans %}
{% endif %} diff --git a/frontend/tests.py b/frontend/tests.py index c021fe9f..3a58152b 100755 --- a/frontend/tests.py +++ b/frontend/tests.py @@ -76,6 +76,8 @@ class PageTests(TestCase): self.assertEqual(r.status_code, 200) r = self.client.get("/search/?q=sverige&page=2") self.assertEqual(r.status_code, 200) + r = self.client.get("/notification/settings/") + self.assertEqual(r.status_code, 200) def test_view_by_other(self): # someone else's supporter page