aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user_info_request_sent_alert.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-21 22:37:32 +0000
committerfrancis <francis>2008-05-21 22:37:32 +0000
commit7fd83d90dc8b867e098b82d7c72d2d8029bfd479 (patch)
tree9db3b9d825f6f2bb75af3fb2f8b983eceaef5b01 /app/models/user_info_request_sent_alert.rb
parentc0951f93e5d33fd7158f433730fe535ad20182f4 (diff)
Show people tracking same query, when you are on search page.
Put name of admin user rather than import_csv. Send automated email to remind people to clarify their request. Send response overdue alerts multiple times for one request (if it becomes overdue again after a clarification etc.) Overdue response alert email click through shows how many days overdue it is near where you write your reply.
Diffstat (limited to 'app/models/user_info_request_sent_alert.rb')
-rw-r--r--app/models/user_info_request_sent_alert.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/user_info_request_sent_alert.rb b/app/models/user_info_request_sent_alert.rb
index 872286c88..2b6cfed1d 100644
--- a/app/models/user_info_request_sent_alert.rb
+++ b/app/models/user_info_request_sent_alert.rb
@@ -17,7 +17,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: user_info_request_sent_alert.rb,v 1.15 2008-05-21 10:51:24 francis Exp $
+# $Id: user_info_request_sent_alert.rb,v 1.16 2008-05-21 22:37:33 francis Exp $
class UserInfoRequestSentAlert < ActiveRecord::Base
belongs_to :user
@@ -25,7 +25,8 @@ class UserInfoRequestSentAlert < ActiveRecord::Base
validates_inclusion_of :alert_type, :in => [
'overdue_1', # tell user that info request has become overdue
- 'new_response_reminder_1' # reminder user to classify the recent response
+ 'new_response_reminder_1', # reminder user to classify the recent response
+ 'not_clarified_1', # reminder that user has to explain part of the request
]
end