fixed a syntax error

fixed a syntax error

<% @show_tips = @xapian_requests.nil? || (@total_hits == 0) %>

<% @include_request_link_in_authority_listing = true %>

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

<% if @query.nil? %>
    <% @title = _("Search Freedom of Information requests, public authorities and users") %>
<% elsif @total_hits == 0 %>
    <% @title = _('There were no requests matching your query.') %>
<% else %>
    <% @title = _("Results page {{page_number}}", :page_number => @page.to_s) %>
<% end%>

  <% if @query.nil? %>

Search

  <% else %>

Search results

  <% end%>

  <% if @advanced %>

<%= _('To use the advanced search, combine phrases and labels as described in the search tips below.') %>

    <% form_tag(advanced_search_url, :method => "get") do %>

         <%= text_field_tag :query, @query, { :size => 60 } %>
         <%= hidden_field_tag 'sortby', @inputted_sortby %>
         <% if @bodies %>
             <%= hidden_field_tag 'bodies', 1 %>
         <% end %>
         <%= submit_tag _("Search") %>
               <%= link_to _('Simple search'), search_redirect_path %>

    <% end %>

  <% else %>
    <% form_tag(request.url, {:method => "get", :id => "search_form"}) do %>

         <%= text_field_tag 'query', params[:query], { :size => 40 } %>
         <%= hidden_field_tag 'sortby', @inputted_sortby %>
         <% if @bodies %>
             <%= hidden_field_tag 'bodies', 1 %>
         <% end %>
         <%= submit_tag _("Search") %>
        <%= link_to(_("Advanced search"), advanced_search_url) %>

<%= _("Showing") %>

     <% labels = [
	      ["requests", _("requests")],
        ["users", _("users")],
        ["bodies", _("authorities")],
	["all", _("everything")]]%>
     <% for variety, label in labels %>
       <% if @variety_postfix != variety %>
        <% if variety != "users" %>
         <%=  link_to label, search_url([params[:query], @common_query], variety, @sort_postfix)  %>
	<% else %>
         <%=  link_to label, search_url(params[:query], variety, @sort_postfix) %>
	<% end %>
       <% else %>
         <%= label %>
       <% end %>
       <%= "|" unless variety == labels.last[0]%>
     <% end %>

<% if false %>
<%-# Commented out for now as tags are of limited use when users can't see them.  This will change in the future! -%>
<% if @variety_postfix != "users" %>

   <%= label_tag(:query, _("Tags (separated by a space):")) %><%= text_field_tag(:tags, params[:tags], { :size => 20 }) %>
   <% for tag in InfoRequest.get_tags %>
     <%= tag.name_and_value %>
   <% end %>

<% end %>
<% end %>

<% if @variety_postfix == "requests" %>

<%= _("Restrict to") %>

     <% [["successful", _("successful requests")],
        ["unsuccessful", _("unsuccessful requests")],
        ["awaiting", _("unresolved requests")],
        ["internal_review", _("internal reviews")]].each_with_index do |item, index|
	   status, title = item %>

      <%= check_box_tag "latest_status[]", status, params[:latest_status].nil? ? false : params[:latest_status].include?(status), :id => "latest_status_#{index}" %>
      <%= label_tag("latest_status_#{index}", title) %>

    <% end %>

<%= _("Search in") %>

  <% [["sent", _("messages from users")],
     ["response", _("messages from authorities")],
     ["comment", _("comments")]].each_with_index do |item, index|
     variety, title = item %>

   <%= check_box_tag "request_variety[]", variety, params[:request_variety].nil? ? true : params[:request_variety].include?(variety), :id => "request_variety_#{index}" %>
   <%= label_tag("request_variety_#{index}", title) %>

  <% end %>

   Made between
   <%= text_field_tag(:request_date_after, params[:request_date_after], {:class => "use-datepicker", :size => 10}) %>
    and
   <%= text_field_tag(:request_date_before, params[:request_date_before], {:class => "use-datepicker", :size => 10}) %>

<% end %>

   <%= submit_tag("Filter") if @variety_postfix == "requests"%>

  <% end %>
<% end %>

  <% if !@query.nil? %>

      <%=link_to_unless @sortby == 'relevant', _("Show most relevant results first"), search_url(@query, @variety_postfix, 'relevant') %>
      |
      <%=link_to_unless @sortby == 'newest', _("Newest results first"), search_url(@query, @variety_postfix, 'newest') %>
      <% if @sortby == 'described' %>
      | <%= _('Recently described results first') %>
      <% end %>

  <% end %>

<% if @track_thing  && (@xapian_bodies_hits > 0 || @xapian_users_hits > 0 || @total_hits == 0)%>

Track this search

    <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'main' } %>

<% end %>

<% if @total_hits == 0 %>

<%=@title %>

<% end %>

<% if not @query.nil? %>

      <% if @xapian_bodies_hits > 0 %>
          <% if @xapian_bodies_hits == 1 && @page == 1 %>

<%= _('One public authority found') %>

          <% else %>

<%= _('Public authorities {{start_count}} to {{end_count}} of {{total_count}}', :start_count => ((@page-1)*@bodies_per_page+1).to_s, :end_count => [@page*@bodies_per_page, @xapian_bodies.matches_estimated].min.to_s, :total_count => @xapian_bodies.matches_estimated.to_s) %>

          <% end %>

            <% for result in @xapian_bodies.results %>
                <%= render :partial => 'public_body/body_listing_single', :locals => { :public_body => result[:model] }  %>
            <% end %>

          <%= will_paginate WillPaginate::Collection.new(@page, @bodies_per_page, @xapian_bodies.matches_estimated) %>
      <% elsif @bodies && !@query.nil? && @xapian_bodies.results.size == 0 && @page == 1 %>

<%= _('No public authorities found') %>

        <% if @spelling_correction %>

<%= _('Did you mean: {{correction}}', :correction => search_link(@spelling_correction, @postfix)) %>

        <% end %>

<%= _('Browse all or ask us to add one.') % [list_public_bodies_default, help_requesting_path + '#missing_body'] %>

      <% end %>

      <% if @xapian_users_hits > 0 %>
          <% if @xapian_users_hits == 1 && @page == 1 %>

<%= _("One person found") %>

          <% else %>

<%= _("People {{start_count}} to {{end_count}} of {{total_count}}", :start_count => ((@page-1)*@users_per_page+1).to_s, :end_count =>  [@page*@users_per_page, @xapian_users.matches_estimated].min.to_s, :total_count =>  @xapian_users.matches_estimated.to_s) %>

          <% end %>

            <% for result in @xapian_users.results %>
                <%= render :partial => 'user/user_listing_single', :locals => { :display_user => result[:model] } %>
            <% end %>

    <% if @xapian_requests_hits > 0 %>
        <% if @xapian_requests_hits == 1 && @page == 1 %>

<%= _("One FOI request matching your search", :user_search_query => h(@query)) %>

        <% else %>

<%= _("FOI requests {{start_count}} to {{end_count}} of {{total_count}}", :start_count => ((@page-1)*@requests_per_page+1).to_s, :end_count => [@page*@requests_per_page, @xapian_requests.matches_estimated].min.to_s, :total_count =>  @xapian_requests.matches_estimated.to_s, :user_search_query => h(@query)) %>

        <% end %>

      <% if @xapian_requests_hits > 0 %>
          <% if @xapian_requests_hits == 1 && @page == 1 %>

<%= _("One FOI request found") %>

          <% else %>

<%= _("FOI requests {{start_count}} to {{end_count}} of {{total_count}}", :start_count => ((@page-1)*@requests_per_page+1).to_s, :end_count => [@page*@requests_per_page, @xapian_requests.matches_estimated].min.to_s, :total_count =>  @xapian_requests.matches_estimated.to_s) %>

          <% end %>

            <% for result in @xapian_requests.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

          <%= will_paginate WillPaginate::Collection.new(@page, @requests_per_page, @xapian_requests.matches_estimated) %>
      <% end %>

<% end %>

<% if @advanced %>

<%= _("Advanced search tips")%>

<%= _("Enter words that you want to find separated by spaces, e.g. climbing lane") %>

<%= _('Use OR (in capital letters) where you don\'t mind which word,  e.g. commons OR lords') %>

<%= _('Use quotes when you want to find an exact phrase, e.g. "Liverpool City Council"') %>

<%= _('status: to select based on the status or historical status of the request, see the table of statuses below.', :statuses_url => "#statuses") %>

<%= _('variety: to select type of thing to search for, see the table of varieties below.', :varieties_url => "#varieties") %>

<%= _('requested_from:home_office to search requests from the Home Office, typing the name as in the URL.')%>

<%= _('requested_by:julian_todd to search requests made by Julian Todd, typing the name as in the URL.') %>

<%= _('commented_by:tony_bowden to search annotations made by Tony Bowden, typing the name as in the URL.')%>

<%= _('request: to restrict to a specific request, typing the title as in the URL.')%>

<%= _('filetype:pdf to find all responses with PDF attachments. Or try these: {{list_of_file_extensions}}', :list_of_file_extensions => IncomingMessage.get_all_file_extensions)%>

<%= _('Type 01/01/2008..14/01/2008 to only show things that happened in the first two weeks of January.')%>

<%= _('tag:charity to find all public bodies or requests with a given tag. You can include multiple tags,
    and tag values, e.g. tag:openlylocal AND tag:financial_transaction:335633. Note that by default any of the tags
    can be present, you have to put AND explicitly if you only want results them all present.')%>

<%= _('Read about advanced search operators, such as proximity and wildcards.', :advanced_search_url => "http://www.xapian.org/docs/queryparser.html") %>

<%= _('Table of statuses') %>

<%= _("All the options below can use status or latest_status before the colon. For example, status:not_held will match requests which have ever been marked as not held; latest_status:not_held will match only requests that are currently marked as not held.") %>

<%=search_link('status:waiting_response', nil, nil, true)%>	<%= _('Waiting for the public authority to reply') %>

<%=search_link('status:not_held', nil, nil, true)%>	<%= _('The public authority does not have the information requested') %>

<%=search_link('status:rejected', nil, nil, true)%>	<%= _('The request was refused by the public authority') %>

<%=search_link('status:partially_successful', nil, nil, true)%>	<%= _('Some of the information requested has been received') %>

<%=search_link('status:successful', nil, nil, true)%>	<%= _('All of the information requested has been received') %>

<%=search_link('status:waiting_clarification', nil, nil, true)%>	<%= _('The public authority would like part of the request explained') %>

<%=search_link('status:gone_postal', nil, nil, true)%>	<%= _('The public authority would like to / has responded by post') %>

<%=search_link('status:internal_review', nil, nil, true)%>	<%= _('Waiting for the public authority to complete an internal review of their handling of the request') %>

<%=search_link('status:error_message', nil, nil, true)%>	<%= _('Received an error message, such as delivery failure.') %>

<%=search_link('status:requires_admin', nil, nil, true)%>	<%= _('A strange reponse, required attention by the {{site_name}} team', :site_name=>site_name) %>

<%=search_link('status:user_withdrawn', nil, nil, true)%>	<%= _('The requester has abandoned this request for some reason') %>

<%= _('Table of varieties') %>

<%= _("All the options below can use variety or latest_variety before the colon. For example, variety:sent will match requests which have ever been sent; latest_variety:sent will match only requests that are currently marked as sent.") %>

<%=search_link('variety:sent', nil, nil, true)%>	<%= _('Original request sent') %>

<%=search_link('variety:followup_sent', nil, nil, true)%>	<%= _('Follow up message sent by requester') %>

<%=search_link('variety:response', nil, nil, true)%>	<%= _('Response from a public authority') %>

<%=search_link('variety:comment', nil, nil, true)%>	<%= _('Annotation added to request') %>

<%=search_link('variety:authority', nil, nil, true)%>	<%= _('A public authority') %>

<%=search_link('variety:user', nil, nil, true)%>	<%= _('A {{site_name}} user', :site_name=>site_name) %>

<% end %>
<% end %>
<% end %>


Removing an item should utilise a cross rather than a tick.

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/'


Change wording for follow button to something suggested in collaboration with @RichardTaylor

<%
    if @user
        existing_track = TrackThing.find_by_existing_track(@user, track_thing)
    end
%>

<% if own_request %>

<%= _('This is your own request, so you will be automatically emailed when new responses arrive.')%>

<% elsif existing_track %>

<%= track_thing.params[:verb_on_page_already] %>

    <div class="feed_link feed_link_<%=location%>">
	<%= link_to "Unsubscribe", {:controller => 'track', :action => 'update', :track_id => existing_track.id, :track_medium => "delete", :r => request.request_uri}, :class => "link_button_green" %>

<% elsif track_thing %>
    <div class="feed_link feed_link_<%=location%>">
     <% if defined? follower_count && follower_count > 0 %>
        <%= link_to _("I like this request"), do_track_url(track_thing), :class => "link_button_green" %>
     <% else %>
        <%= link_to _("Follow"), do_track_url(track_thing), :class => "link_button_green" %>
     <% end %>

    <div class="feed_link feed_link_<%=location%>">
        <%= link_to '', do_track_url(track_thing, 'feed') %>
        <%= link_to (location == 'sidebar' ? _('RSS feed of updates') : _('RSS feed')),  do_track_url(track_thing, 'feed') %>

<% end %>

<%
    if @user
        existing_track = TrackThing.find_by_existing_track(@user, track_thing)
    end
%>

<% if own_request %>

<%= _('This is your own request, so you will be automatically emailed when new responses arrive.')%>

<% elsif existing_track %>

<%= track_thing.params[:verb_on_page_already] %>

    <div class="feed_link feed_link_<%=location%>">
	<%= link_to "Unsubscribe", {:controller => 'track', :action => 'update', :track_id => existing_track.id, :track_medium => "delete", :r => request.request_uri}, :class => "link_button_green" %>

<% elsif track_thing %>
    <div class="feed_link feed_link_<%=location%>">
     <% if defined? follower_count && follower_count > 0 %>
        <%= link_to _("I want to know, too"), do_track_url(track_thing), :class => "link_button_green" %>
     <% else %>
        <%= link_to _("Follow"), do_track_url(track_thing), :class => "link_button_green" %>
     <% end %>

    <div class="feed_link feed_link_<%=location%>">
        <%= link_to '', do_track_url(track_thing, 'feed') %>
        <%= link_to (location == 'sidebar' ? _('RSS feed of updates') : _('RSS feed')),  do_track_url(track_thing, 'feed') %>

<% end %>


Do company/subdomain checks more frequently


quote user editable content

quote user editable content

Account <%= @account.title %>

    <%= sort_header('value_date', 'Datum') %>
    Text
    Belastung
    Gutschrift
    Saldo
    Valuta

  <% total_debit = 0; total_credit = 0 %>
  <% for booking in @account.bookings %>
  <% @booking = booking %>
  <% total_debit += booking.amount if booking.debit_account == @account %>
  <% total_credit += booking.amount if booking.credit_account == @account %>

    <%= in_place_editor_field :booking, :in_place_value_date %>

      <%= in_place_editor_field :booking, :title %>
      <%= '
' unless booking.comments.empty? %>
      <%= in_place_editor_field :booking, :comments %>

    <%= (booking.debit_account == @account) ? "#{in_place_editor_field(:booking, :in_place_amount)} #{h(booking.debit_currency)}" : "#{link_to(h(booking.debit_account.number), {:controller => 'accounts', :action => :show, :id => booking.debit_account}, :title => h(booking.debit_account.title))}" %>
    <%= (booking.credit_account == @account) ? "#{in_place_editor_field(:booking, :in_place_amount)} #{h(booking.credit_currency)}" : "#{link_to(h(booking.credit_account.number), {:controller => 'accounts', :action => :show, :id => booking.credit_account}, :title => h(booking.credit_account.title))}" %>
    <%= currency_fmt(total_credit - total_debit) %>

      <%= link_to h(booking.in_place_value_date), :controller => :bookings, :action => :show, :id => booking %>
      <%= link_to image_tag('insert_booking.png'), :controller => :bookings, :action => :new %>
      <%= link_to image_tag('remove_22.png'), { :controller => :bookings, :action => 'destroy', :id => booking }, :confirm => 'Sicher?', :method => :post %>

  <% end %>

    Umsatz

    <%= currency_fmt(total_credit) %>
    <%= currency_fmt(total_debit) %>

    Aktueller Kontostand (per <%= DateTime.now.strftime("%d.%m.%Y %H:%M") %>)

    <%= currency_fmt(total_credit - total_debit) %>

<%= link_to 'Edit', :action => 'edit', :id => @account %> |
<%= link_to 'Back', :action => 'list' %>

Account <%= @account.title %>

    <%= sort_header('value_date', 'Datum') %>
    Text
    Belastung
    Gutschrift
    Saldo
    Valuta

  <% total_debit = 0; total_credit = 0 %>
  <% for booking in @account.bookings %>
  <% @booking = booking %>
  <% total_debit += booking.amount if booking.debit_account == @account %>
  <% total_credit += booking.amount if booking.credit_account == @account %>

    <%= in_place_editor_field :booking, :in_place_value_date %>

      <%= in_place_editor_field :booking, :title %>
      <%= '
' unless booking.comments.empty? %>
      <%= in_place_editor_field :booking, :comments %>

    <%= (booking.debit_account == @account) ? "#{in_place_editor_field(:booking, :in_place_amount)} #{booking.debit_currency}" : "#{link_to(booking.debit_account.number, {:controller => 'accounts', :action => :show, :id => booking.debit_account}, :title => booking.debit_account.title)}" %>
    <%= (booking.credit_account == @account) ? "#{in_place_editor_field(:booking, :in_place_amount)} #{booking.credit_currency}" : "#{link_to(booking.credit_account.number, {:controller => 'accounts', :action => :show, :id => booking.credit_account}, :title => booking.credit_account.title)}" %>
    <%= currency_fmt(total_credit - total_debit) %>

      <%= link_to h(booking.in_place_value_date), :controller => :bookings, :action => :show, :id => booking %>
      <%= link_to image_tag('insert_booking.png'), :controller => :bookings, :action => :new %>
      <%= link_to image_tag('remove_22.png'), { :controller => :bookings, :action => 'destroy', :id => booking }, :confirm => 'Sicher?', :method => :post %>

  <% end %>

    Umsatz

    <%= currency_fmt(total_credit) %>
    <%= currency_fmt(total_debit) %>

    Aktueller Kontostand (per <%= DateTime.now.strftime("%d.%m.%Y %H:%M") %>)

    <%= currency_fmt(total_credit - total_debit) %>

<%= link_to 'Edit', :action => 'edit', :id => @account %> |
<%= link_to 'Back', :action => 'list' %>


fix venue search and apostrophes

fix venue search and apostrophes

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/'


Changed the flickr template to use a list instead of br's. fixes #56

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

<%= flickr.title  %> (<%= link_to "flickr", flickr.link %>)

<% for pic in flickr.pics.to_a[0..3] -%>

<%= image_tag pic.thumb, :alt => pic.title, :style => "border: 1px solid black" %>

<% end -%>

<%= flickr.title  %> (<%= link_to "flickr", flickr.link %>)

<% for pic in flickr.pics.to_a[0..3] -%>
<img src="<%= pic.thumb %>" alt="<%= pic.title %>" style="border: 1px solid black"/>

<% end -%>


Add new div around public body requests for improved theming

<% @title = h(@public_body.name) + " - view and make Freedom of Information requests" %>

<%= _('Follow this authority')%>

    <% follower_count = TrackThing.count(:all, :conditions => ["public_body_id = ?", @public_body.id]) %>

<%= n_("There is %d person following this authority", "There are %d people following this authority", follower_count) % follower_count %>

      <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>

<%= _('More about this authority')%>

      <% if !@public_body.calculated_home_page.nil? %>
          <%= link_to _('Home page of authority'), @public_body.calculated_home_page %>

      <% end %>
      <% if !@public_body.publication_scheme.empty? %>
          <%= link_to _('Publication scheme'), @public_body.publication_scheme %>

      <% end %>
      <% if @public_body.has_tag?("charity") %>
          <% for tag_value in @public_body.get_tag_values("charity") %>
              <% if tag_value.match(/^SC/) %>
                  <%= link_to _('Charity registration'), "http://www.oscr.org.uk/CharityIndexDetails.aspx?id=" + tag_value %>

              <% else %>
                  <%= link_to _('Charity registration'), "http://www.charity-commission.gov.uk/SHOWCHARITY/RegisterOfCharities/CharityFramework.aspx?RegisteredCharityNumber=" + tag_value %>

              <% end %>
          <% end %>
      <% end %>
      <%= link_to _('View FOI email address'), view_public_body_email_url(@public_body.url_name) %>

<%= _("Freedom of information requests to") %>

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

    <%=@public_body.type_of_authority(true)%><% if not @public_body.short_name.empty? %>,
    <%= _('also called {{public_body_short_name}}', :public_body_short_name =>  h(@public_body.short_name))%><% end %>
    <% if !@user.nil? && @user.admin_page_links? %>
    (<%= link_to _("admin"), public_body_admin_url(@public_body) %>)
    <% end %>

    <% if @public_body.has_notes? && (@public_body.is_requestable? || @public_body.not_requestable_reason == 'bad_contact') %>

<%= @public_body.notes_as_html %>

    <% end %>

    <% if @public_body.eir_only? %>

<%= _('You can only request information about the environment from this authority.')%>

    <% end %>

        <% if @public_body.is_requestable? || @public_body.not_requestable_reason == 'bad_contact' %>
            <% if @public_body.eir_only? %>
    	        <%= _('Make a new Environmental Information request')%>
            <% else %>
    	        <%= _('Make a new Freedom of Information request to {{public_body}}', :public_body => h(@public_body.name))%>
            <% end %>
             <%= _('{{text}}', :url=>new_request_to_body_url(:url_name => @public_body.url_name), :text=>_("Start"))%>
        <% elsif @public_body.has_notes? %>
            <%= @public_body.notes_as_html %>
        <% elsif @public_body.not_requestable_reason == 'not_apply' %>
            <%= _('Freedom of Information law does not apply to this authority, so you cannot make
            a request to it.')%>
        <% elsif @public_body.not_requestable_reason == 'defunct' %>
            <%= _('This authority no longer exists, so you cannot make a request to it.')%>
        <% else %>
            <%= _('For an unknown reason, it is not possible to make a request to this authority.')%>
        <% end %>

   <% if @public_body.info_requests.size == 0 %>
        <% if @public_body.eir_only? %>

<%= _('Environmental Information Regulations requests made using this site') %>

Nobody has made any Environmental Information Regulations requests to <%=h(@public_body.name)%> using this site yet.

        <% else %>

<%= _('Freedom of Information requests made using this site')%>

<%= _('Nobody has made any Freedom of Information requests to {{public_body_name}} using this site yet.', :public_body_name => h(@public_body.name))%>

        <% end %>
    <% else %>

        <% if @public_body.eir_only? %>
            <%= pluralize(@public_body.info_requests.size, "Environmental Information Regulations request made using this site") %>
        <% else %>
	   <% if  @public_body.info_requests.size > 4 %>
		<%= n_('Search within the %d Freedom of Information requests to %s', 'Search within the %d Freedom of Information requests made to %s', @public_body.info_requests.size) % [@public_body.info_requests.size, @public_body.name] %>
           <% else %>
	      <%= n_('%d Freedom of Information request to %s', '%d Freedom of Information requests to %s', @public_body.info_requests.size) % [@public_body.info_requests.size, @public_body.name] %>
	   <% end %>
        <% end %>
        <%= @page_desc %>

        <% if  @public_body.info_requests.size > 4 %>
         <%= render :partial => 'request/request_filter_form' %>
	<% end %>
    <% end %>

    <% if !@xapian_requests.nil? %>

            <% for result in @xapian_requests.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

            <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @public_body.info_requests.size) %>

    	<% if @xapian_requests.results.empty? %>

<% _('There were no requests matching your query.') %>

    	<% else %>

 <%= _('Only requests made using {{site_name}} are shown.', :site_name => site_name) %>

    	<% end %>

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

<%= _('Environmental Information Regulations requests made') %>

        <% else %>

 <%= _('Freedom of Information requests made')%>

        <% end %>

 <%= _('The search index is currently offline, so we can\'t show the Freedom of Information requests that have been made to this authority.')%>

    <% end %>


trying to fix bloglines / FF feed reader problems


Rename Alaveteli in admin navbar

Rename Alaveteli in admin navbar

        <%= link_to 'FYI', frontpage_path, :class => "brand" %>

<%= link_to 'Summary', admin_general_index_path %>

<%= link_to 'Timeline', admin_timeline_path %>

<%= link_to 'Stats', admin_stats_path %>

<%= link_to 'Debug', admin_debug_path %>

<%= link_to 'Authorities', admin_body_list_path %>

<%= link_to 'Requests', admin_request_list_path %>

<%= link_to 'Users', admin_user_list_path %>

<%= link_to 'Tracks', admin_track_list_path %>

<%= link_to 'Log out', signout_path %>

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


Fix typo

Fix typo

<% @title = "Making requests" %>

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

  <% if params[:country_name] %>

<%= _("Would you like to see a website like this in your country?") %>

  <% else %>

Powered by Alaveteli

  <% end %>

This website is powered by Alaveteli.  Alaveteli is free software
  for making Freedom of Information requests.  It can easily be
  translated into any language, and customised for variations of FOI
  law.

The development of Alaveteli is sponsored and supported by a
  number of foundations and charities who are interested in
  transparency across the world.

If you would like to set up an Alaveteli website in your own
  country, we can help.  You will need a few days to get the site
  configured and ready to use, and will then have to spend at least an
  hour a week moderating and managing the site (more for busy
  websites).

Read more on the Alaveteli
  website, or drop us an
  email.

<% @title = "Making requests" %>

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

  <% if params[:country_name] %>

<%= _("Would you like to see a website like this in your country?") %>

  <% else %>

Powered by Alaveteli

  <% end %>

This website is powered by Alaveteli.  Alaveteli is free software
  for making Freedom of Information requests.  It can easily be
  translated into any language, and customised for variations of FOI
  law.

The development of Alaveteli is sponsored and supported by a
  number of foundataions and charities who are interested in
  transparency across the world.

If you would like to set up an Alaveteli website in your own
  country, we can help.  You will need a few days to get the site
  configured and ready to use, and will then have to spend at least an
  hour a week moderating and managing the site (more for busy
  websites).

Read more on the Alaveteli
  website, or drop us an
  email.


HTML syntax typo

HTML syntax typo

<%= error_messages_for 'public_body' %>

List of tags

    <% first_row = true %>
    <% for row in PublicBody.categories_with_headings %>
        <% if row.instance_of?(Array) %>
            <% if row[0] != 'other' %>
                <%= row[0] %>=<%= row[1] %>

            <% end %>
        <% elsif row != 'Miscellaneous' %>
            <% if not first_row %>
            <% else %>
                <% first_row = false %>
            <% end %>

<%=h row%>

        <% end %>
    <% end %>

Name

<%= text_field 'public_body', 'name', :size => 60  %>

Short name (only put in abbreviations which are really used, otherwise leave blank. Short or long name is used in the URL - don't worry about breaking URLs through renaming, as the history is used to redirect)

<%= text_field 'public_body', 'short_name', :size => 60  %>

Request email (set to blank (empty string) if can't find an address; to not_apply if FOI no longer / never did apply to authority; these emails are public as anyone can view with a CAPTCHA)

<%= text_field 'public_body', 'request_email', :size => 40  %>

Home page (of whole authority, not just their FOI page; set to blank (empty string) to guess it from the email)

<%= text_field 'public_body', 'home_page', :size => 60  %>

Public notes (for users to consider when making FOI requests to the authority)

<%= text_area 'public_body', 'notes', :rows => 3, :cols => 60  %>

Tags (space separated; see list of tags on the right)

<%= text_field 'public_body', 'tag_string', :size => 60  %>

Comment for this edit (put URL or other source of new info)

<%= text_area 'public_body', 'last_edit_comment', :rows => 3, :cols => 60  %>


Missing i18n string on user page

Missing i18n string on user page

<% if @show_requests %>
 <% @title = h(@display_user.name) + " - Freedom of Information requests" %>
<% else %>
 <% @title = h(@display_user.name) + " - user profile" %>
<% end %>

<% if (@same_name_users.size >= 1) %>

<%= _('There is more than one person who uses this site and has this name.
    One of them is shown below, you may mean a different one:')%> <% for @same_name_user in @same_name_users %>
        <%= user_link(@same_name_user) %>
    <% end %>
<% end%>

<% if @show_profile && @is_you && @undescribed_requests.size > 0 %>

<%= _('Please go to the following requests, and let us
        know if there was information in the recent responses to them.')%>

        <% for undescribed_request in @undescribed_requests %>

<%=request_link(undescribed_request)%>

        <% end %>

      <%= _('Thanks very much - this will help others find useful stuff. We\'ll
            also, if you need it, give advice on what to do next about your
            requests.')%>

<% end %>

<% if @show_profile %>

     <% if !@track_thing.nil? %>

<%= _('Track this person')%>

       <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>
     <% end %>
     <% if !@xapian_requests.nil? %>

<%= _('On this page')%>

       <%= _('FOI requests')%>

<%= _('Annotations')%>
     <% end %>

        <% if @display_user.profile_photo %>
            <% if @is_you %>
            <a href="<%= set_profile_photo_url() %>">
            <% end %>
                <img src="<%= get_profile_photo_url(:url_name => @display_user.url_name) %>" alt="">
            <% if @is_you %>

            <% end %>
        <% else %>
            <% if @is_you %>

                    <%= link_to _('Set your profile photo'), set_profile_photo_url() %>

            <% end %>
        <% end %>

 <%= h(@display_user.name) + (@is_you ? _(" (you)") : "") %>

       <%= _('Joined {{site_name}} in', :site_name=>site_name) %> <%= year_from_date(@display_user.created_at) %>
        <% if !@user.nil? && @user.admin_page_links? %>
        (<%= link_to "admin", user_admin_url(@display_user) %>)
        <% end %>

        <%= link_to _('Send message to ') + h(@display_user.name), contact_user_url(:id => @display_user.id) %>
        <% if @is_you %>
            (<%= _('just to see how it works')%>)
        <% end %>

    <% if @display_user.public_banned? %>

                  <%= _('This user has been banned from {{site_name}} ', :site_name=>site_name)%>

               <%= _('They have been given the following explanation:')%>

                <%= @display_user.can_fail_html %>

    <% end %>

    <% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>

            <%= @display_user.get_about_me_for_html_display %>
            <% if @is_you %>
                (<%= link_to _("edit text about you"), set_profile_about_me_url() %>)
            <% end %>

    <% end %>

    <% if @is_you %>

            <% if @display_user.profile_photo %>
                <%= link_to _('Change profile photo'), set_profile_photo_url() %> |
            <% end %>
            <%= link_to _('Change your password'), signchangepassword_url() %> |
            <%= link_to _('Change your email'), signchangeemail_url() %>

    <% end %>

    <% if not @is_you %>

           <%= _('Sign in to change password, subscriptions and more ({{user_name}} only)',:user_name=>h(@display_user.name)) % [signin_url(:r => request.request_uri)]%>

    <% end %>

<% end %>

<% if @show_requests %>

    <% form_tag(show_user_url, :method => "get", :id=>"search_form") do %>

        <%= text_field_tag(:user_query, params[:user_query]) %>
        <% if @is_you %>
            <%= submit_tag(_("Search your contributions")) %>
        <% else %>
            <%= submit_tag(_("Search contributions by this person")) %>
        <% end %>

    <% end %>

    <% if !@xapian_requests.nil? %>
        <% if @xapian_requests.results.empty? %>
            <% if @page == 1 %>

<%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %> <%= @match_phrase %>

<%= @is_you ? _('You have made no Freedom of Information requests using this site.') : _('This person has made no Freedom of Information requests using this site.') %>
                <%= @page_desc %>
            <% end %>
        <% else %>

                <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated.to_s : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests',  @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated %>

                <%= @match_phrase %>
                <%= @page_desc %>

            <% for result in @xapian_requests.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

            <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @display_user.info_requests.size) %>
        <% end %>
    <% else %>
      <% if @show_requests %>

<%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %>

<%= _('The search index is currently offline, so we can\'t show the Freedom of Information requests this person has made.')%>

      <% end %>
    <% end %>

    <% if !@xapian_comments.nil? %>
        <% if @xapian_comments.results.empty? %>
            <% if @page == 1 %>

<%= @is_you ? _('Your annotations') : _('This person\'s annotations') %>
                    <%= @match_phrase %>

<%= _('None made.')%>

            <% end %>
        <% else %>

                <%= @is_you ? n_('Your %d annotation', 'Your %d annotations', @display_user.visible_comments.size) % @display_user.visible_comments.size : n_('This person\'s %d annotation', 'This person\'s %d annotations', @display_user.visible_comments.size) % @display_user.visible_comments.size %>

                <%= @page_desc %>

            <% for result in @xapian_comments.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

            <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @display_user.visible_comments.size) %>
        <% end %>
    <% end %>

<% end %>
<% if @show_profile && @is_you %>
    <% if @track_things.empty? %>

 <%= _('Your email subscriptions')%>

<%= _('None made.')%>

    <% else %>

 Your <%=pluralize(@track_things.size, _('email subscription')) %>

        <% if @track_things_grouped.size == 1 %>
            <% form_tag({:controller => 'track', :action => 'delete_all_type'}, :class => "feed_form") do %>

                    <%=TrackThing.track_type_description(@track_things[0].track_type)%>
                    <%= hidden_field_tag 'track_type', @track_things[0].track_type %>
                    <%= hidden_field_tag 'user', @display_user.id %>
                    <%= hidden_field_tag 'r', request.request_uri %>
                    <% if @track_things.size > 1 %>
                        <%= submit_tag _('unsubscribe all') %>
                    <% end %>

            <% end %>
        <% end %>
        <% for track_type, track_things in @track_things_grouped %>
            <% if @track_things_grouped.size > 1 %>
                <% form_tag({:controller => 'track', :action => 'delete_all_type'}, :class => "feed_form") do %>

                        <%=TrackThing.track_type_description(track_type)%>
                        <%= hidden_field_tag 'track_type', track_type %>
                        <%= hidden_field_tag 'user', @display_user.id %>
                        <%= hidden_field_tag 'r', request.request_uri %>
                        <% if track_things.size > 1 %>
                            <%= submit_tag _('unsubscribe all')%>
                        <% end %>

                <% end %>
            <% end %>

            <% for track_thing in track_things %>

                    <% form_tag({:controller => 'track', :action => 'update', :track_id => track_thing.id}, :class => "feed_form") do %>

                            <%= track_thing.params[:list_description] %>
                            <%= hidden_field_tag 'track_medium', "delete", { :id => 'track_medium_' + track_thing.id.to_s } %>
                            <%= hidden_field_tag 'r', request.request_uri, { :id => 'r_' + track_thing.id.to_s }  %>
                            <%= submit_tag _('unsubscribe') %>

                    <% end %>

            <% end %>

        <% end %>
    <% end %>
<% end %>

<% if @show_requests %>
 <% @title = h(@display_user.name) + " - Freedom of Information requests" %>
<% else %>
 <% @title = h(@display_user.name) + " - user profile" %>
<% end %>

<% if (@same_name_users.size >= 1) %>

<%= _('There is more than one person who uses this site and has this name.
    One of them is shown below, you may mean a different one:')%> <% for @same_name_user in @same_name_users %>
        <%= user_link(@same_name_user) %>
    <% end %>
<% end%>

<% if @show_profile && @is_you && @undescribed_requests.size > 0 %>

<%= _('Please go to the following requests, and let us
        know if there was information in the recent responses to them.')%>

        <% for undescribed_request in @undescribed_requests %>

<%=request_link(undescribed_request)%>

        <% end %>

      <%= _('Thanks very much - this will help others find useful stuff. We\'ll
            also, if you need it, give advice on what to do next about your
            requests.')%>

<% end %>

<% if @show_profile %>

     <% if !@track_thing.nil? %>

<%= _('Track this person')%>

       <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>
     <% end %>
     <% if !@xapian_requests.nil? %>

<%= _('On this page')%>

       <%= _('FOI requests')%>

<%= _('Annotations')%>
     <% end %>

        <% if @display_user.profile_photo %>
            <% if @is_you %>
            <a href="<%= set_profile_photo_url() %>">
            <% end %>
                <img src="<%= get_profile_photo_url(:url_name => @display_user.url_name) %>" alt="">
            <% if @is_you %>

            <% end %>
        <% else %>
            <% if @is_you %>

                    <%= link_to _('Set your profile photo'), set_profile_photo_url() %>

            <% end %>
        <% end %>

 <%= h(@display_user.name) + (@is_you ? _(" (you)") : "") %>

       <%= _('Joined {{site_name}} in', :site_name=>site_name) %> <%= year_from_date(@display_user.created_at) %>
        <% if !@user.nil? && @user.admin_page_links? %>
        (<%= link_to "admin", user_admin_url(@display_user) %>)
        <% end %>

        <%= link_to _('Send message to ') + h(@display_user.name), contact_user_url(:id => @display_user.id) %>
        <% if @is_you %>
            (<%= _('just to see how it works')%>)
        <% end %>

    <% if @display_user.public_banned? %>

                  <%= _('This user has been banned from {{site_name}} ', :site_name=>site_name)%>

               <%= _('They have been given the following explanation:')%>

                <%= @display_user.can_fail_html %>

    <% end %>

    <% if !@display_user.get_about_me_for_html_display.empty? || @is_you %>

            <%= @display_user.get_about_me_for_html_display %>
            <% if @is_you %>
                (<%= link_to _("edit text about you"), set_profile_about_me_url() %>)
            <% end %>

    <% end %>

    <% if @is_you %>

            <% if @display_user.profile_photo %>
                <%= link_to _('Change profile photo'), set_profile_photo_url() %> |
            <% end %>
            <%= link_to _('Change your password'), signchangepassword_url() %> |
            <%= link_to _('Change your email'), signchangeemail_url() %>

    <% end %>

    <% if not @is_you %>

           <%= _('Sign in to change password, subscriptions and more ({{user_name}} only)',:user_name=>h(@display_user.name)) % [signin_url(:r => request.request_uri)]%>

    <% end %>

<% end %>

<% if @show_requests %>

    <% form_tag(show_user_url, :method => "get", :id=>"search_form") do %>

        <%= text_field_tag(:user_query, params[:user_query]) %>
        <% if @is_you %>
            <%= submit_tag(_("Search your contributions")) %>
        <% else %>
            <%= submit_tag(_("Search contributions by this person")) %>
        <% end %>

    <% end %>

    <% if !@xapian_requests.nil? %>
        <% if @xapian_requests.results.empty? %>
            <% if @page == 1 %>

<%= @is_you ? 'Freedom of Information requests made by you' : 'Freedom of Information requests made by this person' %> <%= @match_phrase %>

<%= @is_you ? _('You have made no Freedom of Information requests using this site.') : _('This person has made no Freedom of Information requests using this site.') %>
                <%= @page_desc %>
            <% end %>
        <% else %>

                <%= @is_you ? n_('Your %d Freedom of Information request', 'Your %d Freedom of Information requests', @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated.to_s : n_('This person\'s %d Freedom of Information request', 'This person\'s %d Freedom of Information requests',  @xapian_requests.matches_estimated.to_s) % @xapian_requests.matches_estimated %>

                <%= @match_phrase %>
                <%= @page_desc %>

            <% for result in @xapian_requests.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

            <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @display_user.info_requests.size) %>
        <% end %>
    <% else %>
      <% if @show_requests %>

<%= @is_you ? _('Freedom of Information requests made by you') : _('Freedom of Information requests made by this person') %>

<%= _('The search index is currently offline, so we can\'t show the Freedom of Information requests this person has made.')%>

      <% end %>
    <% end %>

    <% if !@xapian_comments.nil? %>
        <% if @xapian_comments.results.empty? %>
            <% if @page == 1 %>

<%= @is_you ? _('Your annotations') : _('This person\'s annotations') %>
                    <%= @match_phrase %>

<%= _('None made.')%>

            <% end %>
        <% else %>

                <%= @is_you ? n_('Your %d annotation', 'Your %d annotations', @display_user.visible_comments.size) % @display_user.visible_comments.size : n_('This person\'s %d annotation', 'This person\'s %d annotations', @display_user.visible_comments.size) % @display_user.visible_comments.size %>

                <%= @page_desc %>

            <% for result in @xapian_comments.results %>
                <%= render :partial => 'request/request_listing_via_event', :locals => { :event => result[:model], :info_request => result[:model].info_request } %>
            <% end %>

            <%= will_paginate WillPaginate::Collection.new(@page, @per_page, @display_user.visible_comments.size) %>
        <% end %>
    <% end %>

<% end %>
<% if @show_profile && @is_you %>
    <% if @track_things.empty? %>

 <%= _('Your email subscriptions')%>

<%= _('None made.')%>

    <% else %>

 Your <%=pluralize(@track_things.size, _('email subscription')) %>

        <% if @track_things_grouped.size == 1 %>
            <% form_tag({:controller => 'track', :action => 'delete_all_type'}, :class => "feed_form") do %>

                    <%=TrackThing.track_type_description(@track_things[0].track_type)%>
                    <%= hidden_field_tag 'track_type', @track_things[0].track_type %>
                    <%= hidden_field_tag 'user', @display_user.id %>
                    <%= hidden_field_tag 'r', request.request_uri %>
                    <% if @track_things.size > 1 %>
                        <%= submit_tag _('unsubscribe all') %>
                    <% end %>

            <% end %>
        <% end %>
        <% for track_type, track_things in @track_things_grouped %>
            <% if @track_things_grouped.size > 1 %>
                <% form_tag({:controller => 'track', :action => 'delete_all_type'}, :class => "feed_form") do %>

                        <%=TrackThing.track_type_description(track_type)%>
                        <%= hidden_field_tag 'track_type', track_type %>
                        <%= hidden_field_tag 'user', @display_user.id %>
                        <%= hidden_field_tag 'r', request.request_uri %>
                        <% if track_things.size > 1 %>
                            <%= submit_tag _('unsubscribe all')%>
                        <% end %>

                <% end %>
            <% end %>

            <% for track_thing in track_things %>

                    <% form_tag({:controller => 'track', :action => 'update', :track_id => track_thing.id}, :class => "feed_form") do %>

                            <%= track_thing.params[:list_description] %>
                            <%= hidden_field_tag 'track_medium', "delete", { :id => 'track_medium_' + track_thing.id.to_s } %>
                            <%= hidden_field_tag 'r', request.request_uri, { :id => 'r_' + track_thing.id.to_s }  %>
                            <%= submit_tag _('unsubscribe') %>

                    <% end %>

            <% end %>

        <% end %>
    <% end %>
<% end %>


Add p tags to make blockquote html valid.

<% @title = "Upload CSV of public authorities" %>

<%=@title%>

<% if not @notes.empty? %>

<%=@notes %>

<% end %>
<% if not @errors.empty? %>

<%=@errors %>

<% end %>

<% form_tag 'import_csv', :multipart => true do %>

    CSV file:
    <%= file_field_tag :csv_file, :size => 40 %>

    Optional: Tag to add entries to / alter entries for:
    <%= text_field_tag 'tag', params[:tag] %>

    What to do with existing tags?
    <%= select_tag 'tag_behaviour',
        "<option value='add' selected>Add new tags to existing ones</option>
         <option value='replace'>Replace existing tags with new ones</option>"
    %>

CSV file format: A first row with the list of fields,
    starting with '#', is optional but highly recommended. The fields 'name'
    and 'request_email' are required; additionally, translated values are supported by
    adding the locale name to the field name, e.g. 'name.es', 'name.de'... Example:

            #id,name,request_email,name.es,tag_string

            1,An Authority,a@example.com,Un organismo,a_tag another_tag

            2,Another One,another@example.com,Otro organismo,a_tag

Supported fields: name (i18n), short_name (i18n), request_email (i18n), notes (i18n),
    publication_scheme (i18n), home_page, tag_string (tags separated by spaces).

Note: Choose dry run to test, without
    actually altering the database. Choose upload to actually
    make the changes. In either case, you will be shown any errors, or details
    of the changes.  When uploading, any changes since last import will be
    overwritten - e.g.  email addresses changed back.

Note: The import tag will also be added to the imported bodies
    if no tags are provided in the CSV file or if the import mode is set to
    "Add new tags to existing ones".

<%= submit_tag 'Dry run' %> <%= submit_tag 'Upload' %>

<% end %>

Standard tags:
    <% for category, description in PublicBodyCategories::get().by_tag() %>
        <% if category != "other" %>
            <%= category %>=<%= description %>;
        <% end %>
    <% end %>


adding back profile links

adding back profile links


Thank the officers.

Thank the officers.

<% @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 never get a response?#

There are several things you can do if you never get a response.

Sometimes there has been a genuine problem and the authority never
    received the request. It is worth telephoning the authority and politely
    checking that they received the request. It was sent to them by email.

If they have not received it, the problem is most likely due to
    "spam filters". Refer the authority to the measures in the answer
    'I can see a request on WhatDoTheyKnow, but we never got it by email!'
    below.

If you're still having no luck, then you can ask for an internal review,
    and then complain to the Information Commissioner about the authority.
    Read our page 'Unhappy about the response you got?'.

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 Commissioner'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 Commissioner'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 Commissioner 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 personal information about me? #

If you see any personal information on the site which you'd like us to remove or hide,
then please let us know. We do not always remove it. In some
cases it will be in the public interest for the information to stay.

    Section 32 of the Data Protection Act 1998 permits us to do this, as the material
we publish is journalistic.

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, Tony Bowden and Richard Taylor.

    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.

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

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.

<% @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 never get a response?#

There are several things you can do if you never get a response.

Sometimes there has been a genuine problem and the authority never
    received the request. It is worth telephoning the authority and politely
    checking that they received the request. It was sent to them by email.

If they have not received it, the problem is most likely due to
    "spam filters". Refer the authority to the measures in the answer
    'I can see a request on WhatDoTheyKnow, but we never got it by email!'
    below.

If you're still having no luck, then you can ask for an internal review,
    and then complain to the Information Commissioner about the authority.
    Read our page 'Unhappy about the response you got?'.

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 Commissioner'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 Commissioner'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 Commissioner 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 personal information about me? #

If you see any personal information on the site which you'd like us to remove or hide,
then please let us know. We do not always remove it. In some
cases it will be in the public interest for the information to stay.

    Section 32 of the Data Protection Act 1998 permits us to do this, as the material
we publish is journalistic.

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.


Make sure user count check works for nil entries


Fix mailing list link

Fix mailing list link

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/'


[ClockingIT @ Initialize local variables too]


Partialized part of the feeding task form

<% if @average != nil %>
	<% if (@average < 20) && (@average > 14) %>
		<% suggested_amount = 1.5 * @cage.bats.length %>
	<% elsif @average > 20 %>
		<% suggested_amount = 1.0 * @cage.bats.length %>
	<% else %>
		<% suggested_amount = 2.0 * @cage.bats.length %>
	<% end %>
<% end %>

Food amount

<%= text_field 'task', 'food', :size => 1, :autocomplete => 'off', :value => suggested_amount %> g

<% if @average != nil %>
Suggested amount (E. fuscus): <%=h suggested_amount %> g (<%=h suggested_amount/@cage.bats.length %> g per bat) based on average weight of bats in cage.
<% end %>

Dish Type

<%= select_tag("task[dish_type]", options_for_select([["Small","Small"],["Medium","Medium"], ["Long","Long"],["Metal tray","Metal tray"]])) %>

Number of dishes

<%= text_field 'task', 'dish_num', :size => 1, :autocomplete => 'off' %>

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


Forgot to add this on my last commit.

Forgot to add this on my last commit.

<% bat = medical_problem_for_bat %>

<%= bat.band %>

  <% @list_all ? medical_problems = bat.medical_problems : medical_problems = bat.medical_problems.current %>

  <% for medical_problem in medical_problems %>
    <%=h medical_problem.title %>
    <%=h nice_date medical_problem.date_opened %>

    <% if medical_problem.date_closed == nil %>
    <%= link_to 'Close', :action => 'deactivate', :id => medical_problem %>
    <% else %>
    <%=h nice_date medical_problem.date_closed %>
    <% end %>

    <% if medical_problem.date_closed == nil %>
        <%= link_to 'Edit', :action => 'edit', :id => medical_problem %>
    <% end %>

    <% if medical_problem.date_closed == nil %>
        <%= link_to 'New Treatment', :controller => 'proposed_treatments', :action => 'new', :id => medical_problem %>
    <% else %>
        <%= link_to 'Reactivate', :action => 'reactivate', :id => medical_problem %>
    <% end %>

    <% for proposed_treatment in medical_problem.proposed_treatments %>
    <%= proposed_treatment.treatment %>

    <% end %>

  <% end %>

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