From f3d30615bb419295a920e4a32ffd259d85ef59f8 Mon Sep 17 00:00:00 2001
From: eric
Date: Wed, 25 May 2016 09:12:37 -0400
Subject: [PATCH] remove unused blocktrans
Must have been a django version change
---
frontend/templates/notification/email_body.txt | 4 ++--
frontend/templates/notification/notice_settings.html | 4 +---
frontend/tests.py | 2 ++
3 files changed, 5 insertions(+), 5 deletions(-)
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