Make IE at least show the new milestone link

            <fieldset style="padding-top:0;">
              <legend><%=_ 'Edit Project' %></legend>
              <% form_tag :action => 'update', :id => @project do %>
              <%= render :partial => "form" %>
              <%= submit_tag _("Save"), :class => 'nolabel' %>
              <% end %>

              <% if @project.user_id == current_user.id || current_user.admin > 0%>

<%= link_to( _("Delete Project"), {:controller => 'projects', :action => 'destroy', :id => @project}, :confirm => "Really delete #{@project.name}?") %>

              <% end %>
              <% if current_user.can?( @project, 'grant' ) || current_user.admin > 0 %>

 <%= link_to( _("Complete Project"), {:controller => 'projects', :action => 'complete', :id => @project}, :confirm => "Really complete #{@project.name}?") %> <%= " " if @project.user_id == current_user.id %>

              <% end %>
            </fieldset>

          <% if current_user.can?( @project, 'milestone' ) %>

<%= link_to _('New'), :controller => "milestones", :action => 'new', :project_id => @project %>

          <% end %>

<%=_ 'Milestones' %>

              <% unless @project.new_record? %>
              <%= render :partial => "activities/overall_progress", :locals => { :project => @project } %>
              <% for milestone in @project.milestones.find(:all, :conditions => ["completed_at IS NULL"], :order => "due_at, milestones.name", :include => [:user]) %>
              <%= render :partial => "activities/milestone_row", :locals => { :milestone => milestone } %>
              <% end %>
	      <% else %>

              <% end %>

  <% if current_user.can?( @project, 'grant' ) %>

      <fieldset>
        <legend><%=_ 'Access To Project' %></legend>

<%= render :partial => "permission_list" %>

      </fieldset>

  <% end %>

            <fieldset style="padding-top:0;margin-top:-8px;">
              <legend><%=_ 'Edit Project' %></legend>
              <% form_tag :action => 'update', :id => @project do %>
              <%= render :partial => "form" %>
              <%= submit_tag _("Save"), :class => 'nolabel' %>
              <% end %>

              <% if @project.user_id == current_user.id || current_user.admin > 0%>

<%= link_to( _("Delete Project"), {:controller => 'projects', :action => 'destroy', :id => @project}, :confirm => "Really delete #{@project.name}?") %>

              <% end %>
              <% if current_user.can?( @project, 'grant' ) || current_user.admin > 0 %>

 <%= link_to( _("Complete Project"), {:controller => 'projects', :action => 'complete', :id => @project}, :confirm => "Really complete #{@project.name}?") %> <%= " " if @project.user_id == current_user.id %>

              <% end %>
            </fieldset>

<%=_ 'Milestones' %>

            <% if current_user.can?( @project, 'milestone' ) %>

<%= link_to _('New'), :controller => "milestones", :action => 'new', :project_id => @project %>

          <% end %>

              <% unless @project.new_record? %>
              <%= render :partial => "activities/overall_progress", :locals => { :project => @project } %>
              <% for milestone in @project.milestones.find(:all, :conditions => ["completed_at IS NULL"], :order => "due_at, milestones.name", :include => [:user]) %>
              <%= render :partial => "activities/milestone_row", :locals => { :milestone => milestone } %>
              <% end %>
              <% end %>

  <% if current_user.can?( @project, 'grant' ) %>

      <fieldset>
        <legend><%=_ 'Access To Project' %></legend>

<%= render :partial => "permission_list" %>

      </fieldset>

  <% end %>


mention that it's under the MIT license

mention that it's under the MIT license

Welcome to CiteParse!

CiteParse is an open-source application that classifies document citations into fielded data. You can use
    it as a web application
    or a <%= link_to "service", :contoller => "welcome", :action => "api_instructions" %>. You can also
    download the source and run CiteParse on your
    own server. CiteParse is distributed under the <a href="http://www.opensource.org/licenses/mit-license.php"MIT license.

CiteParse was inspired by
    ParsCit.
    Much thanks to ParsCit's maintainer, Isaac Councill.

CiteParse was developed through a partnership between the
    Brown
    University Library and Providence-based start-up
    Public Display,
    with funding from the Mellon Foundation.

CiteParse is implemented in Ruby on Rails and
    uses the CRF++ library
    implementation of conditional random fields. Our model is trained on the
    CORA dataset.

If you're interested in a tool like CiteParse, you should check out these other
    citation tools:

ParaCite

ParsCit

    <%= link_to "Let us know", :action => "feedback" %> of any other tools you'd like to see listed here.

<%= link_to "Please get in touch with us", :action => "feedback" %> if you have any feedback to share.

    <%= render :partial => "citations/parse_string" %>

<%= link_to "Learn about our API", :controller => "welcome", :action => "api_instructions" %>

Welcome to CiteParse!

CiteParse is an open-source application that classifies document citations into fielded data. You can use
    it as a web application
    or a <%= link_to "service", :contoller => "welcome", :action => "api_instructions" %>. You can also
    download the source and run CiteParse on your
    own server.

CiteParse was inspired by
    ParsCit.
    Much thanks to ParsCit's maintainer, Isaac Councill.

CiteParse was developed through a partnership between the
    Brown
    University Library and Providence-based start-up
    Public Display,
    with funding from the Mellon Foundation.

CiteParse is implemented in Ruby on Rails and
    uses the CRF++ library
    implementation of conditional random fields. Our model is trained on the
    CORA dataset.

If you're interested in a tool like CiteParse, you should check out these other
    citation tools:

ParaCite

ParsCit

    <%= link_to "Let us know", :action => "feedback" %> of any other tools you'd like to see listed here.

<%= link_to "Please get in touch with us", :action => "feedback" %> if you have any feedback to share.

    <%= render :partial => "citations/parse_string" %>

<%= link_to "Learn about our API", :controller => "welcome", :action => "api_instructions" %>


Handle params[:search] empty condition in field_search.

git-svn-id: b2ff2946fad280430023ee7ead77858f96a610fa@331 561dde7e-7729-0410-be8e-ef83869d6c7d

<% # We have to remove search form params before the url_for method call, otherwise it throughs it on %>
<% search_params = params %>
<% params.merge!(:search => nil) -%>
<% href = url_for(params_for(:action => :update_table, :escape => false)) -%>
<%= form_remote_tag :url => href,
                    :method => :get,
                    :before => "addActiveScaffoldPageToHistory('#{href}', '#{params[:controller]}')",
                    :after => "$('#{loading_indicator_id(:action => :search, :id => params[:id])}').style.visibility = 'visible'; Form.disable('#{search_form_id}');",
                    :complete => "$('#{loading_indicator_id(:action => :search, :id => params[:id])}').style.visibility = 'hidden'; Form.enable('#{search_form_id}');",
                    :failure => "ActiveScaffold.report_500_response('#{active_scaffold_id}')",
                    :update => active_scaffold_content_id,
                    :html => { :href => href, :id => search_form_id, :class => 'search' } %>

    <% active_scaffold_config.field_search.columns.each do |column| -%>
      <% name = "search[#{column.name}]" %>
      <% value = nil %>
      <% value = params[:search][column.name] if params[:search] %>

        <label for="<%= "search_#{column.name}" %>"><%= column.label %>
        <%= case column.ui_type
          when :boolean
            check_box_tag(name, 1, value || value == 1)
          else
            text_field_tag(name, value, { :autocomplete => "off", :size => 20, :class => 'text-input', :id => "search_#{column.name}"})
          end
        %>

    <% end -%>

  <%= submit_tag _('SEARCH_BUTTON'), :class => "submit" %>
  <%= _('RESET_BUTTON') -%>
  <%= loading_indicator_tag(:action => :search) %>
</form>

<% # We have to remove search form params before the url_for method call, otherwise it throughs it on %>
<% search_params = params %>
<% params.merge!(:search => nil) -%>
<% href = url_for(params_for(:action => :update_table, :escape => false)) -%>
<%= form_remote_tag :url => href,
                    :method => :get,
                    :before => "addActiveScaffoldPageToHistory('#{href}', '#{params[:controller]}')",
                    :after => "$('#{loading_indicator_id(:action => :search, :id => params[:id])}').style.visibility = 'visible'; Form.disable('#{search_form_id}');",
                    :complete => "$('#{loading_indicator_id(:action => :search, :id => params[:id])}').style.visibility = 'hidden'; Form.enable('#{search_form_id}');",
                    :failure => "ActiveScaffold.report_500_response('#{active_scaffold_id}')",
                    :update => active_scaffold_content_id,
                    :html => { :href => href, :id => search_form_id, :class => 'search' } %>

    <% active_scaffold_config.field_search.columns.each do |column| -%>
  		<% name = "search[#{column.name}]" %>

  			<label for="<%= "search_#{column.name}" %>"><%= column.label %>
				<%= case column.ui_type
					when :boolean
            check_box_tag(name, 1, params[:search][column.name] || params[:search][column.name] == 1)
					else
						text_field_tag(name, params[:search][column.name], { :autocomplete => "off", :size => 20, :class => 'text-input', :id => "search_#{column.name}"})
					end
				%>

  	<% end -%>

  <%= submit_tag _('SEARCH_BUTTON'), :class => "submit" %>
  <%= _('RESET_BUTTON') -%>
  <%= loading_indicator_tag(:action => :search) %>
</form>


fixed _form_attribute.rhtml so it doesn't pass text-related options to a non-textual input

<% # should we pass in :name on our own? %>
<% scope ||= nil %>
<% record ||= nil %>
<% object = record.nil? ? :record : record %>
<% name = scope.nil? ? "record[#{column.name}]" : "#{scope}[#{column.name}]" %>

<label for="<%= "record_#{column.name}" %>"><%= column.label %>
<%= if override_form_field?(column)
  send(override_form_field(column), object)
elsif is_file_column?(column, record)
  file_column_field('record', column.name)
elsif !column.association.nil? and column.ui_type == :select
  select(object, column.name, column.association.klass.find(:all).collect {|r| [r.to_label, r.id]}, {}, { :name => name })
else
  options = { :name => name }
  text_options = options.merge( :autocomplete => "off", :size => 20, :class => 'text-input' )
  if column.virtual?
    text_field(object, column.name, text_options)
  elsif [:text, :string, :integer, :float, :decimal].include?(column.column.type)
    input(object, column.name, text_options)
  else
    input(object, column.name, options)
  end
end
-%>

<% if column.description -%>

<%= column.description %>

<% end -%>

<% # should we pass in :name on our own? %>
<% scope ||= nil %>
<% record ||= nil %>
<% object = record.nil? ? :record : record %>
<% name = scope.nil? ? "record[#{column.name}]" : "#{scope}[#{column.name}]" %>

<label for="<%= "record_#{column.name}" %>"><%= column.label %>
<% if override_form_field?(column) -%>
	<%= send(override_form_field(column), object) %>
<% elsif !column.association.nil? and column.ui_type == :select -%>
  <%= select(object, column.name, column.association.klass.find(:all).collect {|r| [r.to_label, r.id]}, {}, { :name => name }) %>
<% elsif column.virtual? -%>
  <%= text_field(object, column.name, { :autocomplete => "off", :size => 20, :class => 'text-input', :name => name }) %>
<% else -%>
  <%= input(object, column.name, { :autocomplete => "off", :size => 20, :class => 'text-input', :name => name }) %>
<% end -%>

<% if column.description -%>

<%= column.description %>

<% end -%>


Test showed this page wasn't valid HTML

Test showed this page wasn't valid HTML

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


add missing code for administrators partial of page sidebar view

<% @page.groups.each do |g| -%>
  <%= link_to_group g, :avatar => 'tiny', :style => 'width:10em' %>
<% end -%>
<% @page.users_with_access.each do |u| -%>
  <%= link_to_user u, :avatar => 'tiny', :style => '' %>
<% end -%>


fixed references to partial

fixed references to partial

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

Edit Review

<%if(ReviewFeedback.find(:first,:conditions =>["review_id = ? and assignment_id = ?", @review.id, @assgt.id]))
                        review_feedback_text = ReviewFeedback.find(:first,:conditions =>["review_id = ? and assignment_id = ?", @review.id, @assgt.id]).txt
%>

Author's feedback:

<%=review_feedback_text%>

<% end%>
<%= render :partial => 'wiki' %>
<%= start_form_tag :action => 'update_review' %>
<%= render :partial => 'reviewContent' %>
<%= hidden_field_tag('review_id', @review.id) %>
    <%= hidden_field_tag('mapping_id', @mapping.id) %>
    <%= hidden_field_tag('assgt_id', @assgt.id) %>
    <%= submit_tag "Edit Review", :name=>"save" %>
<%= end_form_tag %>

<%= link_to 'Back', :action => 'list_reviews', :id => @assgt.id %>

Edit Review

<%if(ReviewFeedback.find(:first,:conditions =>["review_id = ? and assignment_id = ?", @review.id, @assgt.id]))
                        review_feedback_text = ReviewFeedback.find(:first,:conditions =>["review_id = ? and assignment_id = ?", @review.id, @assgt.id]).txt
%>

Author's feedback:

<%=review_feedback_text%>

<% end%>
<%= render :partial => 'wiki' %>
<%= start_form_tag :action => 'update_review' %>
<%= render :partial => 'reviewContentforEdit' %>
<%= hidden_field_tag('review_id', @review.id) %>
    <%= hidden_field_tag('mapping_id', @mapping.id) %>
    <%= hidden_field_tag('assgt_id', @assgt.id) %>
    <%= submit_tag "Edit Review", :name=>"save" %>
<%= end_form_tag %>

<%= link_to 'Back', :action => 'list_reviews', :id => @assgt.id %>


support for signup, forgot passwd to be added later

<%content_for("left") do-%>

Login:

  <%if @login_failed_user-%>
Invalid username or password.
<%end-%>
  <% form_tag :action => 'login'do -%>

Username

  <%= text_field 'person', 'username', :size => 30, :value => @login_failed_user  %>

Password

  <%= password_field 'person', 'password', :size => 30  %>

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

<%end-%>

<%content_for("right") do-%>

<%end-%>

<%content_for("left") do-%>

Login:

  <%if @login_failed_user-%>
Invalid username or password.
<%end-%>
  <% form_tag :action => 'login'do -%>

Username

  <%= text_field 'person', 'username', :size => 30, :value => @login_failed_user  %>

Password

  <%= password_field 'person', 'password', :size => 30  %>

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

Register

Forgot password?

Privacy policy

<%end-%>

<%content_for("right") do-%>

<%end-%>


Initial work on support for hidden columns in forms.

<% scope ||= nil %>
<% if column.form_ui == :hidden %>
  <%= active_scaffold_input_for column, scope %>
<% else %>

    <label for="<%= "record_#{column.name}" %>"><%= column.label %>

    <%= active_scaffold_input_for column, scope %>
    <% if column.description -%>
      <%= column.description %>
    <% end -%>

<% end %>

<% scope ||= nil %>

    <label for="<%= "record_#{column.name}" %>"><%= column.label %>

    <%= active_scaffold_input_for column, scope %>
    <% if column.description -%>
      <%= column.description %>
    <% end -%>


Fixes to help, mainly thanks Tony.

Fixes to help, mainly thanks Tony.

<% @title = "About" %>

Contact us

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

Introduction to WhatDoTheyKnow

What is WhatDoTheyKnow for?

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

How does the site work?

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

Why would I bother to do this?

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

Why would the public authority bother to reply?

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

Who makes it?

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

Making requests

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

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

How quickly will I get a response?

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

What if I'm not satisfied with the response?

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

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

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

Can I request information about myself?

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

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

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

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

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

So can I request information using EIR from other authorities?

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

Privacy questions

Who gets to see my email address?

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

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

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

Why will my name appear publically on the site?

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

So I can make an FOI request using a pseudonym?

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

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

They've asked for my postal address!

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

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

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

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

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

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

How do you moderate request annotations?

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

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

FOI officer questions

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

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

The FOI request you got 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 copyright 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?

Freedom of Information responses contain public information, which anybody could
easily request again from the public authority. Therefore,
there is no reason they shouldn't be published on the Internet. There are lots
of benefits - everything from preventing duplicate requests, to getting the public
more involved and interested in the work of government.

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.

Won't I be breaking copyright law by sending a response that you then publish?

No, you will simply be replying to an FOI request by email (the "expressed
preference" of the requester, under
section
11(1) of the Freedom of Information Act). That we are later republishing your
response is a separate matter of copyright law, and not something which FOIA lists
as a reason for rejecting a request.

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

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

Do you publish email addresses or mobile phone numbers?

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

Can you take down private information about me?

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

Credit where credit is due

Which people made WhatDoTheyKnow?

Oh, nearly everyone (and maybe you too)!

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

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

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

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

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

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

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

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

You're all stars.

<% @title = "About" %>

Contact us

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

Introduction to WhatDoTheyKnow

What is WhatDoTheyKnow for?

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

How does the site work?

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

Why would I bother to do this?

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

Why would the public authority bother to reply?

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

Who makes it?

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

Making requests

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

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

How quickly will I get a response?

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

What if I'm not satisfied with the response?

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

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

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

Can I request information about myself?

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

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

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

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

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

So can I request information using EIR from other authorities?

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

Privacy questions

Who gets to see my email address?

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

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

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

Why will my name appear publically on the site?

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

So I can make an FOI request using a pseudonym?

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

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

They've asked for my postal address!

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

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

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

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

Freedom of Information responses contain public information, which anybody could
easily request again from the public authority. Therefore,
there is no reason they shouldn't be published on the Internet. There are lots
of benefits - everything from preventing duplicate requests, to getting the public
more involved and interested in the work of government.

Are the people making requests real people?

Yes. The people are real people, for whom we have a verified email address
unique to each person.

Each request made by each person is also given a unique email, so that we
can keep track of and publish the responses. 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.

Won't I be breaking copyright law by sending a response that you then publish?

No, you will simply be replying to an FOI request by email (the "expressed
preference" of the requester, under
section
11(1) of the Freedom of Information Act). That we are later republishing your
response is a separate matter of copyright law, and not something which FOIA lists
as a reason for rejecting a request.

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

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

Do you publish email addresses or mobile phone numbers?

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

Can you take down private information about me?

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

Credit where credit is due

Which people made WhatDoTheyKnow?

Oh, nearly everyone (and maybe you too)!

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

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

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

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

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

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

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

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

You're all stars.


Help us out FAQ

Help us out FAQ

<% @title = "About" %>

Contact us

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

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

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

How does the site work? #

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

Why would I bother to do this? #

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

Why would the public authority bother to reply? #

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

Who makes it? #

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

Making requests #

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

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

How quickly will I get a response? #

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

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

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

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

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

Can I request information about myself? #

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 Subject
Access - A guide for data subjects (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.

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

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

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

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

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

They've asked for my postal address! #

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

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

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

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

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

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

How do you moderate request annotations? #

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

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

FOI officer questions #

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

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

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

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

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

Why are you publishing responses to FOI requests? #

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

Are the people making requests real people? #

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

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

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

Aren't you making lots of vexatious requests? #

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

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

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

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

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

Do you publish email addresses or mobile phone numbers? #

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

Can you take down private information about me? #

If you see any information on the site which you'd like us to remove or
hide, then please let us know. We'll then
remove it, provided it is genuinely private information. In particular, we
will remove remarks that are irrelevantly personal.

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

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.


git-svn-id: svn://beonebody.org/onebody/trunk@231 88fc0095-4724-0410-ab6c-c99dba55acc4

News

All news here is also available at <%= link_to NEWS_SIMPLE_URL, NEWS_URL %>.

<% @news_items.each do |news_item| %>
  <%= render :partial => 'news_item', :locals => {:news_item => news_item} %>
<% end %>

News

All news here is also available here: <%= link_to NEWS_SIMPLE_URL, NEWS_URL %>

<% @news_items.each do |news_item| %>
  <%= render :partial => 'news_item', :locals => {:news_item => news_item} %>
<% end %>


Check-in of one missing file from jQuery refactor.

<%
	user = if defined? current_user then current_user else nil end
%>

<div id="comment_<%=note.id%>" class="comment comment-<%= odd %>" style="margin-left:<%= note.depth * 5 %>em">
	<a name="comment_<%=note.id%>">

	<div class="text" id="note_<%=note.id%>">
		<%= note.to_html %>

<% if user && user == note.user %>
<%= in_place_editor("note_#{note.id}",
                    { :url => url_for({ :action => "set_note_body",
                                        :id => note.id }) }) %>
<% end %>

		by <%= link_to (note.user.display_name,
	                           { :controller => 'user',
	                               :action => 'profile',
	                               :user_id => note.user.id }) %>

	<div id="comment_form_<%= note.id %>">


paragraphize a user's about on their profile page

<%=h @user.login %>

<% if @user.about %>

<%= paragraphize @user.about %>

<% end %>

<% unless @user.tags.empty? %>

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

<% end %>

<%= render :partial => 'items/item_table', :locals => { :items => @items } %>
<%= will_paginate @items %>

<%=h @user.login %>

<% if @user.about %>

<%= h @user.about %>

<% end %>

<% unless @user.tags.empty? %>

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

<% end %>

<%= render :partial => 'items/item_table', :locals => { :items => @items } %>
<%= will_paginate @items %>


ActionItem745: change text for article moderation option

<%= _('General information') %>

  <%= _('Display name') %>

    <%= text_field_tag 'profile_data[nickname]', @profile_data.nickname, :id => 'profile_data_nickname', :size => 30, :maxlength => 16 %>
    <%= _('A short name by which the organization is know.')%>

  <%= f.text_field(:acronym) %>
  <%= f.text_field(:foundation_year) %>
  <%= f.text_field(:contact_person) %>
  <%= f.text_field(:contact_email) %>
  <%= f.text_field(:legal_form) %>
  <%= f.text_field(:economic_activity) %>
  <%= f.text_area(:management_information, :rows => 5) %>
  <%= f.text_area(:description, :rows => 5) if @profile.kind_of?(Community) %>

<%= _('Moderation options') %>

  <%= _('New members must be approved:')%>

    <%= radio_button 'profile_data', 'closed', 'true', :style => 'float: left' %>

      <%= _('Before joining this group (a moderator has to accept the member in pending request before member can access the intranet and/or the website).') %>

    <%= radio_button 'profile_data', 'closed', 'false', :style => 'float: left' %>

      <%= _('After joining this group (a moderator can always desactivate access for users later).') %>

  <%= _('New articles posted by members of this group must be approved:')%>

    <%= radio_button 'profile_data', 'moderated_articles', 'true', :style => 'float: left' %>

      <%= _('Before being published in this group (a moderator has to accept the article in pending request before the article be listed as a article of this group.') %>

    <%= radio_button 'profile_data', 'moderated_articles', 'false', :style => 'float: left' %>

      <%= _('After being published in this group (a moderator can always remove publicated articles later).') %>

<%= _('General information') %>

  <%= _('Display name') %>

    <%= text_field_tag 'profile_data[nickname]', @profile_data.nickname, :id => 'profile_data_nickname', :size => 30, :maxlength => 16 %>
    <%= _('A short name by which the organization is know.')%>

  <%= f.text_field(:acronym) %>
  <%= f.text_field(:foundation_year) %>
  <%= f.text_field(:contact_person) %>
  <%= f.text_field(:contact_email) %>
  <%= f.text_field(:legal_form) %>
  <%= f.text_field(:economic_activity) %>
  <%= f.text_area(:management_information, :rows => 5) %>
  <%= f.text_area(:description, :rows => 5) if @profile.kind_of?(Community) %>

<%= _('Moderation options') %>

  <%= _('New members must be approved:')%>

    <%= radio_button 'profile_data', 'closed', 'true', :style => 'float: left' %>

      <%= _('Before joining this group (a moderator has to accept the member in pending request before member can access the intranet and/or the website).') %>

    <%= radio_button 'profile_data', 'closed', 'false', :style => 'float: left' %>

      <%= _('After joining this group (a moderator can always desactivate access for users later).') %>

  <%= _('New articles must be approved:')%>

    <%= radio_button 'profile_data', 'moderated_articles', 'true', :style => 'float: left' %>

      <%= _('Before being published in this group (a moderator has to accept the article in pending request before the article be listed as a article of this group.') %>

    <%= radio_button 'profile_data', 'moderated_articles', 'false', :style => 'float: left' %>

      <%= _('After being published in this group (a moderator can always remove publicated articles later).') %>


updated the about box

updated the about box

  <title>The Best of ... on Hacker News</title>
  <meta name="description" content="The best comments on Hacker News, charts, PDF export.">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

permalink

bookmarklet

button

info

            <form action="" method="POST" id="target">
              The best
              <select name="limit" id="limit">
                <option value="10">10</option>
                <option value="25">25</option>
                <option value="50">50</option>
                <option value="75">75</option>
                <option value="100" selected>100</option>
              </select>
              comments by <input type="text" id="username" name="username">
              <input class="not-field" name="show-html" type="submit" onclick="hn.generateChart(); return false;" value="Show" />
              <input class="not-field" name="show-pdf" type="button" onclick="$('#target').submit();" value="PDF eBook" />
            </form>

          powered by

            hnsearch and
            pdfcrowd

          source	https://github.com/pdfcrowd/hnstuff

          feedback	redpill27@gmail.com

      <input readonly="readonly" type="text" value="" size="60";/>

        Drag the button below to your browsers toolbar. When you are
        on a user's account page, simply click the button to see
        his/her best comments.

          HN Best of

      <textarea rows="5" cols="80" readonly="readonly">
        ..
      </textarea>

      <% if (c.error !== undefined) { %>
        <%= c.error %>
      <% } %>

        This page requires JavaScript enabled.

Distribution of Comments

        The markers are clickable, the size is proportional to the comment length.

  <title>The Best of ... on Hacker News</title>
  <meta name="description" content="The best comments on Hacker News, charts, PDF export.">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

permalink

bookmarklet

button

info

            <form action="" method="POST" id="target">
              The best
              <select name="limit" id="limit">
                <option value="10">10</option>
                <option value="25">25</option>
                <option value="50">50</option>
                <option value="75">75</option>
                <option value="100" selected>100</option>
              </select>
              comments by <input type="text" id="username" name="username">
              <input class="not-field" name="show-html" type="submit" onclick="hn.generateChart(); return false;" value="Show" />
              <input class="not-field" name="show-pdf" type="button" onclick="$('#target').submit();" value="PDF eBook" />
            </form>

      powered by
      hnsearch and
      pdfcrowd |
      source |
      feedback: redpill27@gmail.com

      <input readonly="readonly" type="text" value="" size="60";/>

        Drag the button below to your browsers toolbar. When you are
        on a user's account page, simply click the button to see
        his/her best comments.

          HN Best of

      <textarea rows="5" cols="80" readonly="readonly">
        ..
      </textarea>

      <% if (c.error !== undefined) { %>
        <%= c.error %>
      <% } %>

        This page requires JavaScript enabled.

Distribution of Comments

        The markers are clickable, the size is proportional to the comment length.


set body to 100%

set body to 100%

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            <form action="" method="POST" id="target">
              The best
              <select name="limit" id="limit">
                <option value="10">10</option>
                <option value="25">25</option>
                <option value="50">50</option>
                <option value="75">75</option>
                <option value="100" selected>100</option>
              </select>
              comments by <input type="text" id="username" name="username">
              <input name="show-html" type="submit" onclick="hn.generateChart();return false;" value="Show" />
              <input name="show-pdf" type="button" onclick="$('#target').submit();" value="PDF E-book" />
            </form>

          about

      powered by
      hnsearch and
      pdfcrowd |
      source |
      feedback: redpill27@gmail.com

      <% if (c.error !== undefined) { %>
        <%= c.error %>
      <% } %>

        This page requires JavaScript enabled.

Distribution of Comments

The marker size is proportional to the comment length.


removing superflurous reference to request.original_co_params, a method that is going away

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title><%= AppConfig.param("app_name") %> | <%= @page_title %></title>
 <%= stylesheet_link_tag 'basic' %>

<%= render(:partial => "layout_helpers/resolve_head_content" ) %>

<%= render(:partial => "layout_helpers/resolve_body_open" ) %>

  <%= image_tag('/local/header.gif', :style=>"float: left;")
  %>

URL:
        <% url = permalink_url(request, @user_request) %>
        <%= link_to url, url %>

    <%= @content_for_layout %>

  FindIt service provided by <%= link_to 'Johns Hopkins Libraries', 'http://webapps.jhu.edu/jhuniverse/libraries/' %> | Powered by <%= link_to 'Umlaut', 'http://umlaut.rubyforge.org/' %>, using services from <%= link_to 'SFX', 'http://www.exlibrisgroup.com/sfx.htm' %>, <%= link_to 'CrossRef', 'http://www.crossref.org' %>, <%= link_to 'Amazon', 'http://www.amazon.com' %>, <%= link_to 'OCLC Worldcat', 'http://www.worldcat.org' %>, <%= link_to 'ISBNdb', 'http://isbndb.com' %> and others.
  <% if AppConfig.param('main_sfx_base_url') && @user_request %>
    <%=
    url = AppConfig.param('main_sfx_base_url');
    url += '?'
    url += @user_request.to_context_object.kev
    url += "&sfx.ignore_date_threshold=1" if title_level_request?

    link_to('[S]', url, :target=>'_blank') %>
  <% end %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title><%= AppConfig.param("app_name") %> | <%= @page_title %></title>
 <%= stylesheet_link_tag 'basic' %>

<%= render(:partial => "layout_helpers/resolve_head_content" ) %>

<%= render(:partial => "layout_helpers/resolve_body_open" ) %>

  <%= image_tag('/local/header.gif', :style=>"float: left;")
  %>

URL:
        <% url = permalink_url(request, @user_request) %>
        <%= link_to url, url %>

    <%= @content_for_layout %>

  FindIt service provided by <%= link_to 'Johns Hopkins Libraries', 'http://webapps.jhu.edu/jhuniverse/libraries/' %> | Powered by <%= link_to 'Umlaut', 'http://umlaut.rubyforge.org/' %>, using services from <%= link_to 'SFX', 'http://www.exlibrisgroup.com/sfx.htm' %>, <%= link_to 'CrossRef', 'http://www.crossref.org' %>, <%= link_to 'Amazon', 'http://www.amazon.com' %>, <%= link_to 'OCLC Worldcat', 'http://www.worldcat.org' %>, <%= link_to 'ISBNdb', 'http://isbndb.com' %> and others.
  <% if AppConfig.param('main_sfx_base_url') && @user_request && @user_request.original_co_params %>
    <%=
    url = AppConfig.param('main_sfx_base_url');
    url += '?'
    url += @user_request.to_context_object.kev
    url += "&sfx.ignore_date_threshold=1" if title_level_request?

    link_to('[S]', url, :target=>'_blank') %>
  <% end %>


Wasn't initializing lat/long/alt in species list form. Need to write test along lines of the infamous post-observation integration test. That's too major an undertaking for right now.

<% if @checklist && @checklist != [] %>

    <%= :form_species_lists_species_to_add.t %>:

    <% i = 0
    for (name, id) in @checklist.sort_by(&:first) %>
      <%= check_box("checklist_data", id, { :checked => @checklist_names[id] }) %>
      <%= name.t %>

    <% end %>

<% end %>

  <%= render(:partial => 'shared/form_list_feedback') %>

  	<%= :form_species_lists_write_in_species.t %>

  	<%= text_area('list', 'members', :value => @list_members, :rows => 20, :cols => 80) %>
    <%= turn_into_name_auto_completer('list_members', :primer => @name_primer, :token => "\n") %>

  	<%= :form_species_lists_title.t %>:
      (<%= :required.t %>)

  	<%= text_field('species_list', 'title', :size => 60) %>

  	<%= :form_species_lists_list_notes.t
      %>:

  	<%= text_area('species_list', 'notes', :rows => 6, :cols => 80) %>

  <%= render(:partial => 'shared/textilize_help') %>

  	<%= :WHEN.t %>:

  	<%= date_select('species_list', 'when', :start_year => 1980,
                    :end_year => Time.now.year) %>

  <% if @dubious_where_reasons and (@dubious_where_reasons != []) %>

      <%= @dubious_where_reasons.join('
') %>

        <%= :form_observations_dubious_help.t(:button => button_name) %>

  <% end %>

  	<%= :WHERE.t %>:
      (<%= :required.t %>)

    <%= text_field('species_list', 'place_name', :size => 60) %>

  <%= turn_into_location_auto_completer('species_list_place_name') %>

    <%= :form_species_lists_confidence.t %>:
    <%= select('member', 'value', translate_menu(Vote.confidence_menu)) %>

  	<%= :form_species_lists_member_notes.t %>:

  	<%= text_area('member', 'notes', :value => @member_notes, :rows => 3, :cols => 80) %>

    <%= :LATITUDE.t %>: <%=
      text_field('member', 'lat', :size => 12, :value => @member_lat) %>
    <%= :LONGITUDE.t %>: <%=
      text_field('member', 'long', :size => 12, :value => @member_long) %>
    <%= :ALTITUDE.t %>: <%=
      text_field('member', 'alt', :size => 12, :value => @member_alt) %>
    <%= :form_observations_lat_long_help.t %>

    <%= check_box('member', 'is_collection_location', :checked => @member_is_collection_location) %>
      <%=
      :form_observations_is_collection_location.t %>

    <%=
      :form_observations_is_collection_location_help.t %>

    <%= check_box('member', 'specimen', :checked => @member_specimen) %>
      <%=
      :form_observations_specimen_available.t %>

    <%=
      :form_observations_specimen_available_help.t %>

  <%= :form_species_lists_bulk_help.t %>

  <%= focus_on('list_members') %>

<% if @checklist && @checklist != [] %>

    <%= :form_species_lists_species_to_add.t %>:

    <% i = 0
    for (name, id) in @checklist.sort_by(&:first) %>
      <%= check_box("checklist_data", id, { :checked => @checklist_names[id] }) %>
      <%= name.t %>

    <% end %>

<% end %>

  <%= render(:partial => 'shared/form_list_feedback') %>

  	<%= :form_species_lists_write_in_species.t %>

  	<%= text_area('list', 'members', :value => @list_members, :rows => 20, :cols => 80) %>
    <%= turn_into_name_auto_completer('list_members', :primer => @name_primer, :token => "\n") %>

  	<%= :form_species_lists_title.t %>:
      (<%= :required.t %>)

  	<%= text_field('species_list', 'title', :size => 60) %>

  	<%= :form_species_lists_list_notes.t
      %>:

  	<%= text_area('species_list', 'notes', :rows => 6, :cols => 80) %>

  <%= render(:partial => 'shared/textilize_help') %>

  	<%= :WHEN.t %>:

  	<%= date_select('species_list', 'when', :start_year => 1980,
                    :end_year => Time.now.year) %>

  <% if @dubious_where_reasons and (@dubious_where_reasons != []) %>

      <%= @dubious_where_reasons.join('
') %>

        <%= :form_observations_dubious_help.t(:button => button_name) %>

  <% end %>

  	<%= :WHERE.t %>:
      (<%= :required.t %>)

    <%= text_field('species_list', 'place_name', :size => 60) %>

  <%= turn_into_location_auto_completer('species_list_place_name') %>

    <%= :form_species_lists_confidence.t %>:
    <%= select('member', 'value', translate_menu(Vote.confidence_menu)) %>

  	<%= :form_species_lists_member_notes.t %>:

  	<%= text_area('member', 'notes', :value => @member_notes, :rows => 3, :cols => 80) %>

    <%= :LATITUDE.t %>: <%= text_field('member', 'lat', :size => 12) %>
    <%= :LONGITUDE.t %>: <%= text_field('member', 'long', :size => 12) %>
    <%= :ALTITUDE.t %>: <%= text_field('member', 'alt', :size => 12) %>
    <%= :form_observations_lat_long_help.t %>

    <%= check_box('member', 'is_collection_location', :checked => @member_is_collection_location) %>
      <%=
      :form_observations_is_collection_location.t %>

    <%=
      :form_observations_is_collection_location_help.t %>

    <%= check_box('member', 'specimen', :checked => @member_specimen) %>
      <%=
      :form_observations_specimen_available.t %>

    <%=
      :form_observations_specimen_available_help.t %>

  <%= :form_species_lists_bulk_help.t %>

  <%= focus_on('list_members') %>


moved repo add to repo ne

moved repo add to repo ne

Add Repo

<% form_for :repo do |form| %>
<%= error_messages_for "repo" %>

			Name:
			<%= form.text_field :name, :size => Repodb::NAME_SIZE, :maxlength => Repodb::NAME_MAX_LENGTH %>

			Description:
			<%= form.text_field :desc, :size => Repodb::NAME_SIZE %>

			Private:
			<%= form.check_box :is_private%>

			<%= submit_tag "Add Repo", :class => "submit" %>

<% end %>


adding cancel link to posts/quote

adding cancel link to posts/quote

git-svn-id: 295275ead0c997ff8920a9abe88dec0903829be9@526 9c008b19-a030-0410-9975-d76d301b4276

<% @post = Post.new unless @post %>
<% form_for @post do |f| -%>

    Post a Reply

      <%= f.hidden_field :topic_id, :value => @topic.id %>
      <%= f.text_area :body, :value => @body, :rows => '8', :style => "width:66%;" %>

        <%= submit_tag "Post Reply", :disable_with => "Post Reply" %>
        <%= link_to('Upload a New File', new_upload_path, :popup => ['height=530,width=820,status=1']) %>
        <%= link_to('Cancel', topic_post_path(params[:id])) if current_action == 'quote' %>

<% end %>

<% @post = Post.new unless @post %>
<% form_for @post do |f| -%>

    Post a Reply

      <%= f.hidden_field :topic_id, :value => @topic.id %>
      <%= f.text_area :body, :value => @body, :rows => '8', :style => "width:66%;" %>

        <%= submit_tag "Post Reply", :disable_with => "Post Reply" %> or
        <%= link_to('Upload a New File', new_upload_path, :popup => ['height=530,width=820,status=1']) %>

<% end %>


Formatting stuff

Formatting stuff

Do Treatment

<% form_tag :action => 'medical_task_done', :id => @task do %>

Bat

<%= @medical_problem.bat.band %>

Medical Problem

<%= @medical_problem.title %>

Description

<%= @medical_problem.description %>

Treatment

<%= @medical_treatment.title %>

Weight

<%= text_field 'bat', 'weight', :size=>2, :autocomplete => 'off' %> g

<% if @medical_problem.bat.cage.fed_today? == true %>
<%= check_box 'checkbox', 'after_eating', :checked=> 'checked' %>
<%else%>
<%= check_box 'checkbox', 'after_eating' %>
<% end %>
After Eating

Date Treatment Given

<%= datetime_select 'task_history', 'date_done' %>

Remarks

<%= text_area 'task_history', 'remarks', :rows => 2  %>

<%= submit_tag "Medical Treatment Done" %>
<% end %>

<%= render :partial => 'tasks/show_all_task_histories', :locals => {:task => @task} %>

<%= render :partial => 'bats/display_weights', :locals => {:bat => @medical_problem.bat} %>

Do Treatment

<% form_tag :action => 'medical_task_done', :id => @task do %>

Bat

<%= @medical_problem.bat.band %>

Medical Problem

<%= @medical_problem.title %>

Description

<%= @medical_problem.description %>

Treatment

<%= @medical_treatment.title %>

Weight

<%= text_field 'bat', 'weight', :size=>2, :autocomplete => 'off' %> g

After Eating?

<% if @medical_problem.bat.cage.fed_today? == true %>
<%= check_box 'checkbox', 'after_eating', :checked=> 'checked' %>
<%else%>
<%= check_box 'checkbox', 'after_eating' %>
<% end %>

Date Treatment Given

<%= datetime_select 'task_history', 'date_done' %>

Remarks

<%= text_area 'task_history', 'remarks', :rows => 2  %>

<%= submit_tag "Medical Treatment Done" %>
<% end %>

<%= render :partial => 'tasks/show_all_task_histories', :locals => {:task => @task} %>

<%= render :partial => 'bats/display_weights', :locals => {:bat => @medical_problem.bat} %>


Don't display slideshow button for empty galleries

  <%= @page.body %>

  <% if @images.empty? %>

<%= _('This gallery contains no images yet') %>

  <% else %>

<%= button(:slideshow, _('View slideshow'), @page.url.merge(:slideshow => true))%>

  <% end %>

      <% @images.each do |a| %>
        <% content_tag('li', :title => a.abstract, :class => 'image-gallery-item' ) do %>
          <%= render :partial => partial_for_class(a.class), :object => a %>
        <% end %>
      <% end %>

  <%= will_paginate @images, :param_name => 'npage' %>

  <%= @page.body %>

<%= button(:slideshow, _('View slideshow'), @page.url.merge(:slideshow => true))%>

      <% @images.each do |a| %>
        <% content_tag('li', :title => a.abstract, :class => 'image-gallery-item' ) do %>
          <%= render :partial => partial_for_class(a.class), :object => a %>
        <% end %>
      <% end %>

  <%= will_paginate @images, :param_name => 'npage' %>


Formatting of profile photo link

Formatting of profile photo link

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

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

Track this person

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

On this page

    FOI requests

Annotations
    <% if @is_you %>

Email subscriptions
    <% end %>

<%=@title%>

        Joined WhatDoTheyKnow in <%= 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)

<%= link_to "Change your password", signchangepassword_url() %> |
            <%= link_to "Change your email", signchangeemail_url() %> |
            <%= link_to "Set profile photo", profile_photo_url() %>
        <% end %>

    <% if not @is_you %>

            If you are <%=h @display_user.name %>, <%= link_to "sign in", signin_url(:r => request.request_uri) %> to change your password or alter your subscriptions.

    <% end %>

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

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

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

            <% end %>
        <% else %>

                <%= @is_you ? 'Your ' : "This person's " %>
                <%=pluralize(@display_user.info_requests.size, "Freedom of Information request") %>

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

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

The search index is currently offline, so we can't show the Freedom of Information requests this person has made.

    <% end %>

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

<%= @is_you ? 'Your' : 'This person\'s' %> annotations

None made.

            <% end %>
        <% else %>

                <%= @is_you ? 'Your ' : "This person's " %>
                <%=pluralize(@display_user.visible_comments.size, "annotation") %>

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

    <% if @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' 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' 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 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 %>


ActionItem1047: better cms

ActionItem1047: better cms

* changed the cms action links to icons
 * removed the space between folders and non-folders in the table

  <%= icon('cms') %>
  <%= _('Content management') %>

<% if @article %>

    <%= icon('cms') %>
    <%= link_to profile.identifier, :action => 'index' %>
    <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.slug, :id => item.id)) } %>

<% end %>

<% button_bar(:style => 'margin-bottom: 1em;') do %>
  <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %>

  <% if !@article or !@article.blog? %>
    <%= button :add, _('New folder'), :action => 'new', :type => 'Folder', :parent_id => parent_id %>
  <% end %>
  <%= lightbox_button('new', label_for_new_article(@article), :action => 'new', :parent_id => parent_id) %>
  <%= button('upload-file', _('Upload files'), :action => 'upload_files', :parent_id => parent_id) %>
<% end %>

  <%# header %>

    <%= _('Name') %>
    <%= _('Type') %>
    <%= _('Actions') %>

  <%# folders %>
  <% for folder in @folders %>

        <%= image_tag(icon_for_article(folder)) %>
        <%= link_to folder.name, :action => 'view', :id => folder.id %>

        <%= folder.class.short_description %>

        <%= button_without_text :edit, _('Properties'), :action => 'edit', :id => folder.id %>
        <%= button_without_text :eyes, _('Public view'), folder.url %>
        <%= button_without_text :home, _('Use as homepage'), { :action => 'set_home_page', :id => folder.id }, :method => :post %>
        <%= button_without_text :delete, _('Delete'), { :action => 'destroy', :id => folder.id }, :method => :post, :confirm => _('Are you sure that you want to remove this folder? Note that all the items inside it will also be removed!') %>

  <% end %>

  <%# non-folder subitems %>
  <% for item in @subitems %>

        <%= image_tag(icon_for_article(item)) %>
        <%= link_to item.name, :action => 'edit', :id => item.id %>

        <%= item.class.short_description %>

        <%= button_without_text :edit, _('Edit'), :action => 'edit', :id => item.id %>
        <%= button_without_text :eyes, _('Public view'), item.url %>
        <%= button_without_text :spread, _('Spread this'), :action => 'publish', :id => item.id %>
        <%= button_without_text :home, _('Use as homepage'), { :action => 'set_home_page', :id => item.id }, :method => :post %>
        <%= button_without_text :delete, _('Delete'), { :action => 'destroy', :id => item.id }, :method => :post, :confirm => _('Are you sure that you want to remove this item?') %>

  <% end %>

  <% if @subitems.empty? || @folders.empty? %>

<%= _('None') %>

  <% end %>

  <%= icon('cms') %>
  <%= _('Content management') %>

<% if @article %>

    <%= icon('cms') %>
    <%= link_to profile.identifier, :action => 'index' %>
    <%= @article.hierarchy.map {|item| " / " + ((item == @article) ? item.name : link_to(item.slug, :id => item.id)) } %>

<% end %>

<% button_bar(:style => 'margin-bottom: 1em;') do %>
  <% parent_id = ((@article && @article.allow_children?) ? @article : nil) %>

  <% if !@article or !@article.blog? %>
    <%= button :add, _('New folder'), :action => 'new', :type => 'Folder', :parent_id => parent_id %>
  <% end %>
  <%= lightbox_button('new', label_for_new_article(@article), :action => 'new', :parent_id => parent_id) %>
  <%= button('upload-file', _('Upload files'), :action => 'upload_files', :parent_id => parent_id) %>
<% end %>

  <%# header %>

    <%= _('Name') %>
    <%= _('Type') %>
    <%= _('Actions') %>

  <%# folders %>
  <% for folder in @folders %>

        <%= image_tag(icon_for_article(folder)) %>
        <%= link_to folder.name, :action => 'view', :id => folder.id %>

        <%= folder.class.short_description %>

        <%= link_to _('Properties'), :action => 'edit', :id => folder.id %>
        <%= link_to _('Public view'), folder.url %>
        <%= link_to _('Use as homepage'), { :action => 'set_home_page', :id => folder.id }, :method => :post %>
        <%= link_to _('Delete'), { :action => 'destroy', :id => folder.id }, :method => :post, :confirm => _('Are you sure that you want to remove this folder? Note that all the items inside it will also be removed!') %>

  <% end %>

  <%# non-folder subitems %>
  <% unless @folders.empty? %>

  <% end %>
  <% for item in @subitems %>

        <%= image_tag(icon_for_article(item)) %>
        <%= link_to item.name, :action => 'edit', :id => item.id %>

        <%= item.class.short_description %>

        <%= link_to _('Edit'), :action => 'edit', :id => item.id %>
        <%= link_to _('Public view'), item.url %>
        <%= link_to _('Spread this'), :action => 'publish', :id => item.id %>
        <%= link_to _('Use as homepage'), { :action => 'set_home_page', :id => item.id }, :method => :post %>
        <%= link_to _('Delete'), { :action => 'destroy', :id => item.id }, :method => :post, :confirm => _('Are you sure that you want to remove this item?') %>

  <% end %>

  <% if @subitems.empty? || @folders.empty? %>

<%= _('None') %>

  <% end %>


Move to session create

Move to session create

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <title>3Accounts - Welcome</title>
    <%= stylesheet_link_tag "home", :media => "screen" %>

Neil Wilson

Overview

Settings

Update Personal Details

Change Email Address

Logout

        <%= image_tag("3accounts.png") %>

        <% if flash[:notice] -%>

            <%= flash[:notice] %>

        <% end -%>
        <% form_tag session_path do -%>

            <%= image_tag("openid_login.gif", :size => "16x16") %> OpenID

          <%= text_field_tag "openid_url" %>

          <%= check_box_tag 'remember_me' %>
          Remember me

<%= submit_tag 'Sign in' %>

        <% end -%>

Activities

Check Outstanding Tasks

Go To

Check Bank Statement

Account Manager

Cheque Book