Update obsolete link

Update obsolete link

<% @title = "Making requests" %>

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

<%= @title %> #

I’m not sure which authority to make my request to, how can I find out? #

It can be hard to untangle the complicated structure of government, and work out
who has the information you want. Here are a few tips:

Browse or <a href="<%= search_redirect_path %>">search WhatDoTheyKnow
looking for similar requests to yours.

When you’ve found an authority you think might have the information, use
the “home page” link on the right hand side of their page to check what they do
on their website.

Contact the authority by phone or email to ask if they hold the kind of
information you’re after.

Don’t worry too much about getting the right authority. If you get it
wrong, they ought to advise you who to make the request to instead.

If you’ve got a tricky case, please <a href="<%= help_contact_path %>">contact us for help.

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

Please <a href="<%= help_contact_path %>">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, we’d love
to hear from you too.

Why do you include some authorities that aren’t formally subject to FOI?#

WhatDoTheyKnow lets you make requests for information to a range of
organisations:

 Those formally subject to the FOI Act

 Those formally subject to the Environmental Regulations (a less well
  defined group)

 Those which voluntarily comply with the FOI Act

 Those which aren’t subject to the Act
  but we think should be,
  on grounds
  such as them having significant public responsibilities.

In the last case, we’re using the site to lobby for expansion of the
scope of the FOI Act. Even if an organisation is not legally obliged to respond
to an FOI request, they can still do so voluntarily.

Why must I keep my request focused?#

Please put in your request only what is needed so that someone can
easily identify what information you are asking for. Please do
not include any of the following:

arguments about your cause

statements that could defame or insult others

questions or requests for comment rather than for specific information

If you include extraneous material,
we may have to remove your request to avoid problems with
libel law, which is a pain for both you and us.

The site is only for hosting FOI requests, not for general correspondence
with public authorities. Phrasing your request as a question or a request
for comment (e.g. “why are you doing X?” or “please
explain why you are doing X”) makes it more likely that your message
will not be seen as a valid FOI request, both by us and by the public
authority.  Asking for “copies of all policies and procedures
regarding X” would normally result in a valid FOI request.

Short, succinct messages
make it easier for authorities to be clear what information you are
requesting, which means you will get a reply more quickly.

How can I make responsible and effective FOI requests?#

We would encourage all our users to read
FOI Man’s Ten Top Tips
on making responsible and effective FOI requests.

Can I use your site for campaigning?#

If you want information to support an argument or campaign, Freedom of
Information is a powerful tool. Although you may not use this site to
run your campaign, we encourage you to use it to get the information you
need. We also encourage to run your campaign elsewhere – one effective
and very easy way is to <%= link_to 'start your own blog',
"http://wordpress.com/"%>. You are welcome to link to your campaign
from this site in an annotation to your request (you can make
annotations after submitting the request).

Does it cost me anything to make a request?#

Making an FOI request is nearly always free.

Authorities often include unnecessary, scary, boilerplate in
acknowledgement messages saying they “may” charge a fee. Ignore such notices.
They hardly ever will actually charge a fee. If they do, they can only charge you if
you have specifically agreed in advance to pay. More
    details from the Information Commissioner.

Sometimes an authority will refuse your request, saying that the cost
of handling it exceeds £600 (for central government) or £450 (for all other
public authorities). At this point you can refine your
request, e.g. it would be much cheaper for an authority to tell you the amount
spent on marshmallows in the past year than in the past ten years.

Will I get the information in the format I want? #

The law requires that if you ask for the information to be provided in a
particular format the public authority is required to provide any
information released in the requested format so long as it is as reasonably
practicable to do so. Unfortunately, the Information Commissioner and Tribunal
are currently interpreting this requirement to refer only to the choice between
receiving documents in paper format or receiving them electronically and not to
a choice of electronic file format.

We think the person making the request should be able to specify an electronic
format and we note that the Freedom of Information Act 2000 uses the words
‘...
or in another form acceptable to the applicant’.

How quickly will I get a response? #

By law, public authorities must respond promptly to
requests.

Even if they are not prompt, in nearly all cases they must respond within
20 working days. If you had to clarify your request, or they are a school,
or one or two other cases, then they may have more time
(<a href="<%= help_officers_path(:anchor => 'days') %>">full details).

WhatDoTheyKnow will email you if you don’t get a timely response.  You can
then send the public authority a message to remind them, and tell them if they
are breaking the law.

What if I never get a response?#

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

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

If they have not received it, the problem is most likely due to
    "spam filters". Refer the authority to the measures in the answer
    ‘<a href="<%= help_officers_path(:anchor => 'spam_problems') %>">I can see a request on WhatDoTheyKnow, but we never got it by email!’
    in the FOI officers section of this help.

If you’re still having no luck, then you can ask for an internal review,
    and then complain to the Information Commissioner about the authority.
    Read our page ‘<a href="<%= help_general_path(:action => 'unhappy') %>">Unhappy about the response you got?’.

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

If you didn’t get the information you asked for, or you didn’t get it in time,
then read our page ‘<a href="<%= help_general_path(:action => 'unhappy') %>">Unhappy about the response you got?’.

It says I can’t re-use the information I got!#

Authorities often add legal boilerplate about the
"Re-Use of Public Sector
Information Regulations 2005", which at first glance implies you may not
be able do anything with the information.

You can, of course, write articles about the information or summarise it, or
quote parts of it. We also think you should feel free to republish the
information in full, just as we do, even though in theory you might not be
allowed to do so.  See <a href="<%= help_officers_path(:anchor => 'copyright') %>">our policy on copyright.

If the information you have received is Crown Copyright then you are able to
reproduce it under the
Open
Government Licence but there are some conditions.

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

Have a look at the
access to official information
pages on the Information Commissioner’s website.

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

Can I request information about myself? #

No. Requests made using WhatDoTheyKnow are public, made under the Freedom of
Information Act, and cannot help you find information about a private
individual.

If you would like to know what information a public
authority holds about yourself, you should make a “Subject Access Request” in private using Data Protection law.
 The
Information Commissioner’s website provides advice on accessing your
own personal information

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please <a href="<%= help_contact_path %>">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 <a href="<%= help_contact_path %>">contact us.

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

Some public authorities, such as Milford Haven Port Authority,
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 your write you request, it reminds you
that you can only request “environmental information” and tells you what that
means. It is quite broad.

You can, of course, request environmental information from other
authorities. Just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

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

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

I made a request off the site, how do I upload it to the archive?#

WhatDoTheyKnow is an archive of requests made through the site,
and does not try to be an archive of all FOI requests. We’ll never support uploading
other requests. For one thing, we wouldn’t be able to verify that other
responses actually came from the authority. If this really matters to you,
you can always make the same request again via WhatDoTheyKnow.

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.

Next, read about <a href="<%= help_privacy_path %>">your privacy -->

<% @title = "Making requests" %>

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

<%= @title %> #

I’m not sure which authority to make my request to, how can I find out? #

It can be hard to untangle the complicated structure of government, and work out
who has the information you want. Here are a few tips:

Browse or <a href="<%= search_redirect_path %>">search WhatDoTheyKnow
looking for similar requests to yours.

When you’ve found an authority you think might have the information, use
the “home page” link on the right hand side of their page to check what they do
on their website.

Contact the authority by phone or email to ask if they hold the kind of
information you’re after.

Don’t worry too much about getting the right authority. If you get it
wrong, they ought to advise you who to make the request to instead.

If you’ve got a tricky case, please <a href="<%= help_contact_path %>">contact us for help.

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

Please <a href="<%= help_contact_path %>">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, we’d love
to hear from you too.

Why do you include some authorities that aren’t formally subject to FOI?#

WhatDoTheyKnow lets you make requests for information to a range of
organisations:

 Those formally subject to the FOI Act

 Those formally subject to the Environmental Regulations (a less well
  defined group)

 Those which voluntarily comply with the FOI Act

 Those which aren’t subject to the Act
  but we think should be,
  on grounds
  such as them having significant public responsibilities.

In the last case, we’re using the site to lobby for expansion of the
scope of the FOI Act. Even if an organisation is not legally obliged to respond
to an FOI request, they can still do so voluntarily.

Why must I keep my request focused?#

Please put in your request only what is needed so that someone can
easily identify what information you are asking for. Please do
not include any of the following:

arguments about your cause

statements that could defame or insult others

questions or requests for comment rather than for specific information

If you include extraneous material,
we may have to remove your request to avoid problems with
libel law, which is a pain for both you and us.

The site is only for hosting FOI requests, not for general correspondence
with public authorities. Phrasing your request as a question or a request
for comment (e.g. “why are you doing X?” or “please
explain why you are doing X”) makes it more likely that your message
will not be seen as a valid FOI request, both by us and by the public
authority.  Asking for “copies of all policies and procedures
regarding X” would normally result in a valid FOI request.

Short, succinct messages
make it easier for authorities to be clear what information you are
requesting, which means you will get a reply more quickly.

How can I make responsible and effective FOI requests?#

We would encourage all our users to read
FOI Man’s Ten Top Tips
on making responsible and effective FOI requests.

Can I use your site for campaigning?#

If you want information to support an argument or campaign, Freedom of
Information is a powerful tool. Although you may not use this site to
run your campaign, we encourage you to use it to get the information you
need. We also encourage to run your campaign elsewhere – one effective
and very easy way is to <%= link_to 'start your own blog',
"http://wordpress.com/"%>. You are welcome to link to your campaign
from this site in an annotation to your request (you can make
annotations after submitting the request).

Does it cost me anything to make a request?#

Making an FOI request is nearly always free.

Authorities often include unnecessary, scary, boilerplate in
acknowledgement messages saying they “may” charge a fee. Ignore such notices.
They hardly ever will actually charge a fee. If they do, they can only charge you if
you have specifically agreed in advance to pay. More
    details from the Information Commissioner.

Sometimes an authority will refuse your request, saying that the cost
of handling it exceeds £600 (for central government) or £450 (for all other
public authorities). At this point you can refine your
request, e.g. it would be much cheaper for an authority to tell you the amount
spent on marshmallows in the past year than in the past ten years.

Will I get the information in the format I want? #

The law requires that if you ask for the information to be provided in a
particular format the public authority is required to provide any
information released in the requested format so long as it is as reasonably
practicable to do so. Unfortunately, the Information Commissioner and Tribunal
are currently interpreting this requirement to refer only to the choice between
receiving documents in paper format or receiving them electronically and not to
a choice of electronic file format.

We think the person making the request should be able to specify an electronic
format and we note that the Freedom of Information Act 2000 uses the words
‘...
or in another form acceptable to the applicant’.

How quickly will I get a response? #

By law, public authorities must respond promptly to
requests.

Even if they are not prompt, in nearly all cases they must respond within
20 working days. If you had to clarify your request, or they are a school,
or one or two other cases, then they may have more time
(<a href="<%= help_officers_path(:anchor => 'days') %>">full details).

WhatDoTheyKnow will email you if you don’t get a timely response.  You can
then send the public authority a message to remind them, and tell them if they
are breaking the law.

What if I never get a response?#

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

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

If they have not received it, the problem is most likely due to
    "spam filters". Refer the authority to the measures in the answer
    ‘<a href="<%= help_officers_path(:anchor => 'spam_problems') %>">I can see a request on WhatDoTheyKnow, but we never got it by email!’
    in the FOI officers section of this help.

If you’re still having no luck, then you can ask for an internal review,
    and then complain to the Information Commissioner about the authority.
    Read our page ‘<a href="<%= help_general_path(:action => 'unhappy') %>">Unhappy about the response you got?’.

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

If you didn’t get the information you asked for, or you didn’t get it in time,
then read our page ‘<a href="<%= help_general_path(:action => 'unhappy') %>">Unhappy about the response you got?’.

It says I can’t re-use the information I got!#

Authorities often add legal boilerplate about the
"Re-Use of Public Sector
Information Regulations 2005", which at first glance implies you may not
be able do anything with the information.

You can, of course, write articles about the information or summarise it, or
quote parts of it. We also think you should feel free to republish the
information in full, just as we do, even though in theory you might not be
allowed to do so.  See <a href="<%= help_officers_path(:anchor => 'copyright') %>">our policy on copyright.

If the information you have received is Crown Copyright then you are able to
reproduce it under the
Open
Government Licence but there are some conditions.

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

Have a look at the
access to official information
pages on the Information Commissioner’s website.

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

Can I request information about myself? #

No. Requests made using WhatDoTheyKnow are public, made under the Freedom of
Information Act, and cannot help you find information about a private
individual.

If you would like to know what information a public
authority holds about yourself, you should make a “Subject Access Request” in
private using Data Protection law.  The leaflet “How to access your information” (on the Information Commissioner’s
website) explains how to do this.

If you see that somebody has included personal information, perhaps
unwittingly, in a request, please <a href="<%= help_contact_path %>">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 <a href="<%= help_contact_path %>">contact us.

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

Some public authorities, such as Milford Haven Port Authority,
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 your write you request, it reminds you
that you can only request “environmental information” and tells you what that
means. It is quite broad.

You can, of course, request environmental information from other
authorities. Just make a Freedom of Information (FOI) request as normal. The
authority has a duty to work out if the Environmental Information Regulations
(EIR) is the more appropriate legislation to reply under.

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

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

I made a request off the site, how do I upload it to the archive?#

WhatDoTheyKnow is an archive of requests made through the site,
and does not try to be an archive of all FOI requests. We’ll never support uploading
other requests. For one thing, we wouldn’t be able to verify that other
responses actually came from the authority. If this really matters to you,
you can always make the same request again via WhatDoTheyKnow.

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.

Next, read about <a href="<%= help_privacy_path %>">your privacy -->


removed obsolete layout

removed obsolete layout

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>The Best of $username on Hacker News</title>
  <meta name="description" content="Create an E-book from the best comments on Hacker News">

The Best of

      <form action="" method="post">
        Username <input id="username-input" type="text" name="username" />

        <% if (c.debug === "1") { %>

HTML <input type="radio" name="output" value="html" />
        PDF <input type="radio" name="output" value="pdf" checked />

        <% } %>

        <input type="submit" value="Create E-book" />
      </form>

on Hacker News

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

      source *
      feedback *
      powered by hnsearch and
      pdfcrowd


Make the "request an internal review" link into a nice, big button.

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

<% if !@info_request.nil? %>

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

<% else %>

Unhappy about the response you got?

<% end %>

If ...

You didn't get a reply within 20 working days

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

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

... you can

Ask for an internal review at the public authority.

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

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

1. Asking for an internal review #

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

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

2. Complaining to the Information Commissioner #

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

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

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

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

3. Using other means to answer your question #

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

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

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

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

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

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

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

<% if !@info_request.nil? %>

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

<% else %>

Unhappy about the response you got?

<% end %>

If ...

You didn't get a reply within 20 working days

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

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

... you can

Ask for an internal review at the public authority.

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

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

1. Asking for an internal review #

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

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

2. Complaining to the Information Commissioner #

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

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

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

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

3. Using other means to answer your question #

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

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

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

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

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

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


Fix broken close tag that was breaking Opera.

<% form_tag :action => "finish" do %>

Area to Export

    <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>

    <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
    <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>

    <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>

      Drag a box with control held down to select an area to export

Format to Export

      <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data

      <%= radio_button_tag("format", "mapnik") %>Mapnik Image

      <%= radio_button_tag("format", "osmarender") %>Osmarender Image

Licence

OpenStreetMap data is licensed under the Creative Commons Attribution-ShareAlike 2.0 license.

Options

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

Options

Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

<%= submit_tag "Export", :id => "export_commit" %>

<% end %>

<% form_tag :action => "finish" do %>

Area to Export

    <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>

    <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
    <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>

    <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>

      Drag a box with control held down to select an area to export

Format to Export

      <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data

      <%= radio_button_tag("format", "mapnik") %>Mapnik Image

      <%= radio_button_tag("format", "osmarender") %>Osmarender Image

Licence

OpenStreetMap data is licensed under the Creative Commons Attribution-ShareAlike 2.0 license.

    </div

Options

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

Options

Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

<%= submit_tag "Export", :id => "export_commit" %>

<% end %>


ahora si que sisisisis

ahora si que sisisisis

git-svn-id: 268669d3058f191005ae665964cd19b71efa10c4@13149 3f47a204-8049-4147-aab0-d444c64e7564

<% if logged_in? && current_user.superuser==true %>

<%= link_to "Events" , {:controller=>'events', :action=>'show'}, :class => "secund", :method=> 'get'%>

<%= link_to 'Search' , {:controller=>'events',:action => 'search'}, :class => "secund", :title=>"Search for events"%>

<%= link_to "Resources", {:controller=>'machines',  :action=>'list_user_machines'},:class => "secund",:method=> 'get'%>

<%= link_to 'Manage Users' ,  manage_users_path, :class => "secund", :method=> 'get' %>

<%= link_to 'Manage Resources',  manage_resources_path, :class => "secund", :method=> 'get' %>

<% elsif logged_in?%>

<%= link_to 'Search', {:controller=>'events', :action => 'search'},  :title=>"Search for events"%>

<%= link_to "Events", {:controller=>'events', :action=>'show'}, :method=> 'get'%>

<%= link_to "Resources", {:controller=>'machines', :class => "secund", :action=>'list_user_machines'},:method=> 'get'%>

<% else %>

<%= link_to "Home", {:controller=>'events', :action=>'show'}, :class => "secund" , :method=> 'get'%>

<%= link_to 'Search', {:controller=>'events',:action => 'search'}, :class => "secund" ,:title=>"Search for events"%>

<% end %>

<% if logged_in? && current_user.superuser==true %>

<%= link_to "Events" , {:controller=>'events', :action=>'show'}, :class => "secund", :method=> 'get'%>

<%= link_to 'Search' , {:controller=>'events',:action => 'search'}, :class => "secund", :title=>"Search for events"%>

<%= link_to "Resources", {:controller=>'machines',  :action=>'list_user_machines'},:class => "secund",:method=> 'get'%>

<%= link_to 'Manage Users' ,  manage_users_path, :class => "secund", :method=> 'get' %>

<%= link_to 'Manage Resources',  manage_resources_path, :class => "secund", :method=> 'get' %>

<% elsif logged_in?%>

<%= link_to 'Search', {:controller=>'events', :action => 'search'},  :title=>"Search for events"%>

<%= link_to "Events", {:controller=>'events', :action=>'show'}, :method=> 'get'%>

<%= link_to "Resources", {:controller=>'machines', :class => "secund", :action=>'list_user_machines'},:method=> 'get'%>

<% else %>

<%= link_to "Home", {:controller=>'events', :action=>'show'}, :class => "secund" , :method=> 'get'%>

<%= link_to 'Search', {:action => 'search'}, :class => "secund" ,:title=>"Search for events"%>

<% end %>


Adding ranked-vote tool to list of tools to sort by in inbox.

<%
  # local variables passed in: users, groups
  users ||= []
  groups ||= []
  users_text ||= "contacts"
%>

<%= folder_link 'all', 'all', 'earth.png' %>

<%= folder_link 'vital', 'vital', 'heart.png' %>

<%= folder_link 'unread'.t,   'unread',  'glasses.png' %>

<%= folder_link 'pending'.t,  'pending', 'pending.png' %>

<%= folder_link 'starred'.t, 'starred', 'star.png' %>

<%=folder_icon('types.png')%> types

<%= folder_link 'discussion','type/discussion', 'pages/discussion.png' %>

<%= folder_link 'message','type/message', 'pages/message.png' %>

<%= folder_link 'wiki','type/wiki', 'pages/wiki.png' %>

<%= folder_link 'poll','type/poll', 'pages/rate-many.png' %>

<%= folder_link 'vote','type/vote', 'pages/ballot.png' %>

<%= folder_link 'task list','type/task', 'pages/task-list.png' %>

<%= folder_link 'event','type/event', 'pages/date.png' %>

<%
  # local variables passed in: users, groups
  users ||= []
  groups ||= []
  users_text ||= "contacts"
%>

<%= folder_link 'all', 'all', 'earth.png' %>

<%= folder_link 'vital', 'vital', 'heart.png' %>

<%= folder_link 'unread'.t,   'unread',  'glasses.png' %>

<%= folder_link 'pending'.t,  'pending', 'pending.png' %>

<%= folder_link 'starred'.t, 'starred', 'star.png' %>

<%=folder_icon('types.png')%> types

<%= folder_link 'discussion','type/discussion', 'pages/discussion.png' %>

<%= folder_link 'message','type/message', 'pages/message.png' %>

<%= folder_link 'wiki','type/wiki', 'pages/wiki.png' %>

<%= folder_link 'poll','type/poll', 'pages/rate-many.png' %>

<%= folder_link 'task list','type/task', 'pages/task-list.png' %>

<%= folder_link 'event','type/event', 'pages/date.png' %>


Remove obselete file from rails2

Remove obselete file from rails2

<%= _('Editing Appearance') %>

<%= _('Select template') %>

<% for templates in @layout_templates.in_groups_of(3) %>

    <% for template in templates %><%=
      if template
        base_content = image_tag(
          "/designs/templates/#{template.id}/thumbnail.png",
          :alt => _('The "%s" template')) +
        '
'.html_safe +
        content_tag('strong', template.name, :title => template.title, :class => 'name') +
        '
 '.html_safe

        if @current_template == template.id  # selected
          content_tag( 'div',
            base_content + content_tag('big', _('(current)') ) +'
'.html_safe,
            :class => 'template-opt list-opt selected')
        else  # Not selected
          link_to(
            base_content +'
'.html_safe,
            { :action => 'set_layout_template', :id => template.id },
            :class => 'template-opt list-opt')
        end

      end
    %><% end %>

<% end %>

<% if !@themes.empty? %>

<%= _('Select theme') %>

<%= button :home, _('Use the default theme'), { :action => 'unset'}, :method => 'post', :confirm => _('Are you sure you want to use the environment default theme?') %>

<% for themes in @themes.in_groups_of(3) %>

    <% themes.each do |theme| %>
      <% next unless theme %>

      <div  class="theme-opt list-opt <%= "selected" if theme.id == @current_theme %>">
        <a href="<%= url_for :action => 'set', :id => theme.id %>">

          <%= image_tag "/designs/themes/#{theme.id}/preview.png", :alt => (_('The "%s" theme.') % theme.name) %>

            <%= theme.name %>

            <% if theme.id == @current_theme %>
              <big> <%= _('(current)') %> </big>
            <% end %>

            <% if environment.enabled?('user_themes') %>
              <%= link_to _('edit CSS (for designers)'), {:controller => :themes, :action => :private_edit, :id => theme.id}, :class => 'modal-toggle' %>
            <% end %>

    <% end %>

<% end %>

<% end %>

<% if environment.enabled?('user_themes') %>

<%= _('My themes') %>

  <% for themes in profile.themes.in_groups_of(3)  %>

      <% for theme in themes %><%=
        if theme

          selected = theme.id == @current_theme
          sel_html = selected ?
            content_tag('big', _('(current)') ) :
            link_to(_('Use this theme'), :action => 'set', :id => theme.id)

          content_tag( 'div',
            image_tag(
              '/images/icons-app/design-editor.png',
              :alt => (_('The "%s" theme.') % theme.name)) +
            '
' +
              content_tag('strong', theme.name, :class => 'name') +
              '
 '+ sel_html +'
 ' +
              link_to(_('Edit this theme'), :action => 'edit', :id => theme.id) +
              '
 ' +
              link_to(_('Test this theme'), :action => 'start_test', :id => theme.id) +
            '
',
            :class => 'theme-opt list-opt' + (selected ? ' selected' : '')
          )

        end
      %><% end %>

  <% end %>

<% end %>

<% button_bar do %>
  <% if environment.enabled?('user_themes') %>
    <%= modal_button :add, _('New theme ...'), :action => 'new' %>
  <% end %>
  <%= button(:back, _('Back'), :controller => 'profile_editor', :action => 'index') %>
<% end %>


Add missing quote.

Add missing quote.

  <% cl = cycle('table0', 'table1') %>
  <td class="<%= cl %>">
    <% if trace.inserted %>
    <a href="<%= url_for :controller => 'trace', :action => 'view', :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => 'trace', :action => 'icon', :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" />
    <% else %>
    PENDING
    <% end %>

  <td class="<%= cl %>"><%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %>
    <span class="gpxsummary" title="<%= trace.timestamp %>"> ...
      <% if trace.inserted %>
      (<%= trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> points)
      <% end %>
      ... <%= time_ago_in_words( trace.timestamp ) %>  ago
      <%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id}, {:title => 'View Trace Details'} %> /
      <%= link_to 'map', {:controller => 'site', :action => 'index', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'View Map'} %> /
      <%= link_to 'edit', {:controller => 'site', :action => 'edit', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'Edit Map'} %>

      <%= escape_once(trace.description) %>

    by <%= link_to trace.user.display_name, {:controller => 'user', :action => 'view', :display_name => trace.user.display_name} %>
    in
    <% if trace.tags %>
      <% trace.tags.each do |tag| %>
        <%= link_to tag.tag, :controller => 'trace', :action => @paging_action, :tag => tag.tag %>
      <% end %>
    <% end %>

  <% cl = cycle('table0', 'table1') %>
  <td class="<%= cl %>">
    <% if trace.inserted %>
    <a href="<%= url_for :controller => 'trace', :action => 'view', :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => 'trace', :action => 'icon', :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" />
    <% else %>
    PENDING
    <% end %>

  <td class="<%= cl %>"><%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %>
    <span class="gpxsummary" title="<%= trace.timestamp %>"> ...
      <% if trace.inserted %>
      (<%= trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> points)
      <% end %>
      ... <%= time_ago_in_words( trace.timestamp ) %>  ago
      <%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id}, {:title => 'View Trace Details'} %> /
      <%= link_to 'map', {:controller => 'site', :action => 'index, :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'View Map'} %> /
      <%= link_to 'edit', {:controller => 'site', :action => 'edit', :lat => trace.latitude, :lon => trace.longitude, :zoom => 14}, {:title => 'Edit Map'} %>

      <%= escape_once(trace.description) %>

    by <%= link_to trace.user.display_name, {:controller => 'user', :action => 'view', :display_name => trace.user.display_name} %>
    in
    <% if trace.tags %>
      <% trace.tags.each do |tag| %>
        <%= link_to tag.tag, :controller => 'trace', :action => @paging_action, :tag => tag.tag %>
      <% end %>
    <% end %>


Corrected missing form tag

Corrected missing form tag

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

<%= form_tag({:action=>'import_roster'},:multipart => true, :name=>'submit_form')%>
<%= hidden_field_tag (obj_type, obj_id) %>
Import a class roster: <input type="file" id="uploaded_file" name="uploaded_file" size=40/>
<input type="submit" name="load_users" value="Import Participants" onclick="checkIfFileExists('=import roster');"/>
<%= end_form_tag %>

<%= form_tag({:action=>'import_roster'},:multipart => true, :name=>'submit_form')%>
<%= hidden_field_tag (obj_type, obj_id) %>
Import a class roster: <input type="file" id="uploaded_file" name="uploaded_file" size=40/>
<input type="submit" name="load_users" value="Import Participants" onclick="checkIfFileExists('=import roster');"/>
<% end_form_tag %>


showname: pagination links now top and bottom, and code much cleaned up.
-JPH 20080326

git-svn-id: 3ebd8a4fd9006ff03462623fffc479a1d4750d42@347 7a65b82a-1d14-0410-b525-e2835e71a0b4

<% @title = 'Name: ' + h(@name.text_name) %>

# Google Images | Distribution Map
<%= sprintf('Google Images' % @name.text_name) %>
<% if @data != [] %>
    | <%= link_to(:show_name_distribution_map.l, :action => 'map', :id => @name.id) %>
<% end %>

# Edit Name | Bulk Name Edit | Change Synonyms | Approve/Deprecate
<%= link_to 'Edit Name', :action => 'edit_name', :id => @name %>
  | <%= link_to 'Bulk Name Edit', :action => 'bulk_name_edit' %>
  | <%= link_to('Change Synonyms', :action => 'change_synonyms', :id => @name)%>
<% if @name.deprecated %>
  | <%= link_to('Approve', :action => 'approve_name', :id => @name)%>
<% else %>
  | <%= link_to('Deprecate', :action => 'deprecate_name', :id => @name)%>
<% end %>

<%= 'About: ' + textilize_without_paragraph(h(@name.display_name)) %>

	<%= :show_name_rank.l %>: <%= rank_as_string(@name.rank) %>

	<%= :show_name_status.l %>: <%= @name.status == "Valid" ? :show_name_valid.l : :show_name_deprecated.l %>

	<%= :show_name_name.l %>: <%= @name.text_name %>

	<%= :show_name_author.l %>: <%= @name.author %>

	<%= :show_name_citation.l %>: <%= textilize_without_paragraph(sanitize(@name.citation || '')) %>

	<%
	approved_synonyms, deprecated_synonyms = @name.sort_synonyms
	if approved_synonyms != []
	    links = approved_synonyms.map{|n| link_to(textilize_without_paragraph(h(n.display_name)), :action => "show_name", :id => n)}
        %>
        <%= @name.deprecated ? :show_name_preferred_synonyms.l : :show_name_synonyms.l %>: <%= links.join(', ') %>

	<%
	end
    if deprecated_synonyms != []
        links = deprecated_synonyms.map{|n| link_to(textilize_without_paragraph(h(n.display_name)), :action => "show_name", :id => n)}
        %>
        <%= :show_name_deprecated_synonyms.l %>: <%= links.join(', ') %>

    <% end %>
	<%= :show_name_version.l %>: <%= @name.version %>

	<% if @past_name %>
	    <%= link_to("#{:show_name_previous_version.l}: %s" % @past_name.version, :action => 'show_past_name', :id => @past_name.id) %>
	<% end %>

<% if @name.notes.to_s != "" %>

<%= :show_name_notes_and_comments.l %>:

        <%= textilize(sanitize(@name.notes.to_s)) %>

<% end %>

<% if @children != [] %>

<%= rank_as_plural_string(@children[0].rank) %>:

        <% i = 0
           max = 25
           for child in @children
            i += 1
            break if i > max %>
            <%= link_to(textilize_without_paragraph(h(child.display_name)),
                :action => 'show_name', :id => child) %>

        <% end %>
        <%= "And #{@children.length - i + 1} more...
" if i > max %>

<% end %>

<%
# -----------------------------------------
#  Draw the three groups of observations.
# -----------------------------------------
num_sects = 0
for sect in ["consensus", "synonym", "other"]

  if sect == "consensus"
    head  = :show_name_observations.l + ":"   # Header string to display above group.
    data  = @consensus_data                   # Data returned by sql query.
    page  = @consensus_page                   # Page number.
    pages = @consensus_pages                  # Pagination object.
    arg   = :consensus_page                   # Parameter used in pagination.
  elsif sect == "synonym"
    head  = :show_name_synonym_observations.l + ":"
    data  = @synonym_data
    page  = @synonym_page
    pages = @synonym_pages
    arg   = :synonym_page
  else
    head  = :show_name_other_observations.l + ":
" +
            "" +
              (:show_name_other_observations_notes.l %
                textilize_without_paragraph(h(@name.display_name)))
            ""
    data  = @other_data
    page  = @other_page
    pages = @other_pages
    arg   = :other_page
  end

  # Skip completely if group is empty.
  if data && data.length > 0

    # These are tacked on to the pagination links' urls.
    args = {}
    args[:consensus_page] = @consensus_page if @consensus_data != []
    args[:synonym_page] = @synonym_page     if @synonym_data != []
    args[:other_page] = @other_page         if @other_data != []
    args.delete arg

    # Add line break between groups.
    if num_sects > 0 %>

    <% end
    num_sects += 1

    # Wow this is ugly, but I can't find an option to pass to pagination_links
    # to have it tack the "#section" thing on the end of the urls for me.
    plinks = pagination_links(pages, :name => arg, :params => args).to_s
    plinks.gsub!(/<a href="([^<>]*)">/, '')
    %>

<a id="<%=sect%>"><%= head %>

<%= plinks %>

      <% odd_or_even = 0
      for datum in data
        odd_or_even = 1 - odd_or_even
        id = datum["id"] %>
        <tr valign="top" class="ListLine<%= odd_or_even %>">

            <%=
            image_id = datum["thumb_image_id"]
            if image_id
              link_to(image_tag(sprintf("thumb/%d.jpg", image_id), :border => 0),
                :controller => 'observer', :action => 'show_observation', :id => id)
            end
            %>

            <%= link_to(textilize_without_paragraph(h(datum["observation_name"] + " (#{id})")),
              :controller => 'observer', :action => 'show_observation', :id => id) %>

            <%= location_link(datum["where"], datum["location_id"]) %>:
            <%= user_link(datum["user_id"], "#{datum['name']} (#{datum['login']})") %>

            Observation made: <%= datum["when"]%>

            Community confidence:
              <%= v = datum["vote_cache"]
                v.nil? || v == "" ? "no votes" : (v.to_f*100/3).round.to_s + "%" %>

      <% end %>

<%= plinks %>

  <% end # if data.length > 0 %>
<% end # for section %>

  <%= :show_name_name_created.l %>: <%= @name.created %>

  <%= :show_name_last_modified.l %>: <%= @name.modified %> by <%= user_link(@name.user) %>

  <% rss_log = @name.rss_log
     if rss_log %>
  	<%= link_to :show_name_show_log.l, :controller => 'observer', :action => 'show_rss_log', :id => rss_log.id %>
  <% end %>

<% @title = 'Name: ' + h(@name.text_name) %>
<%= sprintf('Google Images' % @name.text_name) %>
<% if @data != [] %>
    | <%= link_to(:show_name_distribution_map.l, :action => 'map', :id => @name.id) %>
<% end %>

<%= link_to 'Edit Name', :action => 'edit_name', :id => @name %>
| <%= link_to 'Bulk Name Edit', :action => 'bulk_name_edit' %>
| <%= link_to('Change Synonyms', :action => 'change_synonyms', :id => @name)%>
<% if @name.deprecated %>
    | <%= link_to('Approve', :action => 'approve_name', :id => @name)%>
<% else %>
    | <%= link_to('Deprecate', :action => 'deprecate_name', :id => @name)%>
<% end %>

<%= 'About: ' + textilize_without_paragraph(h(@name.display_name)) %>

	<%= :show_name_rank.l %>: <%= rank_as_string(@name.rank) %>

	<%= :show_name_status.l %>: <%= @name.status == "Valid" ? :show_name_valid.l : :show_name_deprecated.l %>

	<%= :show_name_name.l %>: <%= @name.text_name %>

	<%= :show_name_author.l %>: <%= @name.author %>

	<%= :show_name_citation.l %>: <%= textilize_without_paragraph(sanitize(@name.citation || '')) %>

	<%
	approved_synonyms, deprecated_synonyms = @name.sort_synonyms
	if approved_synonyms != []
	    links = approved_synonyms.map{|n| link_to(textilize_without_paragraph(h(n.display_name)), :action => "show_name", :id => n)}
        %>
        <%= @name.deprecated ? :show_name_preferred_synonyms.l : :show_name_synonyms.l %>: <%= links.join(', ') %>

	<%
	end
    if deprecated_synonyms != []
        links = deprecated_synonyms.map{|n| link_to(textilize_without_paragraph(h(n.display_name)), :action => "show_name", :id => n)}
        %>
        <%= :show_name_deprecated_synonyms.l %>: <%= links.join(', ') %>

    <% end %>
	<%= :show_name_version.l %>: <%= @name.version %>

	<% if @past_name %>
	    <%= link_to("#{:show_name_previous_version.l}: %s" % @past_name.version, :action => 'show_past_name', :id => @past_name.id) %>
	<% end %>

<% if @name.notes.to_s != "" %>

<%= :show_name_notes_and_comments.l %>:

        <%= textilize(sanitize(@name.notes.to_s)) %>

<% end %>

<% if @children != [] %>

<%= rank_as_plural_string(@children[0].rank) %>:

        <% i = 0
           max = 25
           for child in @children
            i += 1
            break if i > max %>
            <%= link_to(textilize_without_paragraph(h(child.display_name)),
                :action => 'show_name', :id => child) %>

        <% end %>
        <%= "And #{@children.length - i + 1} more...
" if i > max %>

<% end %>

<% num_sects = 0 %>
<% for sect in ["consensus", "synonym", "other"]
  args = {}
  args[:consensus_page] = @consensus_page if @consensus_data != []
  args[:synonym_page] = @synonym_page     if @synonym_data != []
  args[:other_page] = @other_page         if @other_data != []
  if sect == "consensus"
    head  = :show_name_observations.l + ":"
    data  = @consensus_data
    page  = @consensus_page
    pages = @consensus_pages
    arg   = :consensus_page
    args.delete arg
  elsif sect == "synonym"
    head  = :show_name_synonym_observations.l + ":"
    data  = @synonym_data
    page  = @synonym_page
    pages = @synonym_pages
    arg   = :synonym_page
    args.delete arg
  else
    head  = :show_name_other_observations.l + ":
" +
            "" +
              (:show_name_other_observations_notes.l %
                textilize_without_paragraph(h(@name.display_name)))
            ""
    data  = @other_data
    page  = @other_page
    pages = @other_pages
    arg   = :other_page
    args.delete arg
  end
  if data && data.length > 0 %>
    <% if num_sects > 0 %>

    <% end %>
    <% num_sects += 1 %>

<a id="<%=sect%>"><%= head %>

      <% odd_or_even = 0
      for datum in data
        odd_or_even = 1 - odd_or_even
        id = datum["id"] %>
        <tr valign="top" class="ListLine<%= odd_or_even %>">

            <%=
            image_id = datum["thumb_image_id"]
            if image_id
              link_to(image_tag(sprintf("thumb/%d.jpg", image_id), :border => 0),
                :controller => 'observer', :action => 'show_observation', :id => id)
            end
            %>

            <%= link_to(textilize_without_paragraph(h(datum["observation_name"] + " (#{id})")),
              :controller => 'observer', :action => 'show_observation', :id => id) %>

            <%= location_link(datum["where"], datum["location_id"]) %>:
            <%= user_link(datum["user_id"], "#{datum['name']} (#{datum['login']})") %>

            Observation made: <%= datum["when"]%>

            Community confidence:
              <%= v = datum["vote_cache"]
                v.nil? || v == "" ? "no votes" : (v.to_f*100/3).round.to_s + "%" %>

      <% end %>

<%=
      x = pagination_links(pages, :name => arg, :params => args)
      # Wow this is ugly, but I can't find an option to pass to pagination_links to do it for me.
      x.to_s.gsub(/<a href="([^<>]*)">/, '')
    %>

  <% end %>
<% end %>

    <%= :show_name_name_created.l %>: <%= @name.created %>

    <%= :show_name_last_modified.l %>: <%= @name.modified %> by <%= user_link(@name.user) %>

    <% rss_log = @name.rss_log
       if rss_log %>
    	<%= link_to :show_name_show_log.l, :controller => 'observer', :action => 'show_rss_log', :id => rss_log.id %>
    <% end %>


fixed new paths for redmine 1.0.3. Fixes #232

<% content_for :header_tags do %>
    <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>

<% end %>

    <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
    <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
    <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
    <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>

<%=l(:label_project_plural)%>

<% form_tag('/projects', :method => :get, :id => :project_filtering) do %>

  <fieldset id="filters" class="collapsible">
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>

        <%= label_tag 'q', l('project_filtering_q_label') %>
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>

      <%= render :partial => 'custom_field', :collection => @custom_fields_used_for_project_filtering %>

<%= submit_tag( l(:button_send), :id => 'filter_button') -%>

  </fieldset>

<% end %>

<%= javascript_tag "Field.focus('search-input');" %>
<%= javascript_tag "$('filter_button').hide();" %>
<%= observe_form( :project_filtering,
  :frequency => 0.5,
  :url => { :controller => :projects, :action => :index, :format => :js },
  :method => :get
  )
%>

<%= render_project_hierarchy_with_filtering(@projects, @custom_fields, @question) %>

<% if User.current.logged? %>

<%= l(:label_my_projects) %>

<% end %>

<% other_formats_links do |f| %>
	<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
<% end %>

<% html_title(l(:label_project_plural)) -%>

<% content_for :header_tags do %>
    <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %>

<% end %>

    <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %>
    <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %>
    <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %>
    <%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>

<%=l(:label_project_plural)%>

<% form_tag('/projects', :method => :get, :id => :project_filtering) do %>

  <fieldset id="filters" class="collapsible">
    <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>

        <%= label_tag 'q', l('project_filtering_q_label') %>
        <%= text_field_tag 'q', @question, :size => 30, :id => 'search-input' %>

      <%= render :partial => 'custom_field', :collection => @custom_fields_used_for_project_filtering %>

<%= submit_tag( l(:button_send), :id => 'filter_button') -%>

  </fieldset>

<% end %>

<%= javascript_tag "Field.focus('search-input');" %>
<%= javascript_tag "$('filter_button').hide();" %>
<%= observe_form( :project_filtering,
  :frequency => 0.5,
  :url => { :controller => :projects, :action => :index, :format => :js },
  :method => :get
  )
%>

<%= render_project_hierarchy_with_filtering(@projects, @custom_fields, @question) %>

<% if User.current.logged? %>

<%= l(:label_my_projects) %>

<% end %>

<% other_formats_links do |f| %>
	<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
<% end %>

<% html_title(l(:label_project_plural)) -%>