[Mezuro] Adding repositories on show_project

<% @project = @page.project %>
<% unless @page.errors[:base].nil? %>
  <% if @page.errors[:base] =~ /There is no project named/ %>

Warning:

This project doesn't exist on the Web Service. Do you want to <%= link_to 'delete', :action => 'destroy', :controller => 'cms', :profile => @page.profile.identifier, :id => @page.id %> or <%= link_to 'save it again', :action => 'edit', :controller => 'cms', :profile => @page.profile.identifier, :id => @page.id %>?

  <% else %>
    <%= @page.errors[:base] %>
  <% end %>
<% else %>

      <%= _('Name') %>
      <%= @project.name %>

      <%= _('Description') %>
      <%= @project.description %>

  <%= _('Repositories') %>
  <% @page.repositories.each do |repository| %>
    <%  repository.name %>
  <% end %>

<% end %>

<% @project = @page.project %>
<% unless @page.errors[:base].nil? %>
  <% if @page.errors[:base] =~ /There is no project named/ %>

Warning:

This project doesn't exist on the Web Service. Do you want to <%= link_to 'delete', :action => 'destroy', :controller => 'cms', :profile => @page.profile.identifier, :id => @page.id %> or <%= link_to 'save it again', :action => 'edit', :controller => 'cms', :profile => @page.profile.identifier, :id => @page.id %>?

  <% else %>
    <%= @page.errors[:base] %>
  <% end %>
<% else %>

      <%= _('Name') %>
      <%= @project.name %>

      <%= _('Description') %>
      <%= @project.description %>

<% end %>


Escape HTML tags in the page title.  Closes #519

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@748 820eb932-12ee-0310-9ca8-eeb645f39767

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title><%=h page_title %></title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <%= meta_tag 'ICBM', config_value(:geourl_location)  %>
  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<%= server_url_for :controller => 'xml', :action => 'rsd' %>" />
  <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= @auto_discovery_url_rss %>" />
  <link rel="alternate" type="application/atom+xml" title="Atom" href="<%= @auto_discovery_url_atom %>" />
  <%= stylesheet_link_tag "/stylesheets/theme/azure", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/user-styles", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/theme/print", :media => 'print' %>
  <%= javascript_include_tag "cookies" %>
  <%= javascript_include_tag "prototype" %>
  <%= javascript_include_tag "effects" %>
  <%= javascript_include_tag "typo" %>
  <% benchmark "BENCHMARK: layout/script" do %>

  <% end %>

<% benchmark "BENCHMARK: layout/body" do %>

<%= link_to config_value('blog_name'), { :controller => '/' } %>

<%= config_value('blog_subtitle') %>

 <%= render :partial => "shared/search" %>

      <% benchmark "BENCHMARK: layout/content" do %>

          <%= @content_for_layout %>
          <%= javascript_tag "show_dates_as_local_time()" %>

        <% end %>

            <% benchmark "BENCHMARK: layout/sidebars" do %>
              <%= render_sidebars %>
            <% end %>

            <%= link_to image_tag("powered.gif"),  "http://typo.leetsoft.com/", {:class => "powered" } %>

Valid XHTML 1.0

<a href="http://jigsaw.w3.org/css-validator/validator?uri=<%= server_url_for :controller => 'articles' %>">Valid CSS

<% end %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title><%= page_title %></title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <%= meta_tag 'ICBM', config_value(:geourl_location)  %>
  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<%= server_url_for :controller => 'xml', :action => 'rsd' %>" />
  <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= @auto_discovery_url_rss %>" />
  <link rel="alternate" type="application/atom+xml" title="Atom" href="<%= @auto_discovery_url_atom %>" />
  <%= stylesheet_link_tag "/stylesheets/theme/azure", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/user-styles", :media => 'all' %>
  <%= stylesheet_link_tag "/stylesheets/theme/print", :media => 'print' %>
  <%= javascript_include_tag "cookies" %>
  <%= javascript_include_tag "prototype" %>
  <%= javascript_include_tag "effects" %>
  <%= javascript_include_tag "typo" %>
  <% benchmark "BENCHMARK: layout/script" do %>

  <% end %>

<% benchmark "BENCHMARK: layout/body" do %>

<%= link_to config_value('blog_name'), { :controller => '/' } %>

<%= config_value('blog_subtitle') %>

 <%= render :partial => "shared/search" %>

      <% benchmark "BENCHMARK: layout/content" do %>

          <%= @content_for_layout %>
          <%= javascript_tag "show_dates_as_local_time()" %>

        <% end %>

            <% benchmark "BENCHMARK: layout/sidebars" do %>
              <%= render_sidebars %>
            <% end %>

            <%= link_to image_tag("powered.gif"),  "http://typo.leetsoft.com/", {:class => "powered" } %>

Valid XHTML 1.0

<a href="http://jigsaw.w3.org/css-validator/validator?uri=<%= server_url_for :controller => 'articles' %>">Valid CSS

<% end %>


Fixed it to work with the new application helper program.

[<%= link_to_remote '-',
          :update => 'rooms',
          :url => {:controller => 'stats', :action => 'hide_room_summary'} %>]
<%= link_to Bat.active.length, :controller => 'bats', :action => 'list' %> bats in
<%= link_to Cage.has_bats.length, :controller => 'cages', :action => 'list' %> cages :

<% for room in @rooms %>

<%=h room.name %>

There are <%= room.cages.length %> cages in the colony room
containing <%= bats_in_cages(room.cages) %> bats.

<div id="<%=h room.name %>">
<% @div_id = room.name %>
<%= render :partial => 'cages/cage_list', :locals => {:cage_list => room.cages} %>

<% end %>

[<%= link_to_remote '-',
          :update => 'rooms',
          :url => {:controller => 'stats', :action => 'hide_room_summary'} %>]
<%= link_to Bat.active.length, :controller => 'bats', :action => 'list' %> bats in
<%= link_to Cage.has_bats.length, :controller => 'cages', :action => 'list' %> cages :

<% for room in @rooms %>

<%=h room.name %>

There are <%= room.cages.length %> cages in the colony room
containing <%= bats_in_cages(room.cages).length %> bats.

<div id="<%=h room.name %>">
<% @div_id = room.name %>
<%= render :partial => 'cages/cage_list', :locals => {:cage_list => room.cages} %>

<% end %>


link to atom was still pointing to rss

link to atom was still pointing to rss

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@19 820eb932-12ee-0310-9ca8-eeb645f39767

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="/stylesheets/base.css" type="text/css" />
	<link rel="alternate" type="application/rss+xml"  title="Recent changes (RSS 2.0)"  href="/xml/rss" />
	<link rel="alternate" type="application/atom+xml"  title="Recent changes (ATOM 0.3)"  href="/xml/atom" />
	<title><%= CONFIG['blogname'] %></title>

<%= CONFIG['blogname'] %>

  <%= @content_for_layout %>

	<form action="/articles/search" method="get">
Search
<input type="text" name="q" value="" size="15" />
</form>

     projects

     Hieraki
Snowdevil

     subpages

     Gallery

     blogs I read

      On The Rails
Loud Thinking
Miguel de Icaza

     tools I use

     Adium X

     NetNewsWire

     Ruby on Rails

     Ruby

     Textmate

     Quicksilver

     Desktop Manager

     syndicate

	   RSS
	   |
	   atom

     Valid XHTML 1.0

     Valid CSS

Copyright  Tobias Luetke

    RSS and atom available

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="/stylesheets/base.css" type="text/css" />
	<link rel="alternate" type="application/rss+xml"  title="Recent changes (RSS 2.0)"  href="/xml/rss" />
	<link rel="alternate" type="application/atom+xml"  title="Recent changes (ATOM 0.3)"  href="/xml/atom" />
	<title><%= CONFIG['blogname'] %></title>

<%= CONFIG['blogname'] %>

  <%= @content_for_layout %>

	<form action="/articles/search" method="get">
Search
<input type="text" name="q" value="" size="15" />
</form>

     projects

     Hieraki
Snowdevil

     subpages

     Gallery

     blogs I read

      On The Rails
Loud Thinking
Miguel de Icaza

     tools I use

     Adium X

     NetNewsWire

     Ruby on Rails

     Ruby

     Textmate

     Quicksilver

     Desktop Manager

     syndicate

	   RSS
	   |
	   Atom

     Valid XHTML 1.0

     Valid CSS

Copyright  Tobias Luetke

    RSS and atom available


typo, fixing up. it annoyed me

typo, fixing up. it annoyed me

<% @title = "About" %>

Contact us

If your question isn't answered here, or you just wanted to let us know
something about the site, contact us.

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

To help you find out inside information about what the UK government
is doing.

How does the site work? #

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this? #

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply? #

Under Freedom of Information (FOI) law, they have to respond.

Who makes it? #

WhatDoTheyKnow is created and run by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests #

You're missing the public authority that I want to request from! #

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response? #

By law public authorities must respond "promptly", and in any event not later
than 20 working days after receiving your request. The date of that hard limit
is shown on the page for your request. You will be emailed if this date goes by
without a response, so you can send the public authority another note to remind
them that they are breaking the law. Note: If you had to
clarify your request, the clock starts from that date, instead of the date they
received your initial request.

What if I'm not satisfied with the response? #

If you didn't get the information you asked for, or you didn't get it in time,
then read our page 'Unhappy about the response you got?'.

Can you tell me more of the nitty gritty about the process of making requests? #

Have a look at the
access to official information
pages on the Information Commisioner's website.

Can I request information about myself? #

Not using this site. Requests made using WhatDoTheyKnow are public, made under the
Freedom of Information Act, and cannot help you find information about a
private individual. If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

I'd like to keep my request secret! (At least until I publish my story) #

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Why can I only request information about the environment from some authorities? #

Some public authorities, such as South East Water,
don't come under the Freedom of Information Act, but do come under another law called
the Environmental Information Regulations (EIR). It's a very similar law, so you make a request
to them using WhatDoTheyKnow in just the same way as an FOI request. The only difference
is that on the page where you write you request, it reminds you that you can only
request "environmental information" and tells you what that means. It is quite broad.

So can I request information using EIR from other authorities? #

Yes, just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

Privacy questions #

Who gets to see my email address? #

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. If you send a message to another user on the site, then
it will reveal your email address to them. You will be told that this
is going to happen.

Will you send nasty, brutish spam to my email address? #

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
relating to a request you made, an email alert that you have signed up for,
or for other reasons that you specifically authorise. We will never give or
sell your email addresses to anyone else, unless we are obliged to by law, or
you ask us to.

Why will my name appear publically on the site? #

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym? #

It is good practice for the public authority to reply to an anonymous request,
except in special circumstances such as if they suspect you of making vexatious
requests. See Freedom of Information Good Practice Guidance No 6
for details.  You should refer to this if a public authority attempts to refuse
a request because you used a pseudonym.

However, there are good reasons to use your real name: see the previous
question.  If nothing else, it avoids the risk of an authority being picky,
ignoring the guidance and refusing your request.

They've asked for my postal address! #

If a public authority asks you for your full, physical address, reply to them saying
that section 8.1.b of the FOI Act asks for an "address for correspondence",
and that the email address you are using is sufficient.

The Ministry of Justice has guidance
on this –
"As well as hard copy written correspondence, requests that are
transmitted electronically (for example, in emails) are acceptable
... If a request is received by email and no postal address is given, the email
address should be treated as the return address."

As if that isn't enough, the Information Commissioner's
Hints for Practitioners say
"Any correspondence could include a request for information. If it is written (this includes e-mail), legible, gives the name of the applicant, an address for reply (which could be electronic), and includes a description of the information required, then it will fall within the scope of the legislation."

No no, they need a postal address to send a paper response! #

If an authority only has a paper copy of the information that you want,
they may ask you for a postal address. To start with, try persuading them
to scan in the documents for you. You can even offer to gift them a scanner, which in that particular case
embarrassed the authority into finding one they had already.

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, then please contact
us.

How do you moderate request annotations? #

Annotations on WhatDoTheyKnow are to help
people get the information they want, or to give them pointers to places they
can go to help them act on it. We reserve the right to remove anything else.

Endless, political discussions are not allowed.
Post a link to a suitable forum or campaign site elsewhere.

FOI officer questions #

I just got here from bottom of an FOI request, what is going on? #

WhatDoTheyKnow is a service run by a charity. It helps ordinary members
of the public make FOI requests, and easily track and share the responses.

The FOI request you received was made by someone using WhatDoTheyKnow. You can
simply reply to the request as you would any other request from an individual.
The only difference is that your response will be automatically published on
the Internet.

If you have privacy or other concerns, please read the answers below.
You might also like to read this page from the top to find out more about what
the site does from the point of view of a user. You can also search the
site to find the authority that you work for, and view the status of
any requests made using the site.

Finally, we welcome comments and
thoughts from FOI officers, please get in touch.

Why are you publishing responses to FOI requests? #

We think there are lots of benefits. Most importantly it will encourage the
public to be more interested and involved in the work of government. We
also hope that it will reduce the number of duplicate requests on any
subject that a public body will receive. Given that Freedom of Information
responses contain public information, which anybody could easily request
again from the public authority, we think there should be no reason not to
publish it widely.

Are the people making requests real people? #

Yes. For the purposes of keeping track of responses we use
computer-generated email addresses for each request. However, before
they can send a request, each user must register on the site with a
unique email address that we then verify. You can search this site and
find a page listing all requests that each person has made.

An email isn't a sufficient address for an FOI request! #

Yes it is. This
letter from the ICO to Rother District Council gives guidance on the matter, specifically
in the context of requests made via WhatDoTheyKnow.

Aren't you making lots of vexatious requests? #

WhatDoTheyKnow is not making any requests. We are sending requests on
behalf of our users, who are real people making the requests.

Look at it like this - if lots of different people made requests from
different Hotmail email addresses, then you would not think that Microsoft were
making vexatious requests. It is exactly the same if lots of requests are made
via WhatDoTheyKnow. Moreover, since all requests are public it is much easier
for you to see if one of our users is making vexatious requests, and for us to
block them when that happens.

If that isn't enough for you, the
letter from the ICO to Rother District Council gives some guidance on the matter.

Isn't it a problem that you publish the names of civil servants and the texr of emails? >#

Officers or servants responding to requests are doing so on behalf of the
public as part of their job, and we publish their response on that
basis. Usually the names and phone numbers of FOI officers are already
available on authority websites. We also encourage our users to give their real
name too, so it is fair both ways.

Do you publish email addresses or mobile phone numbers? #

We automatically remove email addresses and labelled mobile phone numbers
that are in the email part of responses from public authorities. Please
contact us if we've missed one. We don't currently
remove these from attachments,
such as Word documents.

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information.

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    Lots of people have been looking up FOI email addresses, and a few
    volunteering to run the site - most especially Adam McGreggor, Alex
    Skene, John Cross and Tony Bowden.

Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.

You're all stars.

<% @title = "About" %>

Contact us

If your question isn't answered here, or you just wanted to let us know
something about the site, contact us.

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

To help you find out inside information about what the UK government
is doing.

How does the site work? #

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this? #

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply? #

Under Freedom of Information (FOI) law, they have to respond.

Who makes it? #

WhatDoTheyKnow is created and run by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests #

You're missing the public authority that I want to request from! #

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response? #

By law public authorities must respond "promptly", and in any event not later
than 20 working days after receiving your request. The date of that hard limit
is shown on the page for your request. You will be emailed if this date goes by
without a response, so you can send the public authority another note to remind
them that they are breaking the law. Note: If you had to
clarify your request, the clock starts from that date, instead of the date they
received your initial request.

What if I'm not satisfied with the response? #

If you didn't get the information you asked for, or you didn't get it in time,
then read our page 'Unhappy about the response you got?'.

Can you tell me more of the nitty gritty about the process of making requests? #

Have a look at the
access to official information
pages on the Information Commisioner's website.

Can I request information about myself? #

Not using this site. Requests made using WhatDoTheyKnow are public, made under the
Freedom of Information Act, and cannot help you find information about a
private individual. If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

I'd like to keep my request secret! (At least until I publish my story) #

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Why can I only request information about the environment from some authorities? #

Some public authorities, such as South East Water,
don't come under the Freedom of Information Act, but do come under another law called
the Environmental Information Regulations (EIR). It's a very similar law, so you make a request
to them using WhatDoTheyKnow in just the same way as an FOI request. The only difference
is that on the page where you write you request, it reminds you that you can only
request "environmental information" and tells you what that means. It is quite broad.

So can I request information using EIR from other authorities? #

Yes, just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

Privacy questions #

Who gets to see my email address? #

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. If you send a message to another user on the site, then
it will reveal your email address to them. You will be told that this
is going to happen.

Will you send nasty, brutish spam to my email address? #

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
relating to a request you made, an email alert that you have signed up for,
or for other reasons that you specifically authorise. We will never give or
sell your email addresses to anyone else, unless we are obliged to by law, or
you ask us to.

Why will my name appear publically on the site? #

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym? #

It is good practice for the public authority to reply to an anonymous request,
except in special circumstances such as if they suspect you of making vexatious
requests. See Freedom of Information Good Practice Guidance No 6
for details.  You should refer to this if a public authority attempts to refuse
a request because you used a pseudonym.

However, there are good reasons to use your real name: see the previous
question.  If nothing else, it avoids the risk of an authority being picky,
ignoring the guidance and refusing your request.

They've asked for my postal address! #

If a public authority asks you for your full, physical address, reply to them saying
that section 8.1.b of the FOI Act asks for an "address for correspondence",
and that the email address you are using is sufficient.

The Ministry of Justice has guidance
on this –
"As well as hard copy written correspondence, requests that are
transmitted electronically (for example, in emails) are acceptable
... If a request is received by email and no postal address is given, the email
address should be treated as the return address."

As if that isn't enough, the Information Commissioner's
Hints for Practitioners say
"Any correspondence could include a request for information. If it is written (this includes e-mail), legible, gives the name of the applicant, an address for reply (which could be electronic), and includes a description of the information required, then it will fall within the scope of the legislation."

No no, they need a postal address to send a paper response! #

If an authority only has a paper copy of the information that you want,
they may ask you for a postal address. To start with, try persuading them
to scan in the documents for you. You can even offer to gift them a scanner, which in that particular case
embarrassed the authority into finding one they had already.

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, then please contact
us.

How do you moderate request annotations? #

Annotations on WhatDoTheyKnow are to help
people get the information they want, or to give them pointers to places they
can go to help them act on it. We reserve the right to remove anything else.

Endless, political discussions are not allowed.
Post a link to a suitable forum or campaign site elsewhere.

FOI officer questions #

I just got here from bottom of an FOI request, what is going on? #

WhatDoTheyKnow is a service run by a charity. It helps ordinary members
of the public make FOI requests, and easily track and share the responses.

The FOI request you received was made by someone using WhatDoTheyKnow. You can
simply reply to the request as you would any other request from an individual.
The only difference is that your response will be automatically published on
the Internet.

If you have privacy or other concerns, please read the answers below.
You might also like to read this page from the top to find out more about what
the site does from the point of view of a user. You can also search the
site to find the authority that you work for, and view the status of
any requests made using the site.

Finally, we welcome comments and
thoughts from FOI officers, please get in touch.

Why are you publishing responses to FOI requests? #

We think there are lots of benefits. Most importantly it will encourage the
public to be more interested and involved in the work of government. We
also hope that it will reduce the number of duplicate requests on any
subject that a public body will receive. Given that Freedom of Information
responses contain public information, which anybody could easily request
again from the public authority, we think there should be no reason not to
publish it widely.

Are the people making requests real people? #

Yes. For the purposes of keeping track of responses we use
computer-generated email addresses for each request. However, before
they can send a request, each user must register on the site with a
unique email address that we then verify. You can search this site and
find a page listing all requests that each person has made.

An email isn't a sufficient address for an FOI request! #

Yes it is. This
letter from the ICO to Rother District Council gives guidance on the matter, specifically
in the context of requests made via WhatDoTheyKnow.

Aren't you making lots of vexatious requests? #

WhatDoTheyKnow is not making any requests. We are sending requests on
behalf of our users, who are real people making the requests.

Look at it like this - if lots of different people made requests from
different Hotmail email addresses, then you would not think that Microsoft were
making vexatious requests. It is exactly the same if lots of requests are made
via WhatDoTheyKnow. Moreover, since all requests are public it is much easier
for you to see if one of our users is making vexatious requests, and for us to
block them when that happens.

If that isn't enough for you, the
letter from the ICO to Rother District Council gives some guidance on the matter.

Isn't it a problem that you publish the names of civil ser #

Officers or servants responding to requests are doing so on behalf of the
public as part of their job, and we publish their response on that
basis. Usually the names and phone numbers of FOI officers are already
available on authority websites. We also encourage our users to give their real
name too, so it is fair both ways.

Do you publish email addresses or mobile phone numbers? #

We automatically remove email addresses and labelled mobile phone numbers
that are in the email part of responses from public authorities. Please
contact us if we've missed one. We don't currently
remove these from attachments,
such as Word documents.

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information.

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

    Heather Brooke
    (vampy!) has
    been pushing the idea of a UK FOI archive for years now.

    Both Phil Rodgers and Francis Irving
    entered it in a mySociety competition for ideas for public interest websites to build.

    It won,
    and then Chris Lightfoot (RIP :()
    thought up the wheeze of intercepting email responses to requests and
    automatically publishing them.

    Tom Steinberg got the cash to pay for the site from
    a dead chocolate mogul (thank you!) ...

    ... so that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
    and Tom Steinberg could do the complex mixture of design and coding to build
    what you see today.

    Thanks particularly to Julian Todd (great blog!),
    Francis Davey, and Etienne Pollard for using the site early on and giving
    feedback (and/or legal advice!), and also to all our other users and
    testers.

    Lots of people have been looking up FOI email addresses, and a few
    volunteering to run the site - most especially Adam McGreggor, Alex
    Skene, John Cross and Tony Bowden.

Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.

You're all stars.


Escape ampersands in URLs in HTMl

Escape ampersands in URLs in HTMl

<% @title = "About" %>

<%= render :partial => 'help/alpha_notice' %>

Contact Us

If your question isn't answered here, or you just wanted to let us know
something about the site, contact us.

Introduction to WhatDoTheyKnow

What is WhatDoTheyKnow for?

To help you find out inside information about what the UK government
is doing.

How does the site work?

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this?

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply?

Under Freedom of Information (FOI) law, they have to respond.

Who makes it?

WhatDoTheyKnow is made by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests

You're missing the public authority that I want to request from!

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response?

By law public authorities must respond within 20 days, excluding weekends and
any UK bank holidays. The date that the response is due by is shown on the
page for your request. You will be emailed if this date goes by without
a response, so you can send the public authority another note to hurry them up.

Can you tell me more of the nitty gritty about the process of making requests?

Have a look at the
access to official information
pages on the Information Commisioner's website.

Can I request information about myself?

Not using this site. Requests made using WhatDoTheyKnow are public, made under the
Freedom of Information Act, and cannot help you find information about a
private individual. If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

I'd like to keep my request secret! (At least until I publish my story)

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Privacy policy

Who gets to see my email address?

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. If you send a message to another user on the site, then
it will reveal your email address to them. You will be told that this
is going to happen.

Will you send nasty, brutish spam to my email address?

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
about the site or related mySociety services. We will never give or sell
your email addresses to anyone else, unless we are obliged to by law, or you
ask us to.

Why will my name appear publically on the site?

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym?

Yes, you can. It is good practice for the public authority to reply to such
a request, except in special circumstances such as if they suspect you of
making vexatious requests. See Freedom of Information Good Practice Guidance No 6 for details. You
should refer to this if a public authority attempts to refuse a request because you used a pseudonym.
Saying that, you can avoid the problem by simply making your pseudonym look like a real person's name,
as there is no general obligation to prove your identity.

Why does the list of things that I'm tracking appear publically on the site?

This helps you find others who are researching the same area of government,
so you can form groups to investigate or campaign together. It also helps us
show requests which are related to other requests. If you've ever used a
"social bookmarking" website such as Delicious, Digg or reddit, think of it like
that.

Credit where credit is due

Which people made WhatDoTheyKnow?

Oh, nearly everyone (and maybe you too)! Heather Brook
(vampy!) has
been pushing the idea of a UK FOI archive for years now. Both Phil Rodgers and
Francis Irving
entered it in a mySociety competition for ideas for public interest websites to build.
It won,
and then Chris Lightfoot (RIP :()
thought up the wheeze of intercepting email responses to requests and
automatically publishing them.  Tom Steinberg managed to get the cash to pay for the site out of
a dead chocolate mogul, so
that Francis Irving, Angie Ahl, Tommy Martin, Louise Crow, Matthew Somerville
and Tom Steinberg could do the complex mixture of design and coding to build
what you see today. Thanks particularly to Julian Todd (great blog!), Francis Davey, and
Etienne Pollard for using the site early on and giving feedback (and/or legal
advice!), and also to all our other users and testers.  Lots of
people have been looking up FOI email addresses, and a few volunteering to
administrate the site - most especially Adam McGreggor, Alex Skene and John
Cross. Finally we couldn't do any of this without those
crazy people who volunteer,
amongst many other things, to do the accounts and fill in our VAT return.
You're all stars.


don't show request button to an item's owner

<%=h @item.title %>

type of item:
    <%=h @item.type %>

owner:
    <%= user_link @item.owner %>

tags:
    <%= @item.taggings.map do |t|
      link_to(h(t), tag_path(h(t.to_s)))
    end.join ', ' %>

  <% default_content_for :additional_fields do %><% end %>

<% if @item.owned_by? session[:user] %>

<%= link_to 'edit', edit_polymorphic_path(@item) %>

<%= button_to 'delete', {}, { :method => :delete, :confirm => "Are you sure you want to delete this item?" } %>

  <% if @item.current_loan %>

Currently loaned to <%= user_link @item.current_loan.borrower %>.
      <%= button_to 'returned', loan_path(@item.current_loan), :method => :put %>

  <% end %>

  <% unless @item.requests.empty? %>

Requested by:

      <% @item.requests.each do |req| %>

          <%= h req.borrower.login %>
          <%= render :partial => 'loans/approval', :locals => { :req => req } %>

      <% end %>

  <% end %>
<% elsif current_user %>
  <% if Loan.already_requested(current_user, @item) %>
    You have already requested to borrow this item.
  <% else %>
    <%= button_to 'request loan', loans_path(:item_id => @item) %>
  <% end %>
<% end %>

Description

	<% default_content_for :additional_description do %><% end %>
	<%= paragraphize @item.description %>

<%=h @item.title %>

type of item:
    <%=h @item.type %>

owner:
    <%= user_link @item.owner %>

tags:
    <%= @item.taggings.map do |t|
      link_to(h(t), tag_path(h(t.to_s)))
    end.join ', ' %>

  <% default_content_for :additional_fields do %><% end %>

<% if current_user %>
  <% if Loan.already_requested(current_user, @item) %>
    You have already requested to borrow this item.
  <% else %>
    <%= button_to 'request loan', loans_path(:item_id => @item) %>
  <% end %>
<% end %>

<% if @item.owned_by? session[:user] %>

<%= link_to 'edit', edit_polymorphic_path(@item) %>

<%= button_to 'delete', {}, { :method => :delete, :confirm => "Are you sure you want to delete this item?" } %>

  <% if @item.current_loan %>

Currently loaned to <%= user_link @item.current_loan.borrower %>.
      <%= button_to 'returned', loan_path(@item.current_loan), :method => :put %>

  <% end %>

  <% unless @item.requests.empty? %>

Requested by:

      <% @item.requests.each do |req| %>

          <%= h req.borrower.login %>
          <%= render :partial => 'loans/approval', :locals => { :req => req } %>

      <% end %>

  <% end %>
<% end %>

Description

	<% default_content_for :additional_description do %><% end %>
	<%= paragraphize @item.description %>


Explicit check to determine whether the rubric is "Review Rubric" or "Author Feedback" done

git-svn-id: f67d969b640da65cb7bc1d229e09fd6d2db44ae1@395 392d7b7b-3f31-0410-9dc3-c95a9635ea79

<% i = 0;
        for @question in @questions %>
          <%=@question.txt%>

          <% @rev = @reviewfeedback.id %>
          <% @rs = ReviewScore.find(:first,:conditions => ["review_id = ? AND question_id = ? AND questionnaire_type_id = ?", @rev, @question.id, QuestionnaireType.find_by_name("Author Feedback").id])%>
          <input id=new_review_score_<%=i%>_comments name=new_review_score[<%=i%>][comments] value = "<%=@rs.comments.gsub(/\"/,'"')%>"  size=70 type=text />
          <% if @question.true_false? %>
              <select id=new_score_<%=i%> name=new_score[<%=i%>]>
                 <option value="<%=@min%>" <%if @min==@rs.score%>selected="selected"<%end%> >false</option>
                 <option value="<%=@max%>" <%if @max==@rs.score%>selected="selected"<%end%> >true</option>
              </select>

          <% else %>
              <select id=new_score_<%=i%> name=new_score[<%=i%>]>
                  <% for j in @min..@max %>
                    <option value="<%=j%>" <%if j==@rs.score%>selected="selected"<%end%> ><%=j%></option>
                  <% end %>
              </select>

          <% end %>
          <input id=new_question_<%=i%> name=new_question[<%=i%>] value=<%=@question.id%> type=hidden />
    <% i += 1;
    end %>

Additional Comment:

<textarea cols="70" rows="5" id=new_review_comments name=new_reviewfeedback[comments]><%=@reviewfeedback.additional_comment%></textarea>

<% i = 0;
        for @question in @questions %>
          <%=@question.txt%>

          <% @rev = @reviewfeedback.id %>
          <% @rs = ReviewScore.find(:first,:conditions => ["review_id = ? AND question_id = ? AND questionnaire_type_id =4", @rev, @question.id])%>
          <input id=new_review_score_<%=i%>_comments name=new_review_score[<%=i%>][comments] value = "<%=@rs.comments.gsub(/\"/,'"')%>"  size=70 type=text />
          <% if @question.true_false? %>
              <select id=new_score_<%=i%> name=new_score[<%=i%>]>
                 <option value="<%=@min%>" <%if @min==@rs.score%>selected="selected"<%end%> >false</option>
                 <option value="<%=@max%>" <%if @max==@rs.score%>selected="selected"<%end%> >true</option>
              </select>

          <% else %>
              <select id=new_score_<%=i%> name=new_score[<%=i%>]>
                  <% for j in @min..@max %>
                    <option value="<%=j%>" <%if j==@rs.score%>selected="selected"<%end%> ><%=j%></option>
                  <% end %>
              </select>

          <% end %>
          <input id=new_question_<%=i%> name=new_question[<%=i%>] value=<%=@question.id%> type=hidden />
    <% i += 1;
    end %>

Additional Comment:

<textarea cols="70" rows="5" id=new_review_comments name=new_reviewfeedback[comments]><%=@reviewfeedback.additional_comment%></textarea>


Fix the debug page.  I have no idea why this line breaks the debug page (and only on the first time it's loaded); but the line isn't very important and I've got more important things to worry about :).  Fixes #332.

<% @title = "Debug" %>

<%=@title%>

You are <%= h @http_auth_user %>

Version numbers

RUBY_VERSION <%=h RUBY_VERSION %>

Rails::VERSION::STRING <%=h Rails::VERSION::STRING%>

TMail::VERSION::STRING <%=h TMail::VERSION::STRING%>

Xapian::version_string <%=h Xapian::version_string%>

Spec::VERSION::STRING <%=h Spec::VERSION::STRING%>

Configuration

environment: <%=h Rails::configuration.environment %>

environment_path: <%=h Rails::configuration.environment_path %>

framework_paths: <%=h Rails::configuration.framework_paths.to_yaml %>

Environment variables

<% for k,v in @request_env %>

<%=h k%>	<%=h v%>

<% end %>

Parameters

<% for k,v in params %>

<%=h k%>	<%=h v%>

<% end %>

Session

<% for k,v in session %>

<%=h k%>	<%=h v%>

<% end %>

<% @title = "Debug" %>

<%=@title%>

You are <%= h @http_auth_user %>

Version numbers

RUBY_VERSION <%=h RUBY_VERSION %>

Rails::VERSION::STRING <%=h Rails::VERSION::STRING%>

TMail::VERSION::STRING <%=h TMail::VERSION::STRING%>

Xapian::version_string <%=h Xapian::version_string%>

Spec::VERSION::STRING <%=h Spec::VERSION::STRING%>

Spec::Rails::VERSION::STRING <%=h Spec::Rails::VERSION::STRING%>

Configuration

environment: <%=h Rails::configuration.environment %>

environment_path: <%=h Rails::configuration.environment_path %>

framework_paths: <%=h Rails::configuration.framework_paths.to_yaml %>

Environment variables

<% for k,v in @request_env %>

<%=h k%>	<%=h v%>

<% end %>

Parameters

<% for k,v in params %>

<%=h k%>	<%=h v%>

<% end %>

Session

<% for k,v in session %>

<%=h k%>	<%=h v%>

<% end %>


added 'custom' fields in drive popup.

added 'custom' fields in drive popup.

git-svn-id: e099d366fb13ea49c9e8e170ced890dab3ea84f7@1052 aaa19a3b-e121-0410-9d45-962fd44e537e

  <%= form_remote_tag(:url => node_path(@node[:zip]), :html => { :method => :put, :rnd => rnd } ) %>

<input type='hidden' name='drive' value='dates'/>

<%= _('event date') %><%= date_box('node', 'event_at', :size=>15) %>

<%= _('log date') %><%= date_box('node', 'log_at', :size=>15) %>

<%= _('custom a') %><%= text_field('node', 'custom_a', :size=>15) %>

<%= _('custom b') %><%= text_field('node', 'custom_b', :size=>15) %>

<%= submit_tag _('change') %>

  </form>

  <%= form_remote_tag(:url => node_path(@node[:zip]), :html => { :method => :put, :rnd => rnd } ) %>

<input type='hidden' name='drive' value='dates'/>

<%= _('event date') %><%= date_box('node', 'event_at', :size=>15) %>

<%= _('log date') %><%= date_box('node', 'log_at', :size=>15) %>

<%= submit_tag _('change') %>

  </form>


ActionItem258: adding call to gettext

ActionItem258: adding call to gettext

git-svn-id: 43659daf80e124e0b603d67096418e58e4f21099@1641 3f533792-8f58-4932-b0fe-aaf55b0a4547

<%= _('Search %s') % @environment.name %>

<% form_tag({:action => 'index', :category_path => (@category ? @category.explode_path : [])}, :method => 'get') do%>

    <%= text_field_tag('query', '', :size => 50) %>
    <%= submit_button(:search, _('Search')) %>

  <% if @category %>

<%= _('Search in:') %>

      <%= radio_button_tag :search_whole_site, 'no', true %>
      <%= _('Only in %{category}') % { :category => @category.full_name } %>

      <%= radio_button_tag :search_whole_site, 'yes' %>
      <%= _('Whole site') %>

  <% end %>

<%= _('Search for:') %>

    <% @search_in.each do |thing, name| %>

      <%= check_box_tag 'find_in[]', thing.to_s, true %>
      <%= gettext(name) %>

    <% end %>

  <% button_bar do %>
    <%= submit_button(:search, _('Search')) %>
    <%= lightbox_close_button(_('Close')) %>
  <% end %>

<% end %>

<%= _('Search %s') % @environment.name %>

<% form_tag({:action => 'index', :category_path => (@category ? @category.explode_path : [])}, :method => 'get') do%>

    <%= text_field_tag('query', '', :size => 50) %>
    <%= submit_button(:search, _('Search')) %>

  <% if @category %>

<%= _('Search in:') %>

      <%= radio_button_tag :search_whole_site, 'no', true %>
      <%= _('Only in %{category}') % { :category => @category.full_name } %>

      <%= radio_button_tag :search_whole_site, 'yes' %>
      <%= _('Whole site') %>

  <% end %>

<%= _('Search for:') %>

    <% @search_in.each do |thing, name| %>

      <%= check_box_tag 'find_in[]', thing.to_s, true %>
      <%= name %>

    <% end %>

  <% button_bar do %>
    <%= submit_button(:search, _('Search')) %>
    <%= lightbox_close_button(_('Close')) %>
  <% end %>

<% end %>


Add Andrew Snow and Octopus Computing to the credits

<% @title = "Credit where credit is due" %>

<%= render :partial => 'sidebar' %>

<%= @title%> #

Which people made <%= site_name %>? #

    Matthew Landauer, Henare Degan, Katherine Szuminska and Alexander Sadleir set up the software that runs Right To Know, collected and collated the information, adapted the help text and generally pushed, prodded and poked until things worked.

    Guy King's donation to the OpenAustralia Foundation, made building and running this site possible.

    Our early testers, for checking over all the legal help text and making sure that things worked as expected.

    Peter Timmins, Australia's foremost authority on Freedom of Information law, has kept us informed through the years with his indespensable blog Open and Shut.

    Everyone who has helped look up Freedom of Information email addresses.

    All the amazing staff and volunteers at mySociety, past and present, who created WhatDoTheyKnow.com in the UK, which ultimately was spun out into the international software project Alaveteli, on which <%= site_name %> runs.

    Andrew Snow from Octopus Computing for providing our hosting. Andrew has been our rock. His support has always been quick and spot on.

    Finally, all the officers who will and have answered the requests
    made through the site. Their diligence, patience and professionalism is
    what has actually made the information that you see here. Thank them for
    helping make Government more transparent.

They're all stars.

You could be too…

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a charity with Deductible Gift Recipient (DGR) status. That means your donation is tax-deductible.

Help people find successful requests, and monitor performance of authorities, by
    playing the categorisation game.

Find out the Freedom of Information email addresses of authorities that we're missing.

Write a blog post about either <%= site_name %> or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the source code for our parent project, Alaveteli
    and tell us about patches we can pull. It's made in Ruby on Rails.

Read more about volunteering.

Attribution #

    Some descriptions of public authorities were sourced and adapted from australia.gov.au in which the text content is licensed under Creative Commons Attribution 3.0 Australia.

<% @title = "Credit where credit is due" %>

<%= render :partial => 'sidebar' %>

<%= @title%> #

Which people made <%= site_name %>? #

    Matthew Landauer, Henare Degan, Katherine Szuminska and Alexander Sadleir set up the software that runs Right To Know, collected and collated the information, adapted the help text and generally pushed, prodded and poked until things worked.

    Guy King's donation to the OpenAustralia Foundation, made building and running this site possible.

    Our early testers, for checking over all the legal help text and making sure that things worked as expected.

    Peter Timmins, Australia's foremost authority on Freedom of Information law, has kept us informed through the years with his indespensable blog Open and Shut.

    Everyone who has helped look up Freedom of Information email addresses.

    All the amazing staff and volunteers at mySociety, past and present, who created WhatDoTheyKnow.com in the UK, which ultimately was spun out into the international software project Alaveteli, on which <%= site_name %> runs.

    Finally, all the officers who will and have answered the requests
    made through the site. Their diligence, patience and professionalism is
    what has actually made the information that you see here. Thank them for
    helping make Government more transparent.

They're all stars.

You could be too…

Can I help out? #

Yes please! We're built out of our supporters and volunteers.

You can make a donation. We're a charity with Deductible Gift Recipient (DGR) status. That means your donation is tax-deductible.

Help people find successful requests, and monitor performance of authorities, by
    playing the categorisation game.

Find out the Freedom of Information email addresses of authorities that we're missing.

Write a blog post about either <%= site_name %> or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the source code for our parent project, Alaveteli
    and tell us about patches we can pull. It's made in Ruby on Rails.

Read more about volunteering.

Attribution #

    Some descriptions of public authorities were sourced and adapted from australia.gov.au in which the text content is licensed under Creative Commons Attribution 3.0 Australia.


more correct logic for new method of deciding when to print 'title-level link only' warning

<%
   fulltxt = get_service_type('fulltext')
   title_level_fulltxt = get_service_type('fulltext_title_level')
   all_fulltext = fulltxt + title_level_fulltxt
%>

<div id="fulltext" class="main_column_section <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

<%= ServiceTypeValue[:fulltext].display_name %> via:

<%
    list_with_limit('umlaut_fulltext', all_fulltext) do |item, index |
      # Display special warnign header if it's title-level only,
      # and it's an article or issue level link. Are we
      # at the beginning of title level display?
      if ( index == title_level_fulltxt.length &&
           index != 0 &&
           !title_level_request? )
         genre = @user_request.referent.metadata['genre']
         genre = "Journal" if genre && genre.downcase == 'article' %>

<%= genre ? genre.titlecase : "Title" %>-level Page Only

Can not link directly to citation. Dates or extent of coverage may be unknown.

      <% end %>

      <%= render(:partial => "fulltext_element", :object=> item) %>
<% end %>

<%
if (fulltxt.empty? && title_level_fulltxt.empty? &&
    ! service_type_in_progress?('fulltext') &&
    ! service_type_in_progress?('fulltext_title_level'))
%>

Not Available

<%
end
if (service_type_in_progress?('fulltext') ||
    service_type_in_progress?('fulltext_title_level'))
%>

<%= render(:partial => "background_progress",
                 :locals => { :svc_types => [ServiceTypeValue[:fulltext],
                              ServiceTypeValue[:fulltext_title_level]],
                              :current_set_empty => fulltxt.empty? && title_level_fulltxt.empty?
                             } ) %>

<% end %>

<%
   fulltxt = get_service_type('fulltext')
   title_level_fulltxt = get_service_type('fulltext_title_level')
   all_fulltext = fulltxt + title_level_fulltxt
%>

<div id="fulltext" class="main_column_section <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

<%= ServiceTypeValue[:fulltext].display_name %> via:

<%
    list_with_limit('umlaut_fulltext', all_fulltext) do |item, index |
      # Display special warnign header if it's title-level only,
      # and it's an article or issue level link. Are we
      # at the beginning of title level display?
      if ( index == title_level_fulltxt.length)
         genre = @user_request.referent.metadata['genre']
         genre = "Journal" if genre && genre.downcase == 'article' %>

<%= genre ? genre.titlecase : "Title" %>-level Page Only

Can not link directly to citation. Dates or extent of coverage may be unknown.

      <% end %>

      <%= render(:partial => "fulltext_element", :object=> item) %>
<% end %>

<%
if (fulltxt.empty? && title_level_fulltxt.empty? &&
    ! service_type_in_progress?('fulltext') &&
    ! service_type_in_progress?('fulltext_title_level'))
%>

Not Available

<%
end
if (service_type_in_progress?('fulltext') ||
    service_type_in_progress?('fulltext_title_level'))
%>

<%= render(:partial => "background_progress",
                 :locals => { :svc_types => [ServiceTypeValue[:fulltext],
                              ServiceTypeValue[:fulltext_title_level]],
                              :current_set_empty => fulltxt.empty? && title_level_fulltxt.empty?
                             } ) %>

<% end %>


Link through to the original request on the admin home page list of things requiring attention

<% @title = "Summary" %>

Things to do

  <% if @holding_pen_messages.size > 0 %>

        <%=@holding_pen_messages.size%> Put misdelivered responses with the right request

            <% for message in @holding_pen_messages %>

                  <% if message.get_body_for_quoting.strip.size == 0 %>
                      <%= link_to "(no body)", "request/show_raw_email/" + message.raw_email_id.to_s %>
                  <% else %>
                      <%= link_to excerpt(message.get_body_for_quoting, "", 60), "request/show_raw_email/" + message.raw_email_id.to_s %>
                  <% end %>

                  <%=simple_date(message.sent_at)%>

            <% end %>

  <% end %>

  <% if @error_message_requests.size > 0 %>

        <%=@error_message_requests.size%> Fix these delivery and other errors

            <% for @request in @error_message_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= @request.title %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @attention_requests.size > 0 %>

        <%=@attention_requests.size%> Review requests marked by users as requiring your attention

            <% for @request in @attention_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= link_to(@request.title, request_url(@request)) %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @requires_admin_requests.size > 0 %>

        <%=@requires_admin_requests.size%> These require administrator attention

            <% for @request in @requires_admin_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= @request.title %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @blank_contacts.size > 0 %>

        <%=@blank_contacts.size%> Find missing FOI email for these public authorities (try phoning!)

            <% for @blank_contact in @blank_contacts %>

                  <%= link_to(''.html_safe, public_body_admin_url(@blank_contact))%>
                  <%= public_body_link(@blank_contact)%>

                  <%=simple_date(@blank_contact.updated_at)%>

            <% end %>

  <% end %>

  <% if @old_unclassified.size > 0 %>

        <%=@old_unclassified.size%> Classify responses that are still unclassified <%=InfoRequest::OLD_AGE_IN_DAYS.inspect %> after response

            <% for @request in @old_unclassified %>

                    <%= link_to("".html_safe, request_admin_url(@request)) %>
                    <%= request_link(@request) %>

                    <%=simple_date(@request.get_last_response_event.created_at)%>

            <% end %>

  <% end %>

<% if @holding_pen_messages.size == 0 && @old_unclassified.size == 0 && @requires_admin_requests.size == 0 && @blank_contacts.size == 0 %>

      No pending administration required.

<% end %>

<% @title = "Summary" %>

Things to do

  <% if @holding_pen_messages.size > 0 %>

        <%=@holding_pen_messages.size%> Put misdelivered responses with the right request

            <% for message in @holding_pen_messages %>

                  <% if message.get_body_for_quoting.strip.size == 0 %>
                      <%= link_to "(no body)", "request/show_raw_email/" + message.raw_email_id.to_s %>
                  <% else %>
                      <%= link_to excerpt(message.get_body_for_quoting, "", 60), "request/show_raw_email/" + message.raw_email_id.to_s %>
                  <% end %>

                  <%=simple_date(message.sent_at)%>

            <% end %>

  <% end %>

  <% if @error_message_requests.size > 0 %>

        <%=@error_message_requests.size%> Fix these delivery and other errors

            <% for @request in @error_message_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= @request.title %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @attention_requests.size > 0 %>

        <%=@attention_requests.size%> Review requests marked by users as requiring your attention

            <% for @request in @attention_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= @request.title %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @requires_admin_requests.size > 0 %>

        <%=@requires_admin_requests.size%> These require administrator attention

            <% for @request in @requires_admin_requests %>

                  <%= link_to(''.html_safe, request_admin_url(@request))%>
                  <%= @request.title %>

                  <%=simple_date(@request.get_last_event.created_at)%>

            <% end %>

  <% end %>

  <% if @blank_contacts.size > 0 %>

        <%=@blank_contacts.size%> Find missing FOI email for these public authorities (try phoning!)

            <% for @blank_contact in @blank_contacts %>

                  <%= link_to(''.html_safe, public_body_admin_url(@blank_contact))%>
                  <%= public_body_link(@blank_contact)%>

                  <%=simple_date(@blank_contact.updated_at)%>

            <% end %>

  <% end %>

  <% if @old_unclassified.size > 0 %>

        <%=@old_unclassified.size%> Classify responses that are still unclassified <%=InfoRequest::OLD_AGE_IN_DAYS.inspect %> after response

            <% for @request in @old_unclassified %>

                    <%= link_to("".html_safe, request_admin_url(@request)) %>
                    <%= request_link(@request) %>

                    <%=simple_date(@request.get_last_response_event.created_at)%>

            <% end %>

  <% end %>

<% if @holding_pen_messages.size == 0 && @old_unclassified.size == 0 && @requires_admin_requests.size == 0 && @blank_contacts.size == 0 %>

      No pending administration required.

<% end %>


minor fix: post_body is refreshed on twinkle again

<%
  edit_loading_id = "spinner-#{post.id}"
  stars = post.ratings.size
  @page ||= post.discussion.page # in case @page is not already set
-%>
<% (1..stars).each do -%>
  <div style='background: url(/images/emblems/light-star-<%= rand(3) %>.png) no-repeat <%= rand(100) %>% <%= rand(100) %>%'>
<% end -%>

<%= post.body_html %>

<% if logged_in? and post.user_id == current_user.id -%>

    <span style="display: none" id="<%=edit_loading_id%>"><%=image_tag "spinner.gif"%>
    <%= link_to_remote image_tag('actions/pencil.png'),
        :url => {:controller => 'posts', :action => 'edit', :id => post.id},
        :loading => "Element.show('#{edit_loading_id}')" %>

<% end -%>
<% if logged_in? and post.user_id != current_user.id and current_user.may?(:comment,@page)-%>

  <% if not post.rated_by_user?(current_user) -%>
      <%= link_to_remote image_tag('actions/star-plus.png'),
        {:url => { :controller => 'posts', :action => 'twinkle', :id => post.id }}
      %>
  <% else -%>
    <%= link_to_remote image_tag('actions/star-minus.png'),
      {:url => { :controller => 'posts', :action => 'untwinkle', :id => post.id }}
    %>
  <% end -%>

<% end -%>
<% (1..stars).each do -%>

<% end -%>

<%
  edit_loading_id = "spinner-#{post.id}"
  stars = post.ratings.size
-%>
<% (1..stars).each do -%>
  <div style='background: url(/images/emblems/light-star-<%= rand(3) %>.png) no-repeat <%= rand(100) %>% <%= rand(100) %>%'>
<% end -%>

<%= post.body_html %>

<% if logged_in? and post.user_id == current_user.id -%>

    <span style="display: none" id="<%=edit_loading_id%>"><%=image_tag "spinner.gif"%>
    <%= link_to_remote image_tag('actions/pencil.png'),
        :url => {:controller => 'posts', :action => 'edit', :id => post.id},
        :loading => "Element.show('#{edit_loading_id}')" %>

<% end -%>
<% if logged_in? and post.user_id != current_user.id and current_user.may?(:comment,@page)-%>

  <% if not post.rated_by_user?(current_user) -%>
      <%= link_to_remote image_tag('actions/star-plus.png'),
        {:url => { :controller => 'posts', :action => 'twinkle', :id => post.id }}
      %>
  <% else -%>
    <%= link_to_remote image_tag('actions/star-minus.png'),
      {:url => { :controller => 'posts', :action => 'untwinkle', :id => post.id }}
    %>
  <% end -%>

<% end -%>
<% (1..stars).each do -%>

<% end -%>


- Fixed extra s typo as reported by anonymous (Ticket #15908)

git-svn-id: c56bb3f9cb1c9468aec8fd62c717d587012de106@191 1e8d30c7-b1cd-4b0d-952e-12ddc4cacc65

<%
  @page_title = 'Overview'
  @tabbed_navigation_items = project_tabbed_navigation(0)
  @bread_crumbs = project_crumbs("Overview")

  @page_actions = []

  if ProjectMessage.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add message', :url=> "/project/#{@active_project.id}/message/add"}
  end

  if ProjectTaskList.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add task list', :url=> "/project/#{@active_project.id}/task/add_list"}
  end

  if ProjectMilestone.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add milestone', :url=> "/project/#{@active_project.id}/milestone/add"}
  end

  if ProjectFile.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add file', :url=> "/project/#{@active_project.id}/files/add_file"}
  end

  @additional_stylesheets = ['project/project_log', 'application_logs']
%>
<% if @active_project.description.chop and @active_project.show_description_in_overview %>

<%= h @active_project.name %>

<%= textilize @active_project.description %>

<% end %>

<% if @late_milestones.length > 0 || @today_milestones.length > 0 || @upcomming_milestones.length > 0 %>

<%= "Milestones" %>

<% end %>

<% if @late_milestones.length > 0 || @today_milestones.length > 0 %>

<%= "Late milestones" %> / <%= "Todays milestones" %>

<% @late_milestones.each do |late_milestone| -%>
<% if not late_milestone.assigned_to.nil? %>

<%= h late_milestone.assigned_to.object_name %>: <%= link_to (h late_milestone.name), :controller => 'milestone', :action => 'view', :id => late_milestone.id %> (<%= format_usertime(late_milestone.due_date, "%A, %d %B") %> - <%= "#{late_milestone.days_late} days late" %>)

<% else %>

<%= link_to (h late_milestone.name), :controller => 'milestone', :action => 'view', :id => late_milestone.id %> (<%= format_usertime(late_milestone.due_date, "%A, %d %B") %> - <%= "#{late_milestone.days_late} days late" %>)

<% end %>
<% end %>

<% @today_milestones.each do |today_milestone| -%>
<% if not today_milestone.assigned_to.nil? %>

<%= h today_milestone.assigned_to.object_name %>: <%= link_to (h today_milestone.name), :controller => 'milestone', :action => 'view', :id => today_milestone.id %> (<%= "Today" %>)

<% else %>

<%= link_to (h today_milestone.name), :controller => 'milestone', :action => 'view', :id => today_milestone.id %> (<%= "Today" %>)

<% end %>
<% end %>

<% end %>

<% if @upcomming_milestones.length > 0 %>

<%= "Upcomming milestones" %>

<% @upcomming_milestones.each do |upcomming_milestone| -%>

<% if upcomming_milestone.days_left <= 30 %>

<% if not upcomming_milestone.assigned_to.nil? %>

<%= h upcomming_milestone.assigned_to.object_name %>: <%= link_to (h upcomming_milestone.name), :controller => 'milestone', :action => 'view', :id => upcomming_milestone.id %> (<%= format_usertime(upcomming_milestone.due_date, "%A, %d %B") %> - <%= "#{upcomming_milestone.days_late} days left" %>)

<% else %>

<%= link_to (h upcomming_milestone.name), :controller => 'milestone', :action => 'view', :id => upcomming_milestone.id %> (<%= format_usertime(upcomming_milestone.due_date, "%A, %d %B") %> - <%= "#{upcomming_milestone.days_left} days left" %>)

<% end %>

<% else %>

<%= link_to "» Show all #{@upcomming_milestones.length} upcomming milestones", :controller => 'milestone', :action => 'index', :active_project => @active_project.id %>

<% break %>
<% end %>

<% end %>

<% end %>

<%= "Recent activities" %>

<% cache "user#{@logged_user.id}_#{@active_project.id}_dblog" do %>
<% if @project_log_entries.length > 0 %>

    <%= "Details" %>
    <%= "Date" %>

	<%= render :partial => 'layouts/application_logs', :collection => @project_log_entries, :locals => {:show_project_column => false} %>

<% else %>
No recent activities
<% end %>
<% end %>

<%
  @page_title = 'Overview'
  @tabbed_navigation_items = project_tabbed_navigation(0)
  @bread_crumbs = project_crumbs("Overview")

  @page_actions = []

  if ProjectMessage.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add message', :url=> "/project/#{@active_project.id}/message/add"}
  end

  if ProjectTaskList.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add task list', :url=> "/project/#{@active_project.id}/task/add_list"}
  end

  if ProjectMilestone.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add milestone', :url=> "/project/#{@active_project.id}/milestone/add"}
  end

  if ProjectFile.can_be_created_by(@logged_user, @active_project)
    @page_actions << {:title =>'Add file', :url=> "/project/#{@active_project.id}/files/add_file"}
  end

  @additional_stylesheets = ['project/project_log', 'application_logs']
%>
<% if @active_project.description.chop and @active_project.show_description_in_overview %>

<%= h @active_project.name %>

<%= textilize @active_project.description %>

<% end %>

<% if @late_milestones.length > 0 || @today_milestones.length > 0 || @upcomming_milestones.length > 0 %>

<%= "Milestones" %>

<% end %>

<% if @late_milestones.length > 0 || @today_milestones.length > 0 %>

<%= "Late milestones" %> / <%= "Todays milestones" %>

<% @late_milestones.each do |late_milestone| -%>
<% if not late_milestone.assigned_to.nil? %>

<%= h late_milestone.assigned_to.object_name %>: <%= link_to (h late_milestone.name), :controller => 'milestone', :action => 'view', :id => late_milestone.id %> (<%= format_usertime(late_milestone.due_date, "%A, %d %B") %> - <%= "#{late_milestone.days_late} days late" %>)

<% else %>

<%= link_to (h late_milestone.name), :controller => 'milestone', :action => 'view', :id => late_milestone.id %> (<%= format_usertime(late_milestone.due_date, "%A, %d %B") %> - <%= "#{late_milestone.days_late} days late" %>)

<% end %>
<% end %>

<% @today_milestones.each do |today_milestone| -%>
<% if not today_milestone.assigned_to.nil? %>

<%= h today_milestone.assigned_to.object_name %>: <%= link_to (h today_milestone.name), :controller => 'milestone', :action => 'view', :id => today_milestone.id %> (<%= "Today" %>)

<% else %>

<%= link_to (h today_milestone.name), :controller => 'milestone', :action => 'view', :id => today_milestone.id %> (<%= "Today" %>)

<% end %>
<% end %>

<% end %>

<% if @upcomming_milestones.length > 0 %>

<%= "Upcomming milestones" %>

<% @upcomming_milestones.each do |upcomming_milestone| -%>

<% if upcomming_milestone.days_left <= 30 %>

<% if not upcomming_milestone.assigned_to.nil? %>

<%= h upcomming_milestone.assigned_to.object_name %>: <%= link_to (h upcomming_milestone.name), :controller => 'milestone', :action => 'view', :id => upcomming_milestone.id %> (<%= format_usertime(upcomming_milestone.due_date, "%A, %d %B") %> - <%= "#{upcomming_milestones.days_late} days left" %>)

<% else %>

<%= link_to (h upcomming_milestone.name), :controller => 'milestone', :action => 'view', :id => upcomming_milestone.id %> (<%= format_usertime(upcomming_milestone.due_date, "%A, %d %B") %> - <%= "#{upcomming_milestone.days_left} days left" %>)

<% end %>

<% else %>

<%= link_to "» Show all #{@upcomming_milestones.length} upcomming milestones", :controller => 'milestone', :action => 'index', :active_project => @active_project.id %>

<% break %>
<% end %>

<% end %>

<% end %>

<%= "Recent activities" %>

<% cache "user#{@logged_user.id}_#{@active_project.id}_dblog" do %>
<% if @project_log_entries.length > 0 %>

    <%= "Details" %>
    <%= "Date" %>

	<%= render :partial => 'layouts/application_logs', :collection => @project_log_entries, :locals => {:show_project_column => false} %>

<% else %>
No recent activities
<% end %>
<% end %>


Corrected individual assignments and teammate review computations.

git-svn-id: f67d969b640da65cb7bc1d229e09fd6d2db44ae1@468 392d7b7b-3f31-0410-9dc3-c95a9635ea79

<%= render :partial => 'scripts' %>

Summary report for <%= @assignment.name %>

<%if @teams and @teams.length > 0 %>
<a href="#" onClick="toggleAll(<%= @teams.length %>);return false;" id="teamAll" name="teamAll">Show all teams
<% end %>

<% if @participants.length > 0 %>

<% if @teams and @teams.length > 0 %>
  <%= render :partial => 'teams' %>
<% else %>
  <%= render :partial => 'participant_title', :locals => {:prefix => nil} %>
  <% index = 0 %>
  <% for participant in @participants
    index += 1
    s_avg, s_max, s_min = participant.compute_review_scores
    r_avg, r_max, r_min = participant.compute_metareview_scores
    tr_avg, tr_max, tr_min = participant.compute_teammate_review_scores
    f_avg, f_max, f_min = participant.compute_author_feedback_scores
  %>
    <%= render :partial => 'participant',
               :locals => {:prefix => 'user_'+index.to_s,
               			   :team => false,
                           :participant => participant,
                           :s_avg => s_avg, :s_min => s_min, :s_max => s_max,
                           :r_avg => r_avg, :r_min => r_min, :r_max => r_max,
                           :f_avg => f_avg, :f_min => f_min, :f_max => f_max,
                           :tr_avg => tr_avg, :tr_min => tr_min, :tr_max => tr_max}%>

  <% end %>
<% end %>

** A blue score indicates that the instructor has provided additional comments or modified the score for the participant.

<% end %>

<%= render :partial => 'shared_scripts/back' %>

<%= render :partial => 'scripts' %>

Summary report for <%= @assignment.name %>

<%if @teams and @teams.length > 0 %>
<a href="#" onClick="toggleAll(<%= @teams.length %>);return false;" id="teamAll" name="teamAll">Show all teams
<% end %>

<% if @participants.length > 0 %>

<% if @teams and @teams.length > 0 %>
  <%= render :partial => 'teams' %>
<% else %>
  <%= render :partial => 'participant_title', :locals => {:prefix => nil} %>
  <% index = 0 %>
  <% for participant in @participants
    index += 1
    s_avg, s_max, s_min = participant.compute_review_scores
    r_avg, r_max, r_min = participant.compute_metareview_scores
    t_avg, t_max, t_min = participant.compute_teammate_review_scores
    f_avg, f_max, f_min = participant.compute_author_feedback_scores
  %>
    <%= render :partial => 'participant',
               :locals => {:prefix => 'user_'+index.to_s,
               			   :team => false,
                           :participant => participant,
                           :s_avg => s_avg, :s_min => s_min, :s_max => s_max,
                           :r_avg => r_avg, :r_min => r_min, :r_max => r_max,
                           :f_avg => f_avg, :f_min => f_min, :f_max => f_max,
                           :tr_avg => tr_avg, :tr_min => tr_min, :tr_max => tr_max}%>

  <% end %>
<% end %>

** A blue score indicates that the instructor has provided additional comments or modified the score for the participant.

<% end %>

<%= render :partial => 'shared_scripts/back' %>


Remove stray tag.

Remove stray tag.

<% @title = "About" %>

<%= render :partial => 'help/alpha_notice' %>

Contact Us

If your question isn't answered here, or you just wanted to let us know
something about the site, contact us.

Introduction to WhatDoTheyKnow

What is WhatDoTheyKnow for?

To help you find out inside information about what the UK government
is doing.

How does the site work?

You choose the public authority that you would like information from, then
write a brief note describing what you want to know. We then send your request
to the public authority. Any response they make is automatically published on the
website for you and anyone else to find and read.

Why would I bother to do this?

You pay taxes, and then government does things with the money. All sorts of
things that affect your life, from healthcare through to national defence. Some
it does badly, some it does well. The more we find out about how government
works, the better able we are to make suggestions to improve the things that
are done badly, and to celebrate the things that are done well.

Why would the public authority bother to reply?

Under Freedom of Information (FOI) law, they have to respond.

Who makes it?

WhatDoTheyKnow is made by mySociety,
and was initially funded by the JRSST Charitable Trust. mySociety is a project of the
registered charity UK Citizens Online Democracy.
If you like what we're doing, then you can
make a donation.

Making requests

You're missing the public authority that I want to request from!

Please contact us with the name of the public authority and,
if you can find it, their contact email address for Freedom of Information requests.
If you'd like to help add a whole category of public authority to the site, for example all
primary care trusts or all schools, then please
edit this shared spreadsheet (Google account required).

How quickly will I get a response?

By law public authorities must respond within 20 days, excluding weekends and
any UK bank holidays. The date that the response is due by is shown on the
page for your request. You will be emailed if this date goes by without
a response, so you can send the public authority another note to hurry them up.

Can you tell me more of the nitty gritty about the process of making requests?

Have a look at the
access to official information
pages on the Information Commisioner's website.

Can I request information about myself?

Not using this site. Requests made using WhatDoTheyKnow are public, made under the
Freedom of Information Act, and cannot help you find information about a
private individual. If you would like to know what information a public
authority holds about yourself, you should make a "Subject Access Request" in
private using Data Protection law.  The leaflet Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

I'd like to keep my request secret! (At least until I publish my story)

WhatDoTheyKnow is currently only designed for public requests. All
responses that we receive are automatically published on the website for anyone
to read.  You should contact the public authority directly if you would like to
make a request in private.  If you're interested in buying a system which helps
you manage FOI requests in secret, then contact us.

Privacy policy

Who gets to see my email address?

We will not disclose your email address to anyone, including the public
authority you are sending a request to, unless we are obliged to by law,
or you ask us to. If you send a message to another user on the site, then
it will reveal your email address to them. You will be told that this
is going to happen.

Will you send nasty, brutish spam to my email address?

Nope. After you sign up to WhatDoTheyKnow we will only send you emails
about the site or related mySociety services. We will never give or sell
your email addresses to anyone else, unless we are obliged to by law, or you
ask us to.

Why will my name appear publically on the site?

It means that someone researching the same area can get in touch with you,
and maybe give you more information or ideas relating to your request.  Also,
we're going to publish the response with the name of the civil servant who
wrote it, so it seems only fair that your name should be public too!
Therefore, we encourage you to use your real name, but you may use a pseudonym
if you would like to be anonymous.

So I can make an FOI request using a pseudonym?

Yes, you can. It is good practice for the public authority to reply to such
a request, except in special circumstances such as if they suspect you of
making vexatious requests. See Freedom of Information Good Practice Guidance No 6 for details. You
should refer to this if a public authority attempts to refuse a request because you used a pseudonym.
Saying that, you can avoid the problem by simply making your pseudonym look like a real person's name,
as there is no general obligation to prove your identity.

Why does the list of things that I'm tracking appear publically on the site?

This helps you find others who are researching the same area of government,
so you can form groups to investigate or campaign together. It also helps us
show requests which are related to other requests. If you've ever used a
"social bookmarking" website such as Delicious, Digg or reddit, think of it like
that.


[ClockingIT @ Only show chat messages from today when entering a room]

<%= @room.name %>

<%= link_to _('Leave'),  :action => 'leave', :id => @room.id %>

<% last = nil %>
<% for @shout in @room.shouts.find(:all, :conditions => ["created_at > ?", tz.now.utc.midnight]) %>
  <%= render :partial => 'shout', :locals => {:last => last} %>
  <% last = @shout %>
<% end %>

<%= @room.description if @room.description %>

<%= _('Participants') %>

           <% @room.subscribers.each do |u| %>
             <div id="channel-user-<%= u.id %>"><%= u.name %>

           <% end %>

<%= form_remote_tag :url => { :action => 'chat_ajax', :id => @room.id } ,
       :loading => "Element.show('loading');",
       :complete => "Element.hide('loading');$('shout_body').clear();$('shout_body').focus();",
       :html => { :id => "shout-input" }
%>
<textarea name="shout[body]" id="shout_body" style="width:80%" rows="2"></textarea><input type="submit" name="Send" value="Send" style="vertical-align:top;margin-left:5px;margin-top:1px;">

<%= @room.name %>

<%= link_to _('Leave'),  :action => 'leave', :id => @room.id %>

<% last = nil %>
<% for @shout in @room.shouts %>
  <%= render :partial => 'shout', :locals => {:last => last} %>
  <% last = @shout %>
<% end %>

<%= @room.description if @room.description %>

<%= _('Participants') %>

           <% @room.subscribers.each do |u| %>
             <div id="channel-user-<%= u.id %>"><%= u.name %>

           <% end %>

<%= form_remote_tag :url => { :action => 'chat_ajax', :id => @room.id } ,
       :loading => "Element.show('loading');",
       :complete => "Element.hide('loading');$('shout_body').clear();$('shout_body').focus();",
       :html => { :id => "shout-input" }
%>
<textarea name="shout[body]" id="shout_body" style="width:80%" rows="2"></textarea><input type="submit" name="Send" value="Send" style="vertical-align:top;margin-left:5px;margin-top:1px;">


Say it is a followup

Say it is a followup

<% if @highlight_words.nil?
      @highlight_words = []
end %>

        <% if not event.incoming_message.nil? %>
            <%= link_to highlight_words(info_request.title, @highlight_words), incoming_message_url(event.incoming_message) %>
        <% elsif not event.outgoing_message.nil? and event.event_type == 'followup_sent' %>
            <%= link_to highlight_words(info_request.title, @highlight_words), outgoing_message_url(event.outgoing_message) %>
        <% else %>
            <%= link_to highlight_words(info_request.title, @highlight_words), request_url(info_request) %>
        <% end %>

        <%= highlight_and_excerpt(event.search_text_main, @highlight_words, 150) %>

    <span class="bottomline icon_<%= info_request.calculate_status %>">

        <%= info_request.display_status %>

        <% if event.event_type == 'sent' %>
            Request sent to <%= public_body_link(info_request.public_body) %>
            by <%= user_link(info_request.user) %>
        <% elsif event.event_type == 'followup_sent' %>
            Follow up sent to <%= public_body_link(info_request.public_body) %>
            by <%= user_link(info_request.user) %>
        <% elsif event.event_type == 'response' %>
            <% if event.calculated_state.nil? %>
                Response
            <% else %>
                <%=event.display_status %>
            <% end %>
            by <%= public_body_link(info_request.public_body) %>
            to <%= user_link(info_request.user) %>
        <% else %>
            <% raise "unknown event type indexed " + event.event_type %>
        <% end %>
        on <%= simple_date(event.created_at) %>.

<% if @highlight_words.nil?
      @highlight_words = []
end %>

        <% if not event.incoming_message.nil? %>
            <%= link_to highlight_words(info_request.title, @highlight_words), incoming_message_url(event.incoming_message) %>
        <% elsif not event.outgoing_message.nil? and event.event_type == 'followup_sent' %>
            <%= link_to highlight_words(info_request.title, @highlight_words), outgoing_message_url(event.outgoing_message) %>
        <% else %>
            <%= link_to highlight_words(info_request.title, @highlight_words), request_url(info_request) %>
        <% end %>

        <%= highlight_and_excerpt(event.search_text_main, @highlight_words, 150) %>

    <span class="bottomline icon_<%= info_request.calculate_status %>">

        <%= info_request.display_status %>

        <% if event.event_type == 'sent' %>
            Request sent to <%= public_body_link(info_request.public_body) %>
            by <%= user_link(info_request.user) %>
        <% elsif event.event_type == 'followup_sent' %>
            Sent to <%= public_body_link(info_request.public_body) %>
            by <%= user_link(info_request.user) %>
        <% elsif event.event_type == 'response' %>
            <% if event.calculated_state.nil? %>
                Response
            <% else %>
                <%=event.display_status %>
            <% end %>
            by <%= public_body_link(info_request.public_body) %>
            to <%= user_link(info_request.user) %>
        <% else %>
            <% raise "unknown event type indexed " + event.event_type %>
        <% end %>
        on <%= simple_date(event.created_at) %>.


Fix escaping of raw email display in admin interface

<% @title = 'Incoming message ' + @raw_email.incoming_message.id.to_s + ' of FOI request \'' + h(@raw_email.incoming_message.info_request.title) + "'" %>

Incoming message <%=@raw_email.incoming_message.id.to_s %>

    FOI request: <%= request_both_links(@raw_email.incoming_message.info_request) %>
    <% if @holding_pen %>

This is in the holding pen because: <%= @rejected_reason %>
        <% if @public_bodies.size > 0 %>

Guessed authority:
            <% for public_body in @public_bodies %>
                <%=public_body_both_links(public_body)%>
            <% end %>
            (based on From: email domain)
        <% end %>
        <% if @info_requests.size > 0 %>

Guessed request:
            <% for info_request in @info_requests %>
                <%=request_both_links(info_request)%>
            <% end %>
            (based on id, not hash, in To/Cc email)
        <% end %>
    <% end %>

    <%= render :partial => 'incoming_message_actions', :locals => { :incoming_message => @raw_email.incoming_message } %>

Raw email

<%= link_to "Download", "../download_raw_email/" + @raw_email.id.to_s %>

<%=h(@raw_email.data).gsub(/\n/, '
').html_safe %>

<% @title = 'Incoming message ' + @raw_email.incoming_message.id.to_s + ' of FOI request \'' + h(@raw_email.incoming_message.info_request.title) + "'" %>

Incoming message <%=@raw_email.incoming_message.id.to_s %>

    FOI request: <%= request_both_links(@raw_email.incoming_message.info_request) %>
    <% if @holding_pen %>

This is in the holding pen because: <%= @rejected_reason %>
        <% if @public_bodies.size > 0 %>

Guessed authority:
            <% for public_body in @public_bodies %>
                <%=public_body_both_links(public_body)%>
            <% end %>
            (based on From: email domain)
        <% end %>
        <% if @info_requests.size > 0 %>

Guessed request:
            <% for info_request in @info_requests %>
                <%=request_both_links(info_request)%>
            <% end %>
            (based on id, not hash, in To/Cc email)
        <% end %>
    <% end %>

    <%= render :partial => 'incoming_message_actions', :locals => { :incoming_message => @raw_email.incoming_message } %>

Raw email

<%= link_to "Download", "../download_raw_email/" + @raw_email.id.to_s %>

<%=h(@raw_email.data).gsub(/\n/, '
') %>


Updated text on result edit page

Updated text on result edit page

<%= error_messages_for 'result' %>

<%= form_tag({:controller => 'results', :action => 'update', :id => @result.to_param}) %>
<%= hidden_field 'result', 'id' %>

		<% for column in @result.race.result_columns_or_default %>
		<%= column %>
		<% end %>

		<% for column in @result.race.result_columns_or_default %>
		<%= text_field('result', column, :size => grid_columns(column).size, :autocomplete => 'off') if @result.respond_to?(grid_columns(column).field) %>
		<% end %>

		<td colspan="<%= @result.race.result_columns_or_default.size %>" align="right">
			<%= submit_tag "Save" %>

<%= end_form_tag %>

To remove a racer from the result, erase both the first name and last name.

If you change the racer name to an existing racer or alias, the result will move to that racer.
This will create an alias for the old name.

If the new racer name doesn't exist, a new racer will be created.

Team names work the same way.

<%= error_messages_for 'result' %>

<%= form_tag({:controller => 'results', :action => 'update', :id => @result.to_param}) %>
<%= hidden_field 'result', 'id' %>

		<% for column in @result.race.result_columns_or_default %>
		<%= column %>
		<% end %>

		<% for column in @result.race.result_columns_or_default %>
		<%= text_field('result', column, :size => grid_columns(column).size, :autocomplete => 'off') if @result.respond_to?(grid_columns(column).field) %>
		<% end %>

		<td colspan="<%= @result.race.result_columns_or_default.size %>" align="right">
			<%= submit_tag "Save" %>

<%= end_form_tag %>

To remove a racer from the result, erase both the first name and last name.

If you change the racer name to an existing racer or alias, the result will move to that racer. This will not create any aliases.

If the new racer name doesn't exist, a new racer will be created.

Team names work the same way.


Fix the new :options array for textfilter plugins to translate spaces to _

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@1290 820eb932-12ee-0310-9ca8-eeb645f39767

<%= error_messages_for 'textfilter' %>

  Name:

  <%= text_field 'textfilter', 'name', :size => 40  %>

  Description:

  <%= text_field 'textfilter', 'description', :size => 40  %>

Markup type:

<select name="textfilter[markup]">
<% @markup_options.each do |filter| -%>
  <option value="<%=h filter[0] %>" <% if @textfilter.markup == filter[0] %>selected<% end %>><%= filter[1] %></option>
<% end -%>
</select>

Post-processing filters

<% @postprocess_options.sort_by {|f| f[1]}.each do |filter| %>

  <input name="filter[<%= filter[0] %>]" type="checkbox" value="1" <% if (filter[3]) %>checked="true"<% end %>/>
  <label title="<%=h filter[2] %>"><%= filter[1]%>
  <%= filter[2]%>

<% end -%>

Parameters

<% @filterparams.keys.sort.each do |key| -%>

  <label for="params[<%= key %>]"  title="<%=h @filterhelp[key] %>"><%= @filterdescriptions[key] %>
<% if @filteroptions[key].nil? -%>
  <input name="params[<%= key %>]" value="<%=h @filterparams[key] %>"/>
<% else -%>
  <select name="params[<%= key %>]">
<% for opt in @filteroptions[key] -%>
    <option value="<%= opt.downcase.gsub(' ','_') %>"<%= %{ selected="selected"} if opt.downcase.gsub(' ','_') == @filterparams[key] %>><%= opt %></option>
<% end -%>
  </select>
<% end -%>

<% end -%>

<%= error_messages_for 'textfilter' %>

  Name:

  <%= text_field 'textfilter', 'name', :size => 40  %>

  Description:

  <%= text_field 'textfilter', 'description', :size => 40  %>

Markup type:

<select name="textfilter[markup]">
<% @markup_options.each do |filter| -%>
  <option value="<%=h filter[0] %>" <% if @textfilter.markup == filter[0] %>selected<% end %>><%= filter[1] %></option>
<% end -%>
</select>

Post-processing filters

<% @postprocess_options.sort_by {|f| f[1]}.each do |filter| %>

  <input name="filter[<%= filter[0] %>]" type="checkbox" value="1" <% if (filter[3]) %>checked="true"<% end %>/>
  <label title="<%=h filter[2] %>"><%= filter[1]%>
  <%= filter[2]%>

<% end -%>

Parameters

<% @filterparams.keys.sort.each do |key| -%>

  <label for="params[<%= key %>]"  title="<%=h @filterhelp[key] %>"><%= @filterdescriptions[key] %>
<% if @filteroptions[key].nil? -%>
  <input name="params[<%= key %>]" value="<%=h @filterparams[key] %>"/>
<% else -%>
  <select name="params[<%= key %>]">
<% for opt in @filteroptions[key] -%>
    <option value="<%= opt.downcase %>"<%= %{ selected="selected"} if opt.downcase == @filterparams[key] %>><%= opt %></option>
<% end -%>
  </select>
<% end -%>

<% end -%>


fixed help/about URL

fixed help/about URL

<% @title = "Respond to the FOI request '" + h(@info_request.title) + "' made by " + h(@info_request.user.name) %>

<%= foi_error_messages_for :comment %>

Respond to the FOI request '<%=request_link(@info_request)%>' made by <%=user_link(@info_request.user) %>

    Your response will appear on the Internet, read why and answers to other questions.

Respond by email

You should have received a copy of the request by email, and you can respond
by simply replying to that email. For your convenience, here is the address:
<a href="mailto:<%=h @info_request.incoming_email%>"><%=h @info_request.incoming_email%>.
You may include attachments. If you would like to attach a
file too large for email, use the form below.

Respond using the web

Enter your response below. You may attach one file (use email, or
contact us if you need more).

<% form_tag '', :html => { :id => 'upload_response_form' }, :multipart => true do %>

        Response:
        <%= text_area_tag :body, "", :size => "55x10" %>

	    Attachment (optional):
        <%= file_field_tag :file_1, :size => 35 %>

        <%= hidden_field_tag 'submitted_upload_response', 1 %>
        <%= submit_tag "Upload FOI response" %>
        (patience, especially for large files, it may take a while!)

<% end %>


git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@243 6386c4cd-e34a-4fa8-8920-d93eb39b512e

<%= Configuration['ui.front.title'] %>

<%= Configuration['ui.front.welcome_message'] %>

Please login to see the problem list.

<% if flash[:notice] %>

<%= flash[:notice] %>

<% end %>

<% form_tag :controller => 'login', :action => 'login' do %>

Login:	<%= text_field_tag 'login' %>

Password:	<%= password_field_tag %>

  <%= submit_tag 'Login' %>
<% end %>

<%= Configuration['ui.front.title'] %>

<%= Configuration['ui.front.welcome_message'] %>

Please login to see the problem list.

<% if flash[:notice] %>

<%= flash[:notice] %>

<% end %>

<% form_tag :controller => 'login', :action => 'login' do %>

User name:	<%= text_field_tag 'login' %>

Password:	<%= password_field_tag %>

  <%= submit_tag 'Login' %>
<% end %>