aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/public_body.rb6
-rw-r--r--app/views/layouts/admin.rhtml1
-rw-r--r--todo.txt25
3 files changed, 11 insertions, 21 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index 65bba0a63..12fe880c2 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -22,7 +22,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: public_body.rb,v 1.27 2008-02-28 15:59:21 francis Exp $
+# $Id: public_body.rb,v 1.28 2008-03-02 23:43:09 francis Exp $
require 'csv'
require 'set'
@@ -82,7 +82,9 @@ class PublicBody < ActiveRecord::Base
public_body_tag.destroy
end
for tag in tags
- self.public_body_tags << PublicBodyTag.new(:name => tag)
+ public_body_tag = PublicBodyTag.new(:name => tag)
+ self.public_body_tags << public_body_tag
+ public_body_tag.public_body = self
end
end
end
diff --git a/app/views/layouts/admin.rhtml b/app/views/layouts/admin.rhtml
index 71618f755..d2fe60a44 100644
--- a/app/views/layouts/admin.rhtml
+++ b/app/views/layouts/admin.rhtml
@@ -7,7 +7,6 @@
# Have to do explicit tag for stylesheet, to get absolute path on main server
%>
<%= tag("link", { "rel" => "Stylesheet", "type" => "text/css", "media" => "screen", "href" => admin_public_url(stylesheet_path('admin')) }) %>
- <%= tag("link", { "rel" => "Stylesheet", "type" => "text/css", "media" => "screen", "href" => admin_public_url(stylesheet_path('scaffold')) }) %>
</head>
<body>
diff --git a/todo.txt b/todo.txt
index 519731f19..082715f36 100644
--- a/todo.txt
+++ b/todo.txt
@@ -1,8 +1,3 @@
-This is knackered:
-http://foi.mysociety.org/request/14/response/44/attach/3/Marie's%20letter.tif
-
-Load errors
-
FOI requests to use to test it
==============================
@@ -18,7 +13,9 @@ BAILII - relationship with law courts, robots.txt ?
Next
====
-Can't set tags when making new public body
+This is knackered:
+http://foi.mysociety.org/request/14/response/44/attach/3/Marie's%20letter.tif
+
Maybe do history of tags?
Update test code
@@ -46,6 +43,8 @@ Fix the fastcgi errors
[Mon Jan 21 10:38:45 2008] [error] [client 81.107.40.81] FastCGI: incomplete headers (0 bytes) rec
eived from server "/data/vhost/foi.mysociety.org/docs/dispatch.fcgi"
+"Government" in about page
+
Later
=====
@@ -68,8 +67,6 @@ Response overdue alerts are only sent first time a request goes into that state
Get deploying of Lucene search working
-Contact form doesn't get IP on live site
-
Consider on staging sites making follow ups go to dummy address also
Make the email address for responses
@@ -178,27 +175,19 @@ Compare against
http://en.wikipedia.org/wiki/Departments_of_the_United_Kingdom_Government
And against here:
-http://www.cabinetoffice.gov.uk/ministerial_responsibilities/departments/
+ http://www.cabinetoffice.gov.uk/ministerial_responsibilities/departments/
Get executive agencies from here.
Skipped: Office of the Leader of the House of Commons
Tricky:
- * Ministry of Defence
- maybe use public@ministers.mod.uk from http://www.number-10.gov.uk/output/Page934.asp and FOE
* Department for Transport
just use FAX9643@dft.gsi.gov.uk from http://www.dft.gov.uk/contact ?
Also DfT :( http://www.dft.gov.uk/foi/whatyouneedtoknow/foionlinefrm
-Ones that require form:
- Met :( http://www.met.police.uk/information/metric/index.htm
-Perhaps just do them manually?
-
-MoJ and NOMS should link to each other?
-
Schools list: www.edubase.gov.uk
-Heather has some for central departments
+Heather has emailed me NHS Trusts providing Mental Health Services
FOE site has email addresses of lots of bodies, e.g.
http://community.foe.co.uk/app/tc