aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2012-09-18 16:01:53 +1000
committerMatthew Landauer <matthew@openaustralia.org>2012-09-18 16:03:40 +1000
commitaebfa2e30408ebff5b45177472913097bed6afa5 (patch)
treed769a076b1e7b676ee8c0ca770e95546b351a824 /lib
parentfed7b7ebbece65e3247f8be7da11df90c74e2084 (diff)
Use email domain from configuration rather than hardcoded domain
Diffstat (limited to 'lib')
-rw-r--r--lib/views/help/officers.rhtml2
-rw-r--r--lib/views/help/privacy.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/views/help/officers.rhtml b/lib/views/help/officers.rhtml
index c1bc934..1fddb5d 100644
--- a/lib/views/help/officers.rhtml
+++ b/lib/views/help/officers.rhtml
@@ -80,7 +80,7 @@ use.</p>
<p>Requests are sometimes not delivered because they are quietly removed by
"spam filters" in the IT department of the authority. Authorities can make
sure this doesn't happen by asking their IT departments to "whitelist"
-any email from <strong>@whatdotheyknow.com</strong>.
+any email from <strong>@<%= MySociety::Config.get('INCOMING_EMAIL_DOMAIN') %></strong>.
If you <a href="/help/contact">ask us</a> we will resend any request,
and/or give technical details of delivery so an IT department can chase
up what happened to the message.
diff --git a/lib/views/help/privacy.rhtml b/lib/views/help/privacy.rhtml
index 33cdd81..4f4f2d3 100644
--- a/lib/views/help/privacy.rhtml
+++ b/lib/views/help/privacy.rhtml
@@ -12,7 +12,7 @@
<dd><p>We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to. They only get to see an email address
-@whatdotheyknow.com which is specific to that request. </p>
+@<%= MySociety::Config.get('INCOMING_EMAIL_DOMAIN') %> which is specific to that request. </p>
<p>If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.</p>
</dd>