aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/info_request.rb4
-rw-r--r--app/views/admin_general/index.rhtml2
-rw-r--r--app/views/admin_request/list_old_unclassified.rhtml2
-rw-r--r--app/views/request_game/play.rhtml7
4 files changed, 8 insertions, 7 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 10e26d48d..e66501667 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -24,7 +24,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: info_request.rb,v 1.209 2009-10-02 22:56:35 francis Exp $
+# $Id: info_request.rb,v 1.210 2009-10-03 01:22:30 francis Exp $
require 'digest/sha1'
require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian')
@@ -90,7 +90,7 @@ class InfoRequest < ActiveRecord::Base
'blackhole' # just dump them
]
- OLD_AGE_IN_DAYS = 14.days
+ OLD_AGE_IN_DAYS = 21.days
def after_initialize
if self.described_state.nil?
diff --git a/app/views/admin_general/index.rhtml b/app/views/admin_general/index.rhtml
index cf4caef8d..1a4b8ba96 100644
--- a/app/views/admin_general/index.rhtml
+++ b/app/views/admin_general/index.rhtml
@@ -72,7 +72,7 @@
<% end %>
<% if @old_unclassified.size > 0 %>
- <h3>Classify responses that are still unclassified ten days after response</h3>
+ <h3>Classify responses that are still unclassified <%=InfoRequest::OLD_AGE_IN_DAYS.inspect %> after response</h3>
<ul>
<% for @request in @old_unclassified %>
diff --git a/app/views/admin_request/list_old_unclassified.rhtml b/app/views/admin_request/list_old_unclassified.rhtml
index 38f2822e0..f42ed0d43 100644
--- a/app/views/admin_request/list_old_unclassified.rhtml
+++ b/app/views/admin_request/list_old_unclassified.rhtml
@@ -2,7 +2,7 @@
<h1><%=@title%></h1>
-<p>Classify responses that are still unclassified ten days after response:</p>
+<p>Classify responses that are still unclassified <%=InfoRequest::OLD_AGE_IN_DAYS.inspect %> after response:</p>
<ul>
<% for @request in @info_requests %>
<li>
diff --git a/app/views/request_game/play.rhtml b/app/views/request_game/play.rhtml
index cbaeee4f1..edfd747bc 100644
--- a/app/views/request_game/play.rhtml
+++ b/app/views/request_game/play.rhtml
@@ -2,9 +2,10 @@
<h2>Play the request categorisation game!</h2>
-<p>Hi! We need your help. We have <%= @missing %> requests which have had a
-response, but where the person who made them hasn't told us whether or not they
-were successful. </p>
+<p>Hi! We need your help. We have <%= pluralize(@missing, "request") %> which had a
+response more than <%=InfoRequest::OLD_AGE_IN_DAYS.inspect %> ago, but where
+the person who made them hasn't told us whether or not they were successful.
+</p>
<p>We would be exceedingly grateful if you could choose one of these requests,
read it, and let everyone know whether or not the information has been