Merge pull request #586 from Gluejar/fix-notification-settings

remove unused blocktrans
pull/1/head
Raymond Yee 2016-05-25 07:27:11 -07:00
commit 32da3cd64c
3 changed files with 5 additions and 5 deletions

View File

@ -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 %}

View File

@ -200,14 +200,12 @@ $j(document).ready(function() {
{{ user.email }}<br />
</p>
<p>
({% blocktrans %}You can change this under <a href="{% url 'manage_account' %}">Account</a>.{% endblocktrans %})
(You can change this under <a href="{% url 'manage_account' %}">Account</a>.)
</p>
{% else %}
<div class="errorlist">
{% blocktrans %}
You do not have a verified email address to which notices can be sent.
You can add one by going to <a href="{% url 'manage_account' %}">Account</a>.
{% endblocktrans %}
</div>
{% endif %}

View File

@ -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