diff options
-rw-r--r-- | app/models/request_mailer.rb | 5 | ||||
-rw-r--r-- | app/views/request_mailer/initial_request.rhtml | 2 | ||||
-rw-r--r-- | todo.txt | 10 |
3 files changed, 10 insertions, 7 deletions
diff --git a/app/models/request_mailer.rb b/app/models/request_mailer.rb index 6bf8fe0b8..6a35bafba 100644 --- a/app/models/request_mailer.rb +++ b/app/models/request_mailer.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_mailer.rb,v 1.10 2007-12-13 01:35:39 francis Exp $ +# $Id: request_mailer.rb,v 1.11 2007-12-14 00:55:57 francis Exp $ class RequestMailer < ActionMailer::Base @@ -16,7 +16,8 @@ class RequestMailer < ActionMailer::Base @recipients = info_request.public_body.request_email end @subject = 'Freedom of Information Request - ' + info_request.title - @body = {:info_request => info_request, :outgoing_message => outgoing_message} + @body = {:info_request => info_request, :outgoing_message => outgoing_message, + :contact_email => MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost') } end def bounced_message(email) diff --git a/app/views/request_mailer/initial_request.rhtml b/app/views/request_mailer/initial_request.rhtml index 67271a122..c559cc2f3 100644 --- a/app/views/request_mailer/initial_request.rhtml +++ b/app/views/request_mailer/initial_request.rhtml @@ -6,5 +6,5 @@ Sent using GovernmentSpy, a project of UKCOD, registered charity number 1076346. Is <%= @info_request.public_body.request_email%> the wrong address for Freedom of Information requests to <%= @info_request.public_body.name%>? If so please let us know by emailing -team@governmentspy quoting reference PB<%= @info_request.public_body.id%>. +<%=@contact_email%> quoting reference PB<%= @info_request.public_body.id%>. We'll make sure future ones go to the right place. @@ -1,7 +1,3 @@ -Check the template going to users - -Form for requestor to choose what happened - [12:11:25] … To Liverpool City Council: Please send me a copy of the contract signed with Veolia for refuse and recycling collection. @@ -12,6 +8,8 @@ http://www.ico.gov.uk/Home/tools_and_resources/decision_notices.aspx Next ==== +When making new public body redirect doesn't work + Either rotate log files, or merge with Apache ones Check confirmed everywhere in password check etc. @@ -40,6 +38,8 @@ Remove everything from test/ You need to pull the magic email addresses out of incoming_messages so they aren't shown on the website +Some way of getting to your own home page + Tidying ======= @@ -127,6 +127,8 @@ Forgotten password link Link to source code +Way of contacting other users + Sources of public bodies ======================== |