diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 7 | ||||
-rw-r--r-- | app/views/help/about.rhtml | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8f9f3cd3d..ce78011a0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -5,13 +5,18 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application_helper.rb,v 1.14 2008-01-14 12:27:56 francis Exp $ +# $Id: application_helper.rb,v 1.15 2008-01-21 19:12:46 francis Exp $ module ApplicationHelper # URL generating functions are needed by all controllers (for redirects) # views (for links), so include them into all of both. include LinkToHelper + # Contact email address + def contact_email + MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost') + end + # Copied from error_messages_for in active_record_helper.rb def foi_error_messages_for(*params) options = params.last.is_a?(Hash) ? params.pop.symbolize_keys : {} diff --git a/app/views/help/about.rhtml b/app/views/help/about.rhtml index 20b7938a8..ac92602bf 100644 --- a/app/views/help/about.rhtml +++ b/app/views/help/about.rhtml @@ -1,3 +1,13 @@ +<dt>Is this site still in development?</dt> + +<dd>Yes, that's right. The site is currently being tested with a handful of +real requests, and improved. The design and even the name are not final. +If you have any comments, or would like to help test by sending a request +to a public body that we don't have yet, then email + +<a href="mailto:<%=contact_email%>"><%=contact_email%></a>. +</dd> + <h1>Introduction to GovernmentSpy</h1> <dl> |