Rename "Empty Page Cache" to "Empty Fragment Cache" in admin interface

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

<% @page_heading = 'Blog settings' %>

  <%= start_form_tag :action => 'update'%>

Which settings group would you like to edit?

General Settings

Text Filter

Spam Protection

Resource Defaults

Cache

General Settings

      Blog name:
      <input name="setting[blog_name]" id="blog_name" type="text" value="<%=h config_value(:blog_name) %>" />

      Blog subtitle:
      <input name="setting[blog_subtitle]" id="blog_subtitle" type="text" value="<%=h config_value(:blog_subtitle) %>" />

      <input name="setting[default_allow_comments]" id="default_allow_comments" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:default_allow_comments)%> />
      <input name="setting[default_allow_comments]" type="hidden" value="0"/>
        Enable comments by default

      <input name="setting[default_allow_pings]" id="default_allow_pings" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:default_allow_pings)%> />
      <input name="setting[default_allow_pings]" type="hidden" value="0"/>
        Enable Trackbacks by default

      Display
      <input name="setting[limit_article_display]" size="4" id="limit_article_display" type="text" value="<%= config_value(:limit_article_display) %>" /> articles on my homepage by default.

      Display
      <input name="setting[limit_rss_display]" size="4" id="limit_rss_display" type="text" value="<%= config_value(:limit_rss_display) %>" /> articles in my rss feed by default.

      <input name="setting[show_extended_on_rss]" id="show_extended_on_rss" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:show_extended_on_rss)%> />
      <input name="setting[show_extended_on_rss]" type="hidden" value="0"/>
        Show full article on rss feed

Should the blog show mailto: links to your email address?

<input name="setting[link_to_author]" id="link_to_author" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:link_to_author)%> /><input name="setting[link_to_author]" type="hidden" value="0"/> Enable E-Mail public display

Should the blog use of the Globally Recognized Avatar (Gravatar) service in comments?

      <input name="setting[use_gravatar]" id="use_gravatar" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:use_gravatar) %> />
      <input name="setting[use_gravatar]" type="hidden" value="0"/>
      Enable Gravatar integration

Would you like to include your latitude and longitude in your blog's HTML pages? See GeoURL for details.
Example: <tt>47.774,-122.201</tt>

      Latitude, Longitude:
      <input name="setting[geourl_location]" size="20" id="geourl_location" type="text" value="<%= config_value(:geourl_location) %>" />

Should Typo send trackbacks to websites that you link to?  This should be disabled
       for private blogs, as it will leak non-public information to sites that you're discussing.
       For public blogs, there's no real point in disabling this.

      <input name="setting[send_outbound_pings]" id="send_outbound_pings" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:send_outbound_pings)%> />
         <input name="setting[send_outbound_pings]" type="hidden" value="0"/>
           Send trackbacks to external sites

      URLs to ping automatically:

      <textarea name="setting[ping_urls]" id="ping_urls" rows="5" cols="50"><%=h config[:ping_urls] %></textarea>

<%= save("Save My Settings") %>

Text Filter

Typo supports a number of text filtering options.  To add new filters, see the "filters" tab on the toolbar above.

        <select name="setting[text_filter]" id="text_filter">
          <%= options_for_select text_filter_options, TextFilter.find_by_name(config_value(:text_filter)) %>
        </select>
        Article filter

        <select name="setting[comment_text_filter]" id="comment_text_filter">
        <%= options_for_select text_filter_options, TextFilter.find_by_name(config_value(:comment_text_filter)) %>
        </select>
        Comments filter

<%= save("Save My Settings") %>

Notification

Typo can notify you when new articles or comments are posted

      Email address to use in From: field when Typo sends mail:
      <input name="setting[email_from]" size="20" id="email_from" type="text" value="<%= config_value(:email_from) %>" />

      Jabber account to use when sending Jabber notifications:
      <input name="setting[jabber_address]" size="20" id="jabber_address" type="text" value="<%= config_value(:jabber_address) %>" />

      Password for Jabber account:
      <input name="setting[jabber_password]" size="20" id="jabber_password" type="password" value="<%= config_value(:jabber_password) %>" />

<%= save("Save My Settings") %>

Spam Protection

Enabling spam protection will make typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots.

          <input name="setting[sp_global]" id="sp_global" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:sp_global)%> /><input name="setting[sp_global]" type="hidden" value="0"/>
          Enable spam protection

          <input name="setting[sp_allow_non_ajax_comments]" id="sp_allow_non_ajax_comments" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:sp_allow_non_ajax_comments)%> />
          <input name="setting[sp_allow_non_ajax_comments]" type="hidden" value="0" />
          Allow non-ajax comments

(Spam bots usually don't know anything about ajax comments)

          Disable comments after
          <input name="setting[sp_article_auto_close]" size="4" id="sp_article_auto_close" type="text" value="<%= config_value(:sp_article_auto_close) %>" /> days

(Set to 0 to never disable comments)

Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them.

          Max URLs:
          <input name="setting[sp_url_limit]" size="4" id="sp_url_limit" type="text" value="<%= config_value(:sp_url_limit) %>" /> links

(Set to 0 to never reject comments)

<%= save("Save My Settings") %>

Resource Defaults

          The below settings act as defaults when you choose to publish an enclosure with iTunes metadata.

          Author:
          <input name="setting[itunes_author]" size="25" id="itunes_author" type="text" value="<%= config_value(:itunes_author) %>" />

          Subtitle:
          <input name="setting[itunes_subtitle]" size="25" id="itunes_subtitle" type="text" value="<%= config_value(:itunes_subtitle) %>" />(setting for channel)

        Summary:(setting for channel)

          <textarea name="setting[itunes_summary]" cols="40" rows="3"><%= config_value(:itunes_summary) %></textarea>

          Email:
          <input name="setting[itunes_email]" size="25" id="itunes_email" type="text" value="<%= config_value(:itunes_email) %>" />  Not Published by Apple

          Optional Name:
          <input name="setting[itunes_name]" size="25" id="itunes_name" type="text" value="<%= config_value(:itunes_name) %>" />  Not Published by Apple

          Copyright Information:
          <input name="setting[itunes_copyright]" size="25" id="itunes_copyright" type="text" value="<%= config_value(:itunes_copyright) %>" />

          Explicit:
          <input name="setting[itunes_explicit]" id="itunes_explicit" type="checkbox"  value="1" <%= 'checked="checked"' if config_value(:itunes_explicit)%> /><input name="setting[itunes_explicit]" type="hidden" value="0" />

<%= save("Save My Settings") %>

Cache

   <%= link_to 'Empty Fragment Cache', :controller => 'cache', :action => 'sweep' %>

   <%= link_to 'Rebuild cached HTML', :controller => 'cache', :action => 'sweep_html' %>

There are <%= @page_cache_size %> entries in the page cache

    <%= save("Save My Settings") %>

  <%= end_form_tag %>

<% @page_heading = 'Blog settings' %>

  <%= start_form_tag :action => 'update'%>

Which settings group would you like to edit?

General Settings

Text Filter

Spam Protection

Resource Defaults

Cache

General Settings

      Blog name:
      <input name="setting[blog_name]" id="blog_name" type="text" value="<%=h config_value(:blog_name) %>" />

      Blog subtitle:
      <input name="setting[blog_subtitle]" id="blog_subtitle" type="text" value="<%=h config_value(:blog_subtitle) %>" />

      <input name="setting[default_allow_comments]" id="default_allow_comments" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:default_allow_comments)%> />
      <input name="setting[default_allow_comments]" type="hidden" value="0"/>
        Enable comments by default

      <input name="setting[default_allow_pings]" id="default_allow_pings" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:default_allow_pings)%> />
      <input name="setting[default_allow_pings]" type="hidden" value="0"/>
        Enable Trackbacks by default

      Display
      <input name="setting[limit_article_display]" size="4" id="limit_article_display" type="text" value="<%= config_value(:limit_article_display) %>" /> articles on my homepage by default.

      Display
      <input name="setting[limit_rss_display]" size="4" id="limit_rss_display" type="text" value="<%= config_value(:limit_rss_display) %>" /> articles in my rss feed by default.

      <input name="setting[show_extended_on_rss]" id="show_extended_on_rss" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:show_extended_on_rss)%> />
      <input name="setting[show_extended_on_rss]" type="hidden" value="0"/>
        Show full article on rss feed

Should the blog show mailto: links to your email address?

<input name="setting[link_to_author]" id="link_to_author" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:link_to_author)%> /><input name="setting[link_to_author]" type="hidden" value="0"/> Enable E-Mail public display

Should the blog use of the Globally Recognized Avatar (Gravatar) service in comments?

      <input name="setting[use_gravatar]" id="use_gravatar" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:use_gravatar) %> />
      <input name="setting[use_gravatar]" type="hidden" value="0"/>
      Enable Gravatar integration

Would you like to include your latitude and longitude in your blog's HTML pages? See GeoURL for details.
Example: <tt>47.774,-122.201</tt>

      Latitude, Longitude:
      <input name="setting[geourl_location]" size="20" id="geourl_location" type="text" value="<%= config_value(:geourl_location) %>" />

Should Typo send trackbacks to websites that you link to?  This should be disabled
       for private blogs, as it will leak non-public information to sites that you're discussing.
       For public blogs, there's no real point in disabling this.

      <input name="setting[send_outbound_pings]" id="send_outbound_pings" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:send_outbound_pings)%> />
         <input name="setting[send_outbound_pings]" type="hidden" value="0"/>
           Send trackbacks to external sites

      URLs to ping automatically:

      <textarea name="setting[ping_urls]" id="ping_urls" rows="5" cols="50"><%=h config[:ping_urls] %></textarea>

<%= save("Save My Settings") %>

Text Filter

Typo supports a number of text filtering options.  To add new filters, see the "filters" tab on the toolbar above.

        <select name="setting[text_filter]" id="text_filter">
          <%= options_for_select text_filter_options, TextFilter.find_by_name(config_value(:text_filter)) %>
        </select>
        Article filter

        <select name="setting[comment_text_filter]" id="comment_text_filter">
        <%= options_for_select text_filter_options, TextFilter.find_by_name(config_value(:comment_text_filter)) %>
        </select>
        Comments filter

<%= save("Save My Settings") %>

Notification

Typo can notify you when new articles or comments are posted

      Email address to use in From: field when Typo sends mail:
      <input name="setting[email_from]" size="20" id="email_from" type="text" value="<%= config_value(:email_from) %>" />

      Jabber account to use when sending Jabber notifications:
      <input name="setting[jabber_address]" size="20" id="jabber_address" type="text" value="<%= config_value(:jabber_address) %>" />

      Password for Jabber account:
      <input name="setting[jabber_password]" size="20" id="jabber_password" type="password" value="<%= config_value(:jabber_password) %>" />

<%= save("Save My Settings") %>

Spam Protection

Enabling spam protection will make typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots.

          <input name="setting[sp_global]" id="sp_global" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:sp_global)%> /><input name="setting[sp_global]" type="hidden" value="0"/>
          Enable spam protection

          <input name="setting[sp_allow_non_ajax_comments]" id="sp_allow_non_ajax_comments" type="checkbox" value="1" <%= 'checked="checked"' if config_value(:sp_allow_non_ajax_comments)%> />
          <input name="setting[sp_allow_non_ajax_comments]" type="hidden" value="0" />
          Allow non-ajax comments

(Spam bots usually don't know anything about ajax comments)

          Disable comments after
          <input name="setting[sp_article_auto_close]" size="4" id="sp_article_auto_close" type="text" value="<%= config_value(:sp_article_auto_close) %>" /> days

(Set to 0 to never disable comments)

Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them.

          Max URLs:
          <input name="setting[sp_url_limit]" size="4" id="sp_url_limit" type="text" value="<%= config_value(:sp_url_limit) %>" /> links

(Set to 0 to never reject comments)

<%= save("Save My Settings") %>

Resource Defaults

          The below settings act as defaults when you choose to publish an enclosure with iTunes metadata.

          Author:
          <input name="setting[itunes_author]" size="25" id="itunes_author" type="text" value="<%= config_value(:itunes_author) %>" />

          Subtitle:
          <input name="setting[itunes_subtitle]" size="25" id="itunes_subtitle" type="text" value="<%= config_value(:itunes_subtitle) %>" />(setting for channel)

        Summary:(setting for channel)

          <textarea name="setting[itunes_summary]" cols="40" rows="3"><%= config_value(:itunes_summary) %></textarea>

          Email:
          <input name="setting[itunes_email]" size="25" id="itunes_email" type="text" value="<%= config_value(:itunes_email) %>" />  Not Published by Apple

          Optional Name:
          <input name="setting[itunes_name]" size="25" id="itunes_name" type="text" value="<%= config_value(:itunes_name) %>" />  Not Published by Apple

          Copyright Information:
          <input name="setting[itunes_copyright]" size="25" id="itunes_copyright" type="text" value="<%= config_value(:itunes_copyright) %>" />

          Explicit:
          <input name="setting[itunes_explicit]" id="itunes_explicit" type="checkbox"  value="1" <%= 'checked="checked"' if config_value(:itunes_explicit)%> /><input name="setting[itunes_explicit]" type="hidden" value="0" />

<%= save("Save My Settings") %>

Cache

   <%= link_to 'Empty Page Cache', :controller => 'cache', :action => 'sweep' %>

   <%= link_to 'Rebuild cached HTML', :controller => 'cache', :action => 'sweep_html' %>

There are <%= @page_cache_size %> entries in the page cache

    <%= save("Save My Settings") %>

  <%= end_form_tag %>


comments template was broken because of Kontrols new partials handling

<%= render '_comments.rhtml', :comments => @comments %>

error: pathspec 'example/templates/comments.rhtml' did not match any file(s) known to git


Button to file a new request.

Button to file a new request.

<% @title = h(@public_body.name) %>

<%=@title%>

A public body in the UK, also called <%= h(@public_body.short_name) %>

<% form_for(:info_request, @info_request, :url => new_request_url, :html => { :id => 'public_body_form' }  ) do |f| %>
   <%= f.hidden_field(:public_body_id, { :value => @public_body.id } ) %>

<%= submit_tag "Make new FOI request to " + @public_body.short_name %>

<% end %>

<% if @public_body.info_requests.empty? %>

Nobody has made any Freedom of Information requests to this public body using this site.

<% else %>

People have made <%=pluralize(@public_body.info_requests.size, "Freedom of Information request") %> to this public body using this site.

    <%= render :partial => 'request/request_listing', :locals => { :info_requests => @public_body.info_requests.sort { |a,b| b.created_at <=> a.created_at } } %>
<% end %>

<% @title = h(@public_body.name) %>

<%=@title%>

A public body in the UK, also called <%= h(@public_body.short_name) %>

<% if @public_body.info_requests.empty? %>

Nobody has made any Freedom of Information requests to this public body using this site.

<% else %>

People have made <%=pluralize(@public_body.info_requests.size, "Freedom of Information request") %> to this public body using this site.

    <%= render :partial => 'request/request_listing', :locals => { :info_requests => @public_body.info_requests.sort { |a,b| b.created_at <=> a.created_at } } %>
<% end %>


Cache unfolded text correctly. Remove out of date comment.

<%
if !info_request_event.nil? && info_request_event.event_type == 'response'
    incoming_message = info_request_event.incoming_message
end

if not incoming_message.nil?
%>
    <div class="correspondence" id="incoming-<%=incoming_message.id.to_s%>">
        <% cache(:controller => "request", :action => "show_response", :id => @info_request.id, :incoming_message_id => incoming_message.id, :only_path => true, :template => "_correspondence", :section => "incoming_message_bubble", :collapse => @collapse_quotes ? nil : 'no' ) do %>

            <% if !incoming_message.safe_mail_from.nil? && incoming_message.safe_mail_from.strip != @info_request.public_body.name.strip %>
                <%=h incoming_message.safe_mail_from %>

            <% end %>
            <% if incoming_message.safe_mail_from.nil? || (incoming_message.mail_from_domain == @info_request.public_body.request_email_domain) %>
                <%=h @info_request.public_body.name %>

            <% end %>

<%= simple_date(incoming_message.sent_at) %>

        <%= render :partial => 'bubble', :locals => { :incoming_message => incoming_message, :body => incoming_message.get_body_for_html_display(@collapse_quotes), :attachments => incoming_message.get_attachments_for_display }  %>
        <% end %>

            <% if !@user.nil? && @user.admin_page_links? %>
                <%= link_to "Admin", admin_url("request/show_raw_email/" + incoming_message.raw_email_id.to_s) %> |
            <% end %>
            <%= link_to "Link to this", incoming_message_url(incoming_message) %> |
            <%= link_to "Reply to this message", show_response_url(:id => incoming_message.info_request.id, :incoming_message_id => incoming_message.id) + "#followup" %>

<%
elsif info_request_event.event_type == 'sent' || info_request_event.event_type == 'followup_sent'
    outgoing_message = info_request_event.outgoing_message
    %>
    <div class="correspondence" id="outgoing-<%=outgoing_message.id.to_s%>">

        <%=h @info_request.user.name %>

<%= simple_date(info_request_event.created_at) %>

        <%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_html_display(), :attachments => nil }  %>

            <% if outgoing_message.status == 'ready' %>
                 Warning: This message has not yet been sent for an unknown reason.
            <% end %>

            <%= link_to "Link to this", outgoing_message_url(outgoing_message) %> |
            <%= link_to "Send follow up", show_response_no_followup_url(:id => outgoing_message.info_request.id, :incoming_message_id => nil) + "#followup" %>

<% elsif [ 'resent', 'followup_resent' ].include?(info_request_event.event_type) %>

            <%= simple_date(info_request_event.created_at) %>

            Sent
            <% if info_request_event.outgoing_message.message_type == 'initial_request' %>
                request
            <% elsif info_request_event.outgoing_message.message_type == 'followup' %>
                a follow up
            <% else %>
                <% raise "unknown message_type" %>
            <% end %>

            to <%= public_body_link(@info_request.public_body) %> again<% if not info_request_event.same_email_as_previous_send? %>, using a new contact address<% end %>.

<% elsif info_request_event.event_type == 'comment'
    comment = info_request_event.comment
%>
    <%= render :partial => 'comment/single_comment', :locals => { :comment => comment } %>
<%
end

%>

<% # end %>

<%
if !info_request_event.nil? && info_request_event.event_type == 'response'
    incoming_message = info_request_event.incoming_message
end

# XXX disable this caching for now until we invalidate it properly - maybe do
# it at a higher level anyway.
# cache against all the parameters that there are to this partial
#cache_name = ""
#if !info_request_event.nil?
#    cache_name = cache_name + "correspondence/" + info_request_event.id.to_s
#end
#if !incoming_message.nil?
#    cache_name = cache_name + "/incoming_message/" + incoming_message.id.to_s
#end
#if !@collapse_quotes.nil? && !@collapse_quotes
#    cache_name = cache_name + "/collapse/false"
#else
#    cache_name = cache_name + "/collapse/true" # default is true
#end
## yeuch, must be nicer way of telling cache just to use this cache_name, than
## putting it falsely in list action
#cache(:controller => 'request', :action => 'list', :extra => cache_name) do

if not incoming_message.nil?
%>
    <div class="correspondence" id="incoming-<%=incoming_message.id.to_s%>">
        <% cache(:controller => "request", :action => "show_response", :id => @info_request.id, :incoming_message_id => incoming_message.id, :only_path => true, :template => "_correspondence", :section => "incoming_message_bubble") do %>

            <% if !incoming_message.safe_mail_from.nil? && incoming_message.safe_mail_from.strip != @info_request.public_body.name.strip %>
                <%=h incoming_message.safe_mail_from %>

            <% end %>
            <% if incoming_message.safe_mail_from.nil? || (incoming_message.mail_from_domain == @info_request.public_body.request_email_domain) %>
                <%=h @info_request.public_body.name %>

            <% end %>

<%= simple_date(incoming_message.sent_at) %>

        <%= render :partial => 'bubble', :locals => { :incoming_message => incoming_message, :body => incoming_message.get_body_for_html_display(@collapse_quotes), :attachments => incoming_message.get_attachments_for_display }  %>
        <% end %>

            <% if !@user.nil? && @user.admin_page_links? %>
                <%= link_to "Admin", admin_url("request/show_raw_email/" + incoming_message.raw_email_id.to_s) %> |
            <% end %>
            <%= link_to "Link to this", incoming_message_url(incoming_message) %> |
            <%= link_to "Reply to this message", show_response_url(:id => incoming_message.info_request.id, :incoming_message_id => incoming_message.id) + "#followup" %>

<%
elsif info_request_event.event_type == 'sent' || info_request_event.event_type == 'followup_sent'
    outgoing_message = info_request_event.outgoing_message
    %>
    <div class="correspondence" id="outgoing-<%=outgoing_message.id.to_s%>">

        <%=h @info_request.user.name %>

<%= simple_date(info_request_event.created_at) %>

        <%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_html_display(), :attachments => nil }  %>

            <% if outgoing_message.status == 'ready' %>
                 Warning: This message has not yet been sent for an unknown reason.
            <% end %>

            <%= link_to "Link to this", outgoing_message_url(outgoing_message) %> |
            <%= link_to "Send follow up", show_response_no_followup_url(:id => outgoing_message.info_request.id, :incoming_message_id => nil) + "#followup" %>

<% elsif [ 'resent', 'followup_resent' ].include?(info_request_event.event_type) %>

            <%= simple_date(info_request_event.created_at) %>

            Sent
            <% if info_request_event.outgoing_message.message_type == 'initial_request' %>
                request
            <% elsif info_request_event.outgoing_message.message_type == 'followup' %>
                a follow up
            <% else %>
                <% raise "unknown message_type" %>
            <% end %>

            to <%= public_body_link(@info_request.public_body) %> again<% if not info_request_event.same_email_as_previous_send? %>, using a new contact address<% end %>.

<% elsif info_request_event.event_type == 'comment'
    comment = info_request_event.comment
%>
    <%= render :partial => 'comment/single_comment', :locals => { :comment => comment } %>
<%
end

%>

<% # end %>


update faq with last.fm group.

update faq with last.fm group.

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/graysky/tourbus.git/'


Reform Trust seems to be dropping the JRSST Charitable Trust brand, as that page is broken now. So link to top level page.

<% @title = "About" %>

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

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. The response
will either contain the information you want, or give a valid legal reason why
it must be kept confidential.

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.

If you're requesting information from a Scottish public authority,
the process is very similar. There are differences around time
limits for compliance.
See the Scottish
Information Commissioner's guidance for details.

Can I request information about myself? #

No. 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 "How to access your information" (on the Information Commisioner's
website) explains how to do this.

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please contact us
immediately so we can remove it.

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.

Can I make the same to request to lots of authorities, e.g. all councils? #

We ask you to first send a test version of your request to a few
authorities. Their responses will help you improve the wording of your request,
so that you get the best information when you send the request to all of
the authorities. There is currently no automated system for sending the request
to the other authorities, you must copy and paste it by hand.

Privacy policy #

Who gets to see my email address? #

We will not disclose your email address to anyone unless we are obliged to by law,
or you ask us to. This includes the public authority that you are sending a
request to.  They only get to see an email address
@whatdotheyknow.com which is specific to that request.

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 and my request appear publicly on the site? #

We publish your request on the Internet so that anybody can read it and
make use of the information that you have found.

Your name is tangled up with your request, so has to be published as well.
It is only fair, as we're going to publish the name of the civil servant who
writes the response to your request.  Using your real name also helps people
get in touch with you to assist you with your research or to campaign with you.

By law, you must use your real name for the request to be a valid Freedom of
Information request. See the next question for alternatives if you do not want
to publish your full name.

Can I make an FOI request using a pseudonym? #

Technically, you must use your real name for your request to be a valid Freedom of Information request in law. See this
guidance from the Information Commissioner (January 2009).

However, the same guidance also says it is good practice for the public
authority to still consider a request made using an obvious pseudonym.
You should refer to this if a public authority refuses a request because you
used a pseudonym.

Be careful though, even if the authority follows this good practice, the
pseudonym will probably make it impossible for you to complain to the
Information Commisioner later about the handling of your request.

There are several good alternatives to using a pseudonym.

Use a different form of your name. The guidance says
that "Mr Arthur Thomas Roberts" can make a valid request as "Arthur Roberts",
"A. T. Roberts", or "Mr Roberts", but not as "Arthur" or "A.T.R.".

Women may use their maiden name.

In most cases, you may use any name by which you are "widely known and/or
is regularly used".

Use the name of a company, the trading name of a company,
or the trading name of a sole trader.

Ask someone else to make the request on your behalf.

You may, if you are really stuck, ask us to make the request on
your behalf. Please contact us with
a good reason why you cannot make the request yourself and cannot
ask a friend to. We don't have the resources to do this for everyone.

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, mark your request as "They are going to reply by post", and it will
give you an email address to use for that purpose.

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.

I can see a request on WhatDoTheyKnow, but we never got it by email!#

If a request appears on the site, then we have attempted to send it to
the authority by email. Any delivery failure messages will automatically
appear on the site. You can check the address we're using with the "View FOI
email address" link which appears on the page for the authority. Contact us if there is a better address we can
use.

Requests are sometimes not delivered because they are quietly removed by
"spam filters" in the IT department of the authority. Authorities can make
sure this doesn't happen by asking their IT departments to "whitelist"
any email from @whatdotheyknow.com.
If you ask us we will resend any request,
and/or give technical details of delivery so an IT department can chase
up what happened to the message.

Finally, you can respond to any request from your web browser, without
needing any email, using the "respond to request" link at the bottom of
each request page.

How can I send a large file, which won't go by email?#

Instead of email, you can respond to a request directly from your web
browser, including uploading a file. To do this, choose "respond to request" at
the bottom of the request's page. Contact us if it
is too big for even that (more than, say, 50Mb).

Why do you publish the names of civil servants and the text of emails? #

We consider what officers or servants do in the course of their employment
to be public information.

Can you take down private information about me? #

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

We consider WhatDoTheyKnow to be journalistic as described under

section 32 of the Data Protection Act, and use a public interest test to
decide whether information should be removed.

Do you publish email addresses or mobile phone numbers? #

We automatically remove some emails and mobile numbers from responses to requests.
Please contact us if we've missed one.
For technical reasons we don't remove them all from attachments, such as PDFs.

What is your policy on documents with commercial copyright?#

Our Freedom of Information law is "applicant blind", so anyone in the
world can request the same document and get a copy of it.

If you think our making a document available on the internet infringes your
copyright, you may contact us and ask us
to take it down.  However, to save tax payers' money by preventing duplicate
requests, and for good public relations, we'd advise you not to do that.

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.

Can I help out? #

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

You can make a donation. We're a registered charity.

Find out FOI email addresses of authorities that we're missing.

Write a blog post about either WhatDoTheyKnow 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
    and send us patches. It's made in Ruby on Rails.

Read more about volunteering with mySociety.


Add what Alex found about postal address.

<% @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.
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.

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
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?

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.

They've asked for my postal address!

If a public authority asks you for your full 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 Department for
Constitutional Affairs has guidance on
this –
"Return address:  There is no obligation to comply with a
request for information if it does not give a return address. If a request is
received by email and, although no postal address is given, the email
address of the sender is included, then this should be treated as the
return address."

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 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 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.

<% @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.
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.

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
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?

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 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 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.


Fix display of no pending messages message.

<% @title = "Summary" %>

<%=@title%>

<%=@public_body_count%> public authorities

<%=@info_request_count%> requests

<%=@user_count%> users

<%=@track_thing_count%> tracked things

<%=@comment_count%> annotations

Things to do

<% if @holding_pen_messages.size > 0 %>

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

    <% for message in @holding_pen_messages %>

            <%= link_to excerpt(message.get_body_for_quoting, "", 60), "request/show_raw_email/" + message.raw_email_id.to_s %>
            (<%=simple_date(message.sent_at)%>)

    <% end %>

<% end %>

<% if @ten_days_old_unclassified.size > 0 %>

Classify responses that are still unclassified ten days after response (<%=@ten_days_old_unclassified.size%> total)

    <% for @request in @ten_days_old_unclassified %>

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

    <% end %>

<% end %>

<% if @requires_admin_requests.size > 0 %>

Work out what to do with these unusual responses (a new category?) (<%=@requires_admin_requests.size%> total)

    <% for @request in @requires_admin_requests %>

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

    <% end %>

<% end %>

<% if @blank_contacts.size > 0 %>

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

    <% for @blank_contact in @blank_contacts %>

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

    <% end %>

<% end %>

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

No pending administration required.

<% end %>

<% @title = "Summary" %>

<%=@title%>

<%=@public_body_count%> public authorities

<%=@info_request_count%> requests

<%=@user_count%> users

<%=@track_thing_count%> tracked things

<%=@comment_count%> annotations

Things to do

<% if @holding_pen_messages.size > 0 %>

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

    <% for message in @holding_pen_messages %>

            <%= link_to excerpt(message.get_body_for_quoting, "", 60), "request/show_raw_email/" + message.raw_email_id.to_s %>
            (<%=simple_date(message.sent_at)%>)

    <% end %>

<% end %>

<% if @ten_days_old_unclassified.size > 0 %>

Classify responses that are still unclassified ten days after response (<%=@ten_days_old_unclassified.size%> total)

    <% for @request in @ten_days_old_unclassified %>

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

    <% end %>

<% end %>

<% if @requires_admin_requests.size > 0 %>

Work out what to do with these unusual responses (a new category?) (<%=@requires_admin_requests.size%> total)

    <% for @request in @requires_admin_requests %>

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

    <% end %>

<% end %>

<% if @blank_contacts.size > 0 %>

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

    <% for @blank_contact in @blank_contacts %>

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

    <% end %>

<% end %>

<% if @requires_admin_requests.size == 0 and @ten_days_old_unclassified.size == 0 and @blank_contacts.size == 0 %>

No pending administration required.

<% end %>


Temporarily disable modal sign-in

Temporarily disable modal sign-in

<%
    enable_modal_signin = false;
%>

<% if enable_modal_signin && !@user %>
<%= javascript_include_tag 'jquery.fancybox-1.3.4.pack' %>
<%= javascript_include_tag 'jquery.form' %>

<% end %>

<% @title = _("Make an {{law_used_short}} request to '{{public_body_name}}'",:law_used_short=>h(@info_request.law_used_short),:public_body_name=>h(@info_request.public_body.name))  %>

<% if @existing_request %>

     <%= _('{{existing_request_user}} already
    created the same request on {{date}}. You can either view the existing request,
    or edit the details below to make a new but similar request.',:existing_request_user=>user_or_you_capital_link(@existing_request.user), :date=>simple_date(@existing_request.created_at), :existing_request=>request_url(@existing_request)) %>

<% end %>

    <%= foi_error_messages_for :info_request, :outgoing_message %>

<%= _('2. Ask for Information') %>

    <% form_for(:info_request, @info_request, :html => { :id => 'write_form' }  ) do |f| %>

            <%= _('To:') %>
            <%=h(@info_request.public_body.name)%>

                <% if @info_request.public_body.info_requests.size > 0 %>
                    <%= _("Browse other requests to '{{public_body_name}}' for examples of how to word your request.", :public_body_name=>h(@info_request.public_body.name), :url=>public_body_url(@info_request.public_body)) %>
                <% else %>
                    <%= _("Browse other requests for examples of how to word your request.", :url=>request_list_url) %>
                <% end %>

        <% if @info_request.public_body.has_notes? %>

<%= _('Special note for this authority!') %>

<%= @info_request.public_body.notes_as_html %>

        <% end %>

        <% if @info_request.public_body.eir_only? %>

<%= _('Please ask for environmental information only') %>

<%= _('The Freedom of Information Act does not apply to') %> <%=h(@info_request.public_body.name)%>.
            <%= _('However, you have the right to request environmental
            information under a different law') %> (explanation).
            <%= _('This covers a very wide spectrum of information about the state of
            the natural and built environment, such as:') %>

<%= _('Air, water, soil, land, flora and fauna (including how these effect
            human beings)') %>

<%= _('Information on emissions and discharges (e.g. noise, energy,
            radiation, waste materials)') %>

<%= _('Human health and safety') %>

<%= _('Cultural sites and built structures (as they may be affected by the
            environmental factors listed above)') %>

<%= _('Plans and administrative measures that affect these matters') %>

<%= _('Please only request information that comes under those categories, do not waste your
            time or the time of the public authority by requesting unrelated information.') %>

        <% end %>

            <%= _('Summary:') %>
            <%= f.text_field :title, :size => 50, :id =>"typeahead_search" %>

            (<%= _("a one line summary of the information you are requesting, \n\t\t\te.g.") %>
              <% if @info_request.law_used == 'eir' %>
                  <%= _("'Pollution levels over time for the River Tyne'") %>
              <% else %>
                  <%= _("'Crime statistics by ward level for Wales'") %>
              <% end %>
              )

<%= _('Write your request in simple, precise language.') %>

<%= _('Ask for specific documents or information, this site is not suitable for general enquiries.') %>

<%= _('Keep it focused, you\'ll be more likely to get what you want (why?).') % [help_requesting_path + '#focused'] %>

        <% fields_for :outgoing_message do |o| %>

            <%= _('Your request:') %>
            <%= o.text_area :body, :rows => 20, :cols => 60 %>

        <% end %>

        <% if !@user %>

                <%= _('Everything that you enter on this page, including your name,
                will be displayed publicly on
                this website forever (why?).') % [help_privacy_path+"#public_request"] %>
                <%= _('If you are thinking of using a pseudonym,
                please read this first.') % [help_privacy_path+"#public_request"] %>

        <% else %>

                <%= _('Everything that you enter on this page
                will be displayed publicly on
                this website forever (why?).') % [help_privacy_path+"#public_request"] %>

        <% end %>

            <%= _(" Can I request information about myself?\n" +
            "\t\t\tNo! (Click here for details)") % [help_requesting_path+"#data_protection"] %>

            <%= f.hidden_field(:public_body_id, { :value => @info_request.public_body_id } ) %>
            <%= hidden_field_tag(:submitted_new_request, 1 ) %>
            <%= hidden_field_tag(:preview, 1 ) %>
            <%= hidden_field_tag(:modal, 1 ) if enable_modal_signin %>
            <%= submit_tag _("Preview your public request") %>

        <% if !@info_request.tag_string.empty? %>

                <%= f.hidden_field(:tag_string) %>
                Tags: <%=h @info_request.tag_string %>

        <% end %>

<% end %>

<% if !@user %>
<%= javascript_include_tag 'jquery.fancybox-1.3.4.pack' %>
<%= javascript_include_tag 'jquery.form' %>

<% end %>

<% @title = _("Make an {{law_used_short}} request to '{{public_body_name}}'",:law_used_short=>h(@info_request.law_used_short),:public_body_name=>h(@info_request.public_body.name))  %>

<% if @existing_request %>

     <%= _('{{existing_request_user}} already
    created the same request on {{date}}. You can either view the existing request,
    or edit the details below to make a new but similar request.',:existing_request_user=>user_or_you_capital_link(@existing_request.user), :date=>simple_date(@existing_request.created_at), :existing_request=>request_url(@existing_request)) %>

<% end %>

    <%= foi_error_messages_for :info_request, :outgoing_message %>

<%= _('2. Ask for Information') %>

    <% form_for(:info_request, @info_request, :html => { :id => 'write_form' }  ) do |f| %>

            <%= _('To:') %>
            <%=h(@info_request.public_body.name)%>

                <% if @info_request.public_body.info_requests.size > 0 %>
                    <%= _("Browse other requests to '{{public_body_name}}' for examples of how to word your request.", :public_body_name=>h(@info_request.public_body.name), :url=>public_body_url(@info_request.public_body)) %>
                <% else %>
                    <%= _("Browse other requests for examples of how to word your request.", :url=>request_list_url) %>
                <% end %>

        <% if @info_request.public_body.has_notes? %>

<%= _('Special note for this authority!') %>

<%= @info_request.public_body.notes_as_html %>

        <% end %>

        <% if @info_request.public_body.eir_only? %>

<%= _('Please ask for environmental information only') %>

<%= _('The Freedom of Information Act does not apply to') %> <%=h(@info_request.public_body.name)%>.
            <%= _('However, you have the right to request environmental
            information under a different law') %> (explanation).
            <%= _('This covers a very wide spectrum of information about the state of
            the natural and built environment, such as:') %>

<%= _('Air, water, soil, land, flora and fauna (including how these effect
            human beings)') %>

<%= _('Information on emissions and discharges (e.g. noise, energy,
            radiation, waste materials)') %>

<%= _('Human health and safety') %>

<%= _('Cultural sites and built structures (as they may be affected by the
            environmental factors listed above)') %>

<%= _('Plans and administrative measures that affect these matters') %>

<%= _('Please only request information that comes under those categories, do not waste your
            time or the time of the public authority by requesting unrelated information.') %>

        <% end %>

            <%= _('Summary:') %>
            <%= f.text_field :title, :size => 50, :id =>"typeahead_search" %>

            (<%= _("a one line summary of the information you are requesting, \n\t\t\te.g.") %>
              <% if @info_request.law_used == 'eir' %>
                  <%= _("'Pollution levels over time for the River Tyne'") %>
              <% else %>
                  <%= _("'Crime statistics by ward level for Wales'") %>
              <% end %>
              )

<%= _('Write your request in simple, precise language.') %>

<%= _('Ask for specific documents or information, this site is not suitable for general enquiries.') %>

<%= _('Keep it focused, you\'ll be more likely to get what you want (why?).') % [help_requesting_path + '#focused'] %>

        <% fields_for :outgoing_message do |o| %>

            <%= _('Your request:') %>
            <%= o.text_area :body, :rows => 20, :cols => 60 %>

        <% end %>

        <% if !@user %>

                <%= _('Everything that you enter on this page, including your name,
                will be displayed publicly on
                this website forever (why?).') % [help_privacy_path+"#public_request"] %>
                <%= _('If you are thinking of using a pseudonym,
                please read this first.') % [help_privacy_path+"#public_request"] %>

        <% else %>

                <%= _('Everything that you enter on this page
                will be displayed publicly on
                this website forever (why?).') % [help_privacy_path+"#public_request"] %>

        <% end %>

            <%= _(" Can I request information about myself?\n" +
            "\t\t\tNo! (Click here for details)") % [help_requesting_path+"#data_protection"] %>

            <%= f.hidden_field(:public_body_id, { :value => @info_request.public_body_id } ) %>
            <%= hidden_field_tag(:submitted_new_request, 1 ) %>
            <%= hidden_field_tag(:preview, 1 ) %>
            <%= hidden_field_tag(:modal, 1 ) %>
            <%= submit_tag _("Preview your public request") %>

        <% if !@info_request.tag_string.empty? %>

                <%= f.hidden_field(:tag_string) %>
                Tags: <%=h @info_request.tag_string %>

        <% end %>

<% end %>


git-svn-id: svn+ssh://ko.meadowy.net/home/svn/inside/kozuchi/trunk@294 c938ebee-df10-0410-95fc-be8c4b0ebdd5

ユーザー登録

  <%= error_messages_for 'user' %>

    <%= start_form_tag :action => 'signup' %>
      <%= render_partial 'edit', :user => @user, :submit => false %>
      <%= render_partial 'password', :submit => false %>

        <%= submit_tag '登録' %>
        <%= link_to 'キャンセル', :action => 'login' %>

    <%= end_form_tag %>

※メールを利用して本人確認を行うため、利用可能なEメールアドレスをご指定いただかないとユーザー登録が完了しませんのでご注意ください。


Fix cancelling removing a tag

Fix cancelling removing a tag


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 %>


Copy unhappy help text from alaveteli to the theme ready for editing

<% @title = "Unhappy about a Freedom of Information request?" %>

<% if !@info_request.nil? %>

Unhappy about the response you got
to your request '<%=request_link(@info_request) %>'?

<% else %>

Unhappy about the response you got?

<% end %>

If ...

You didn't get a reply within 20 working days

You did not get all of the information that you requested or

Your request was refused, but without a reason valid under the law

... you can

Ask for an internal review at the public authority.

If that doesn't help, complain to the Information Commissioner.

Either way, also use other means to answer your question.

1. Asking for an internal review #

<% if !@info_request.nil? %>
    <%= link_to "Request an internal review", show_response_no_followup_url(:id => @info_request.id, :incoming_message_id => nil) + "?internal_review=1#followup", :class => 'link_button_green' %> and then write a message asking the authority to review your request.
<% else %>
    At the bottom of the relevant request page on <%= site_name %> choose
    "request an internal review". Then write a message asking for an internal
    review of your request. You may want to include a link to the
    request page, to make it clear which request you are talking about.
<% end %>

Internal reviews should be quick. If one takes longer than 20 working days
then the authority should write and let you know, and it should never take
longer than 40 working days (see this
good
practice guide).
You will then either get the information that
you originally requested, or you will be told that the review upholds the
original decision.

2. Complaining to the Information Commissioner #

If you are still unhappy after the public authority has done their internal review,
then you can complain to the Information Commissioner. To do this read
Complaints about Freedom of Information
on the Information Commissioner's website. If you requested information from a Scottish
authority, then  appeal
to the Scottish Information Commissioner.

To make it easier to send the relevant information to the
Information Commissioner, either
<% if !@info_request.nil? %>
    include a link to your request
    <%=h main_url(request_url(@info_request)) %>
<% else %>
    include a link to your request on <%= site_name %>
<% end %>
in your complaint or print out the whole page of your request and all attachments.

<%= site_name %> has no special facilities for handling a request at this stage - it
passes into the Information Commissioner's system. You can leave annotations on your
request keeping people informed of progress.

A warning. There is a backlog of work at the Information Commissioner, and
it can take literally years to get resolution from them. If you reach this point,
you should accept that you won't get the information quickly by this means. Maybe
you want to help the fight to improve Freedom of Information, or maybe
getting the information slowly is still worthwhile. You can also try and
get the information by other means...

3. Using other means to answer your question #

You can try persuing your problem or your research in other ways.

Make a new FOI request for summary information, or for
documentation relating indirectly to matters in your refused request.
Ask us for ideas if you're stuck.

If any other public authorities or publicly owned companies are involved,
then make FOI requests to them.

Write to your MP or other politician using WriteToThem and ask for their help
finding the answer. MPs can write directly to ministers or departments, and
can ask written questions in the House of Commons. Councillors in local authorities
can talk directly to council officers.

Ask other researchers who are interested in a similar
issue to yours for ideas. You can sometimes find them by browsing this site;
contact any registered user from their page. There may be an Internet
forum or group that they hang out in. If it is a local matter, use GroupsNearYou to find such a
forum.

Start a pledge on PledgeBank to get
others to act together with you. For example, you could arrange a meeting with
staff from the authority. Or you could form a small local campaigns group.

error: pathspec 'lib/views/help/unhappy.rhtml' did not match any file(s) known to git


updating FAQ

updating FAQ


GA tracking code

GA tracking code

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

  <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>
      <%= title %>
  </title>

<%= title %>

    <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>

Get Version

      <a href="<%= download %>" class="numbers"><%= version %>

    <%= body %>

      Benjamin Curtis, <%= modified.pretty %>

      Theme extended from Paul Battley


[ClockingIT @ Add link to switch channel without leaving]

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/evinoca/clockingit.git/'


ActionItem172: adding a generic task partial

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

<%# a generic task solver %>

<%= _('Processing task: %s') % task.description %>

<% form_for('task', task, :url => { :action => 'close', :id => task.id}) do |f| %>

    <%= radio_button_tag(:decision, 'finish', true) %>
    <%= _('OK') %>

    <%= radio_button_tag(:decision, 'cancel', false) %>
    <%= _('Cancel') %>

  <% button_bar do %>
    <%= submit_button(:ok, _('OK')) %>
  <% end %>

<% end %>

error: pathspec 'app/views/tasks/_task.rhtml' did not match any file(s) known to git


submit the form when only local is toggled


Fix fan photo page

Fix fan photo page


Rewrite view to include javascript

Rewrite view to include javascript

<%= render :file => "#{Rails.root}/app/views/manage_products/_categories_for_selection.rhtml", :locals => {:categories => categories, :level => level} %>

<% javascript_tag do %>
  jQuery(document).ready(function() {

    jQuery('html, body').animate({
      scrollTop: jQuery('#new_product_title').offset().top + jQuery('#cirandas-top-bar').height() -20
    }, 500);
  });
<% end %>

error: pathspec 'plugins/cirandas/views/manage_products/_categories_for_selection.rhtml' did not match any file(s) known to git


Close input tags in new index page

Close input tags in new index page


added missing rhtml

added missing rhtml

Random Trial Sequence Generator

Date: <%= nice_date(Date.today) %> Bat:

Trial
S+ Position
Correct/Incorrect
Video
Audo
Array
Comments

<% i = 0 %>
<% for rand_num in @random_numbers %>
<% i = i + 1 %>

<%= i %>.
<%= rand_num == 0 ? 'Left' : 'Right' %>
&nbsp
&nbsp
&nbsp
&nbsp
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

<% end %>

* note: no more than 3 the same in a row and sequence computer generated (psuedo-random)

error: pathspec 'batkeeping/app/views/main/random_trial_sequence_generator.rhtml' did not match any file(s) known to git


Ooops, got text wrong way round for schools / no schools

<% @title = h(@info_request.title) %>

<% if @info_request.prominence == 'hidden' %>

    This request has prominence 'hidden'. You can only see it because you are logged
    in as a super user.

<% end %>
<% if @info_request.prominence == 'requester_only' %>

    This request is hidden, so that only you the requester can see it. Please
    contact us if you are not sure why.

<% end %>

<% if @update_status || @info_request.awaiting_description %>

    <%= render :partial => 'describe_state', :locals => { :id_suffix => "1" } %>

<% end %>

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

<%=@title%>

    <%=h @info_request.law_used_with_a%>
    <% if !@user.nil? && @user.admin_page_links? %>
        (<%= link_to "admin", request_admin_url(@info_request) %>)
    <% end %>
    to
    <%= public_body_link(@info_request.public_body) %>
    by
    <%= user_link(@info_request.user) %>

    <p id="request_status" class="request_icon_line icon_<%= @info_request.calculate_status %>">
    <% if @info_request.awaiting_description %>
        <% if @is_owning_user %>
            Please answer the question above so we know whether the
            <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'recent response contains', 'recent responses contain') %> useful information.
        <% else %>
            This request has an unknown status.
            <% if @old_unclassified %>
              We're waiting for someone to read
              <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'a recent response', 'recent responses') %>
              and update the status accordingly. Perhaps you might like to help out by doing that?
            <% else %>
              We're waiting for
              <%= user_link(@info_request.user) %> to read
              <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'a recent response', 'recent responses') %>
              and update the status.
            <% end %>
        <% end %>
    <% elsif @status == 'waiting_response' %>
        Currently waiting for a response from <%= public_body_link(@info_request.public_body) %>,
        they must respond promptly and
        <% if @info_request.public_body.is_school? %>
            in term time
        <% else %>
            normally
        <% end %>
        no later than <%= simple_date(@info_request.date_response_required_by) %>
        (<%= link_to "details", about_url + "#quickly_response" %>).
    <% elsif @status == 'waiting_response_overdue' %>
        Response to this request is delayed.
        By law, <%= public_body_link(@info_request.public_body) %> should
        normally have responded promptly and
            <% if @info_request.public_body.is_school? %>
                in term time
            <% end %>
            by <%= simple_date(@info_request.date_response_required_by) %>
        (<%= link_to "details", about_url + "#quickly_response" %>).
    <% elsif @status == 'waiting_response_very_overdue' %>
        Response to this request is long overdue.
        By law, under all circumstances, <%= public_body_link(@info_request.public_body) %>
        should have responded by now
        (<%= link_to "details", about_url + "#quickly_response" %>).
        You can complain by
        <%= link_to "requesting an internal review", show_response_no_followup_url(:id => @info_request.id, :incoming_message_id => nil) + "?internal_review=1#followup" %>.
    <% elsif @status == 'not_held' %>
        <%= public_body_link(@info_request.public_body) %> did not have the information requested.
    <% elsif @status == 'rejected' %>
        The request was rejected by <%= public_body_link(@info_request.public_body) %>.
    <% elsif @status == 'successful' %>
        The request was successful.
    <% elsif @status == 'partially_successful' %>
        The request was partially successful.
    <% elsif @status == 'waiting_clarification' %>
        <% if @is_owning_user %>
            <%=h @info_request.public_body.name %> is waiting for your clarification.
            Please
              <%= link_to "send a follow up message", respond_to_last_url(@info_request) + '#followup' %>.
        <% else %>
            The request is waiting for clarification.
            If you are
            <%= user_link(@info_request.user) %>, please
            <%= link_to "sign in", signin_url(:r => request.request_uri) %> to send a follow up message.
        <% end %>
    <% elsif @status == 'gone_postal' %>
        The authority would like to / has responded by post to this request.
    <% elsif @status == 'internal_review' %>
        Waiting for an internal review by <%= public_body_link(@info_request.public_body) %> of their handling of this request.
    <% elsif @status == 'error_message' %>
        There was a delivery error or similar, which needs fixing by the WhatDoTheyKnow team.
    <% elsif @status == 'requires_admin' %>
        This request has had an unusual response, and requires attention from the WhatDoTheyKnow team.
    <% elsif @status == 'user_withdrawn' %>
        This request has been withdrawn by the person who made it.
        There may be an explanation in the correspondence below.
    <% else %>
        <% raise "unknown status " + @status %>
    <% end %>

    <% for info_request_event in @info_request_events %>
        <% if info_request_event.visible %>
            <%= render :partial => 'correspondence', :locals => { :info_request_event => info_request_event } %>
        <% end %>
    <% end %>

    <% if @info_request.awaiting_description %>

        <%= render :partial => 'describe_state', :locals => { :id_suffix => "2" } %>

    <% end %>

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

<% @title = h(@info_request.title) %>

<% if @info_request.prominence == 'hidden' %>

    This request has prominence 'hidden'. You can only see it because you are logged
    in as a super user.

<% end %>
<% if @info_request.prominence == 'requester_only' %>

    This request is hidden, so that only you the requester can see it. Please
    contact us if you are not sure why.

<% end %>

<% if @update_status || @info_request.awaiting_description %>

    <%= render :partial => 'describe_state', :locals => { :id_suffix => "1" } %>

<% end %>

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

<%=@title%>

    <%=h @info_request.law_used_with_a%>
    <% if !@user.nil? && @user.admin_page_links? %>
        (<%= link_to "admin", request_admin_url(@info_request) %>)
    <% end %>
    to
    <%= public_body_link(@info_request.public_body) %>
    by
    <%= user_link(@info_request.user) %>

    <p id="request_status" class="request_icon_line icon_<%= @info_request.calculate_status %>">
    <% if @info_request.awaiting_description %>
        <% if @is_owning_user %>
            Please answer the question above so we know whether the
            <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'recent response contains', 'recent responses contain') %> useful information.
        <% else %>
            This request has an unknown status.
            <% if @old_unclassified %>
              We're waiting for someone to read
              <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'a recent response', 'recent responses') %>
              and update the status accordingly. Perhaps you might like to help out by doing that?
            <% else %>
              We're waiting for
              <%= user_link(@info_request.user) %> to read
              <%= MySociety::Format.fancy_pluralize(@new_responses_count, 'a recent response', 'recent responses') %>
              and update the status.
            <% end %>
        <% end %>
    <% elsif @status == 'waiting_response' %>
        Currently waiting for a response from <%= public_body_link(@info_request.public_body) %>,
        they must respond promptly and
        <% if @info_request.public_body.is_school? %>
            normally
        <% else %>
            in term time
        <% end %>
        no later than <%= simple_date(@info_request.date_response_required_by) %>
        (<%= link_to "details", about_url + "#quickly_response" %>).
    <% elsif @status == 'waiting_response_overdue' %>
        Response to this request is delayed.
        By law, <%= public_body_link(@info_request.public_body) %> should
        normally have responded promptly and
            <% if @info_request.public_body.is_school? %>
                in term time
            <% end %>
            by <%= simple_date(@info_request.date_response_required_by) %>
        (<%= link_to "details", about_url + "#quickly_response" %>).
    <% elsif @status == 'waiting_response_very_overdue' %>
        Response to this request is long overdue.
        By law, under all circumstances, <%= public_body_link(@info_request.public_body) %>
        should have responded by now
        (<%= link_to "details", about_url + "#quickly_response" %>).
        You can complain by
        <%= link_to "requesting an internal review", show_response_no_followup_url(:id => @info_request.id, :incoming_message_id => nil) + "?internal_review=1#followup" %>.
    <% elsif @status == 'not_held' %>
        <%= public_body_link(@info_request.public_body) %> did not have the information requested.
    <% elsif @status == 'rejected' %>
        The request was rejected by <%= public_body_link(@info_request.public_body) %>.
    <% elsif @status == 'successful' %>
        The request was successful.
    <% elsif @status == 'partially_successful' %>
        The request was partially successful.
    <% elsif @status == 'waiting_clarification' %>
        <% if @is_owning_user %>
            <%=h @info_request.public_body.name %> is waiting for your clarification.
            Please
              <%= link_to "send a follow up message", respond_to_last_url(@info_request) + '#followup' %>.
        <% else %>
            The request is waiting for clarification.
            If you are
            <%= user_link(@info_request.user) %>, please
            <%= link_to "sign in", signin_url(:r => request.request_uri) %> to send a follow up message.
        <% end %>
    <% elsif @status == 'gone_postal' %>
        The authority would like to / has responded by post to this request.
    <% elsif @status == 'internal_review' %>
        Waiting for an internal review by <%= public_body_link(@info_request.public_body) %> of their handling of this request.
    <% elsif @status == 'error_message' %>
        There was a delivery error or similar, which needs fixing by the WhatDoTheyKnow team.
    <% elsif @status == 'requires_admin' %>
        This request has had an unusual response, and requires attention from the WhatDoTheyKnow team.
    <% elsif @status == 'user_withdrawn' %>
        This request has been withdrawn by the person who made it.
        There may be an explanation in the correspondence below.
    <% else %>
        <% raise "unknown status " + @status %>
    <% end %>

    <% for info_request_event in @info_request_events %>
        <% if info_request_event.visible %>
            <%= render :partial => 'correspondence', :locals => { :info_request_event => info_request_event } %>
        <% end %>
    <% end %>

    <% if @info_request.awaiting_description %>

        <%= render :partial => 'describe_state', :locals => { :id_suffix => "2" } %>

    <% end %>

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


Do not display chat time info for non-admins

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/joevano/bzflag-website.git/'


added Notify#admin template

added Notify#admin template

error: pathspec 'app/views/notify/admin.rhtml' did not match any file(s) known to git


Fixes a little bug with comment fields autofill when editing an existing comment

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

<%= error_messages_for 'comment' %>

  <%= _("Author")%>:

  <%= text_field 'comment', 'author', "value" => (session[:user][:name] if controller.action_name == "new") %>

  <%= _("Url") %>:

  <%= text_field 'comment', 'url', "value" => (this_blog.base_url if controller.action_name == "new")  %>

  <%= _("Email")%>:

  <%= text_field 'comment', 'email', "value" => (session[:user][:email] if controller.action_name == "new") %>

  <%= _("Body")%>:

  <%= text_area 'comment', 'body'  %>

<%= error_messages_for 'comment' %>

  <%= _("Author")%>:

  <%= text_field 'comment', 'author', "value" => session[:user][:name]  %>

  <%= _("Url") %>:

  <%= text_field 'comment', 'url', "value" => this_blog.base_url  %>

  <%= _("Email")%>:

  <%= text_field 'comment', 'email', "value" => session[:user][:email] %>

  <%= _("Body")%>:

  <%= text_area 'comment', 'body'  %>


added space before state

added space before state


Wrap forum topic tooltip

Wrap forum topic tooltip


temp file to allow me to view the email logs.

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

  	Date
	From
	To
	Subject
	Body

	<% for email in ActionMailer::Base.deliveries %>

	  <%= email.date.to_s %>
	  <%= email.from.to_s %>
	  <%= email.to.to_s %>
	  <%= email.subject.to_s %>

	<% end %>

error: pathspec 'app/views/reports/mailings.rhtml' did not match any file(s) known to git