aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2007-12-24 18:30:34 +0000
committerfrancis <francis>2007-12-24 18:30:34 +0000
commitabe0af19688d8f0ef9befc13f52ea18afc2354ab (patch)
treee8656c1f4524832064ce2d8713c6e64c0876b318
parentcb3435b75a0946aad4cf718bb9e1818e627b36dc (diff)
Comment.
Missing 'of'
-rw-r--r--app/models/incoming_message.rb5
-rw-r--r--app/views/request/_correspondence.rhtml2
2 files changed, 5 insertions, 2 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 7f348bd95..88748c28d 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -19,7 +19,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: incoming_message.rb,v 1.14 2007-12-24 18:26:18 francis Exp $
+# $Id: incoming_message.rb,v 1.15 2007-12-24 18:30:34 francis Exp $
class IncomingMessage < ActiveRecord::Base
belongs_to :info_request
@@ -110,6 +110,9 @@ class IncomingMessage < ActiveRecord::Base
# Format the body text...
# Show special emails we know about
+ # XXX can later display some of these special emails as actual emails,
+ # if they are public anyway. For now just be precautionary and only
+ # put in descriptions of them in square brackets.
if not self.info_request.public_body.request_email.empty?
text = text.gsub(self.info_request.public_body.request_email, "[" + self.info_request.public_body.short_name + " request email]")
end
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml
index 6981a25b0..ff5e830d6 100644
--- a/app/views/request/_correspondence.rhtml
+++ b/app/views/request/_correspondence.rhtml
@@ -25,7 +25,7 @@
<p class="xspeaker">
<% if incoming_message.mail.from and (not incoming_message.mail.friendly_from.include?('@')) %>
- <%= incoming_message.mail.friendly_from %>
+ <%= incoming_message.mail.friendly_from %> of
<% end %>
<%= public_body_link(@info_request.public_body) %>
<% if incoming_message.contains_information %>