Some more FAQs

Some more FAQs

<% @title = "About" %>

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Contact us

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

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

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

How does the site work? #

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

Why would I bother to do this? #

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

Why would the public authority bother to reply? #

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

Who makes it? #

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

Making requests #

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

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

How quickly will I get a response? #

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

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

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

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

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

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

Can I request information about myself? #

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

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

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

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

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

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

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

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

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

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.

For requests to Scottish public authorities you should ideally provide a
real name, especially if you forsee the possibility of complaining later to the
Scottish Information Commissioner - based on
legal advice
they received in 2005, they will not accept complaints where they find out that
the request was originally made under a pseudonym.

They've asked for my postal address! #

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

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

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

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

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

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, mark your request as "They are going to reply by post", and it will
give you an email address to use for that purpose.

How do you moderate request annotations? #

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

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

FOI officer questions #

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

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

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

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

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

Why are you publishing responses to FOI requests? #

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

Are the people making requests real people? #

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

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

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

Aren't you making lots of vexatious requests? #

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

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

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

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

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

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

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

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

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

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.

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

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

Write a blog post about either WhatDoTheyKnow or an interesting request that you've
    found. Post about it on a forum that you frequent. Tell friends about it.

If you're
    a programmer, get the
    source code
    and send us patches. It's made in Ruby on Rails.

Read more about volunteering with mySociety.

<% @title = "About" %>

Contents

Introduction

Making requests

Privacy policy

FOI officers

Credits

Contact us

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

Introduction to WhatDoTheyKnow #

What is WhatDoTheyKnow for? #

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

How does the site work? #

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

Why would I bother to do this? #

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

Why would the public authority bother to reply? #

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

Who makes it? #

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

Making requests #

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

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

How quickly will I get a response? #

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

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

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

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

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

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

Can I request information about myself? #

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

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

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

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

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

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

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

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

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

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.

For requests to Scottish public authorities you should ideally provide a
real name, especially if you forsee the possibility of complaining later to the
Scottish Information Commissioner - based on
legal advice
they received in 2005, they will not accept complaints where they find out that
the request was originally made under a pseudonym.

They've asked for my postal address! #

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

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

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

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

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

If that doesn't work, and you want to provide your postal address privately
in order to receive the documents, mark your request as "They are going to reply by post", and it will
give you an email address to use for that purpose.

How do you moderate request annotations? #

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

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

FOI officer questions #

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

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

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

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

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

Why are you publishing responses to FOI requests? #

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

Are the people making requests real people? #

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

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

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

Aren't you making lots of vexatious requests? #

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

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

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

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.

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.


Allow tracks to be destroyed from user page

<% @title = _("User – {{name}}", :name => h(@admin_user.name)) %>

<%=@title%>

<% if @admin_user.profile_photo %>

    <% form_tag "../clear_profile_photo/#{@admin_user.id}", :multipart => true, :class => "form" do %>
      <img src="<%= main_url(get_profile_photo_url(:url_name => @admin_user.url_name, :only_path => true)) %>">

      <%= submit_tag "Clear photo", :class => "btn btn-info" %>
    <% end %>

<% end %>

        <%=_("Id")%>

        <%=@admin_user.id%>

    <% @admin_user.for_admin_column(:complete => true) do |name, value, type, column_name| %>

          <%=_(name)%>

          <% if column_name == 'email' %>
            <%=link_to @admin_user.email, "mailto:#{h @admin_user.email}"%>
          <% elsif column_name == 'email_bounce_message' %>
            <% unless @admin_user.email_bounce_message.empty? %>
              <%= link_to _("See bounce message"), "../show_bounce_message/#{@admin_user.id}"%>
            <% end %>
          <% else %>
            <%=h admin_value(value)%>
          <% end %>
          <% if column_name == 'email_bounced_at' && !@admin_user.email_bounced_at.nil? %>
            <% form_tag "../clear_bounce/#{@admin_user.id}", :class => "form form-inline" do %>
              <input type="submit" name="action" value="Clear bounce" class="btn btn-info">
            <% end %>
          <% end %>

    <% end %>

<%= link_to 'Edit', '../edit/' + @admin_user.id.to_s, :class => "btn btn-primary" %>
<%= link_to 'Public page', main_url(user_url(@admin_user)), :class => "btn" %>
<%= link_to "Log in as #{@admin_user.name} (also confirms their email)", "../login_as/#{@admin_user.id}", :class => "btn btn-info" %>

Track things

<%= render :partial => 'admin_track/some_tracks', :locals => { :track_things => @admin_user.track_things, :include_destroy => true } %>

Post redirects

  Id
  <% for column in PostRedirect.content_columns %>
    <%= column.human_name %>
  <% end %>

<% for post_redirect in @admin_user.post_redirects.find(:all, :order => 'created_at desc') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h post_redirect.id %>
  <% for column in PostRedirect.content_columns.map { |c| c.name } %>
    <% if column == 'email_token' %>
     <%=link_to post_redirect.send(column), main_url(confirm_url(:email_token => post_redirect.send(column), :only_path => true)) %>
    <% else %>
    <%=h post_redirect.send(column) %>
    <% end %>
  <% end %>

<% end %>

Requests

<%= render :partial => 'admin_request/some_requests', :locals => { :info_requests => @admin_user.info_requests } %>

Censor rules

<%= render :partial => 'admin_censor_rule/show', :locals => { :censor_rules => @admin_user.censor_rules, :user => @admin_user } %>

<% @title = _("User – {{name}}", :name => h(@admin_user.name)) %>

<%=@title%>

<% if @admin_user.profile_photo %>

    <% form_tag "../clear_profile_photo/#{@admin_user.id}", :multipart => true, :class => "form" do %>
      <img src="<%= main_url(get_profile_photo_url(:url_name => @admin_user.url_name, :only_path => true)) %>">

      <%= submit_tag "Clear photo", :class => "btn btn-info" %>
    <% end %>

<% end %>

        <%=_("Id")%>

        <%=@admin_user.id%>

    <% @admin_user.for_admin_column(:complete => true) do |name, value, type, column_name| %>

          <%=_(name)%>

          <% if column_name == 'email' %>
            <%=link_to @admin_user.email, "mailto:#{h @admin_user.email}"%>
          <% elsif column_name == 'email_bounce_message' %>
            <% unless @admin_user.email_bounce_message.empty? %>
              <%= link_to _("See bounce message"), "../show_bounce_message/#{@admin_user.id}"%>
            <% end %>
          <% else %>
            <%=h admin_value(value)%>
          <% end %>
          <% if column_name == 'email_bounced_at' && !@admin_user.email_bounced_at.nil? %>
            <% form_tag "../clear_bounce/#{@admin_user.id}", :class => "form form-inline" do %>
              <input type="submit" name="action" value="Clear bounce" class="btn btn-info">
            <% end %>
          <% end %>

    <% end %>

<%= link_to 'Edit', '../edit/' + @admin_user.id.to_s, :class => "btn btn-primary" %>
<%= link_to 'Public page', main_url(user_url(@admin_user)), :class => "btn" %>
<%= link_to "Log in as #{@admin_user.name} (also confirms their email)", "../login_as/#{@admin_user.id}", :class => "btn btn-info" %>

Track things

<%= render :partial => 'admin_track/some_tracks', :locals => { :track_things => @admin_user.track_things } %>

Post redirects

  Id
  <% for column in PostRedirect.content_columns %>
    <%= column.human_name %>
  <% end %>

<% for post_redirect in @admin_user.post_redirects.find(:all, :order => 'created_at desc') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h post_redirect.id %>
  <% for column in PostRedirect.content_columns.map { |c| c.name } %>
    <% if column == 'email_token' %>
     <%=link_to post_redirect.send(column), main_url(confirm_url(:email_token => post_redirect.send(column), :only_path => true)) %>
    <% else %>
    <%=h post_redirect.send(column) %>
    <% end %>
  <% end %>

<% end %>

Requests

<%= render :partial => 'admin_request/some_requests', :locals => { :info_requests => @admin_user.info_requests } %>

Censor rules

<%= render :partial => 'admin_censor_rule/show', :locals => { :censor_rules => @admin_user.censor_rules, :user => @admin_user } %>


Hid roles for non-admin users.

Hid roles for non-admin users.

            <%= link_to "Home", :controller => "selfservice", :action => "index" %>

        <% if [:super, :admin].include?(session[:role]) %>

            	<%= link_to "Roles", :controller => "role", :action => "index" %>

        <% end %>

            <%= link_to "Migrate", :controller => "migration", :action => "index" %>

            <%= link_to "Home", :controller => "selfservice", :action => "index" %>

        <% if session[:role].include?(:admin, :super) %>

            	<%= link_to "Roles", :controller => "role", :action => "index" %>

        <% end %>

            <%= link_to "Migrate", :controller => "migration", :action => "index" %>


Some highlighting.

Some highlighting.

Please check the URL (i.e. the long code of letters and numbers) is copied
correctly from your email.

If you can't click on it in the email, you'll have to select and copy
it from the email.  Then paste it into your browser, into the place
you would type the address of any other webpage.

If you got the email more than six months ago, then this login link won't work any
more. Please try doing what you were doing from the beginning.


added support for a helper method (list_row_class) that lets people customize the css class of a <tr> based on record attributes. this lets people do things like style a cell red based on a negative ledger entry.
closes issue #47

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

<%
record = list_record if list_record # compat with render :partial :collection
tr_class = cycle("", "even-record")
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class
url_options = params_for(:action => :list, :id => record.id)
-%>

<tr class="record <%= tr_class %>" id="<%= element_row_id(:action => :list, :id => record.id) %>" class="record">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = render_column(record, column) -%>
    <% column_value << " " if column_value.nil? or column_value.empty? # For IE6 -%>

    <td class="<%= column_class(column, column_value) %>" >
      <% if column.link -%>
        <% column.link.label = column_value %>
        <%= record.authorized_for?(:action => column.link.crud_type) ? render_action_link(column.link, url_options) : "#{column.link.label}" -%>
      <% else -%>
        <%= column_value %>
      <% end -%>

  <% end -%>
  <% if active_scaffold_config.action_links.any? {|link| link.type == :record } -%>

    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} %>

  <% end -%>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>

<% record = list_record if list_record # compat with render :partial :collection -%>
<% classAttr = cycle("", "even-record") -%>
<% url_options = params_for(:action => :list, :id => record.id) -%>

<tr class="record <%= classAttr %>" id="<%= element_row_id(:action => :list, :id => record.id) %>" class="record">
  <% active_scaffold_config.list.columns.each do |column| %>
    <% column_value = render_column(record, column) -%>
    <% column_value << " " if column_value.nil? or column_value.empty? # For IE6 -%>

    <td class="<%= column_class(column, column_value) %>" >
      <% if column.link -%>
        <% column.link.label = column_value %>
        <%= record.authorized_for?(:action => column.link.crud_type) ? render_action_link(column.link, url_options) : "#{column.link.label}" -%>
      <% else -%>
        <%= column_value %>
      <% end -%>

  <% end -%>
  <% if active_scaffold_config.action_links.any? {|link| link.type == :record } -%>

    <%= render :partial => 'list_actions', :locals => {:record => record, :url_options => url_options} %>

  <% end -%>

<% target_id = element_row_id(:action => :list, :id => record.id) -%>


Update forgotten password page with new look

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

        Forgotten your Clocking IT account information?

		<% if flash[:notice] %>

Registration Problems
<%= flash[:notice] %>

<% end %>

		  <% form_tag :action => 'take_forgotten' do %>

Email Address	<%= text_field_tag 'email', params[:email]  %>

 	<%= submit_tag "Mail Password", :class => 'nolabel' %>

		    <% end %>

Enter you email address and we'll send you a copy of your account information.

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

Sign Up

Forum

Wiki

About

Home

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

  Forgotten your Clocking IT account information?

      <% form_tag :action => 'take_forgotten' do %>

Email Address	<%= text_field_tag 'email', params[:email]  %>

 	<%= submit_tag "Mail Password", :class => 'nolabel' %>

      <% end %>

Enter you email address and we'll send you a copy of your account information.

<a href="http://www.<%= $CONFIG[:domain] %>/login/signup">


fixed broken HTML caught by tarantula

fixed broken HTML caught by tarantula

<% content_for('optionbar') do %>
  <%= option "home" %>
<% end %>

  Enter some search terms in the box to search for users or groups.

  Hint: You can search for public users by their login name, display name, or the whole of their email address. You can search for groups using any part of their title or description.

    <% form_tag :action => 'index' do %>
    <%= image_tag 'search.png' %>
    <%= text_field :search, :string, :value => (params[:search].nil? ? "" : params[:search][:string]) %>
    <%= submit_tag 'Search' %>
    <% end %>

<% unless @users.nil? or @groups.nil? %>

        <%= image_tag 'user.png' %>
        <% unless @current_user.nil? %>
          <%= link_to 'Users', :controller => 'friends' %>
        <% else %>
          Users
        <% end %>

        <% if @users.empty? %>
          No users found!
          <% unless @current_user.nil? %>
            Why not <%= link_to 'invite your contacts', :controller => "friends", :action => "invite" %>?
          <% end %>
        <% else %>
          <%=h @users.size %> users found:
        <% end %>

        <% @users.each do |user| %>
          <%= image_tag(user.avatar(true)) %>
          <%= link_to h(user.login), :controller => 'profile', :action => 'index', :login => user.login %>
          <% unless user.display_name.nil? or user.display_name.blank? %> - <%=h user.display_name %><% end %>
          <%= image_tag user.flag %>

        <% end %>

        <%= image_tag 'group.png' %>
        <% unless @current_user.nil? %>
          <%= link_to 'Groups', :controller => 'groups' %>
        <% else %>
          Groups
        <% end %>
        (<%= link_to 'browse all', :controller => 'groups', :action => 'index' %>)

      <% if @groups.empty? %>
        No groups found!
        <% unless @current_user.nil? %>
          Why not <%= link_to 'create a new one', :controller => "groups", :action => "edit" %>?
        <% end %>
      <% else %>
        <%=h @groups.size %> groups found:
        <%= render :partial => "/shared/grouplist" %>
      <% end %>

<% end %>

<% content_for('optionbar') do %>
  <%= option "home" %>
<% end %>

Enter some search terms in the box to search for users or groups.

Hint: You can search for public users by their login name, display name, or the whole of their email address. You can search for groups using any part of their title or description.

<% form_tag :action => 'index' do %>
<%= image_tag 'search.png' %>
<%= text_field :search, :string, :value => (params[:search].nil? ? "" : params[:search][:string]) %>
<%= submit_tag 'Search' %>
<% end %>

<% unless @users.nil? or @groups.nil? %>

<%= image_tag 'user.png' %>
<% unless @current_user.nil? %>
<%= link_to 'Users', :controller => 'friends' %>
<% else %>
Users
<% end %>

<% if @users.empty? %>
  No users found!
  <% unless @current_user.nil? %>
  Why not <%= link_to 'invite your contacts', :controller => "friends", :action => "invite" %>?
  <% end %>
<% else %>
<%=h @users.size %> users found:

<% end %>
<% @users.each do |user| %>
<%= image_tag(user.avatar(true)) %>
<%= link_to h(user.login), :controller => 'profile', :action => 'index', :login => user.login %>
<% unless user.display_name.nil? or user.display_name.blank? %> - <%=h user.display_name %><% end %>
<%= image_tag user.flag %>

<% end %>

<%= image_tag 'group.png' %>
<% unless @current_user.nil? %>
<%= link_to 'Groups', :controller => 'groups' %>
<% else %>
Groups
<% end %>
(<%= link_to 'browse all', :controller => 'groups', :action => 'browse' %>)

<% if @groups.empty? %>
No groups found!
<% unless @current_user.nil? %>
Why not <%= link_to 'create a new one', :controller => "groups", :action => "edit" %>?
<% end %>
<% else %>
<%=h @groups.size %> groups found:
<%= render :partial => "/shared/grouplist" %>
<% end %>

<% end %>


added sidebar link for viewing loan info

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

  <%= stylesheet_link_tag 'andreas06' %>
  <%= javascript_include_tag :defaults %>
  <%= calendar_date_select_includes "freelibrary" %>

Skip to: site menu | section menu | main content

e.f.l.

		Edmonton Free Library

Site menu:

		Welcome |

		<%= link_to 'books', books_path, :class => 'navitab' %> |
		<%= link_to 'video', videos_path, :class => 'navitab' %> |

		find out more |

Back to top

e.f.l.

					<% if current_user %>
						<%= user_link current_user, :class => 'nav' %>

                        <%= link_to 'loans', {:controller => 'loans'}, :class=> 'nav' %>

                        <%= link_to 'edit profile', {:controller => 'account'}, :class =>'nav' %>

					<% else %>
						<%= link_to 'log in', {:controller => 'account', :action => 'login'}, :class=> 'nav' %>

						<%= link_to 'new account', {:controller => 'account', :action => 'signup'}, :class=> 'nav' %>

					<% end %>
					<%= controller_side_links %>
					<% if current_user %>
						<%= link_to 'log out', {:controller => 'account', :action => 'logout'}, :class=> 'nav' %>
					<% end %>
					Back to top

					<% if flash[:notice] %>

              Notice:

<%= flash[:notice].untaint %>

					<% elsif flash[:error] %>

              Error:

<%= flash[:error].untaint %>

					<% end %>

					<%= yield  %>

Back to top

Copy away mofos | Design by Andreas Viklund

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

  <%= stylesheet_link_tag 'andreas06' %>
  <%= javascript_include_tag :defaults %>
  <%= calendar_date_select_includes "freelibrary" %>

Skip to: site menu | section menu | main content

e.f.l.

		Edmonton Free Library

Site menu:

		Welcome |

		<%= link_to 'books', books_path, :class => 'navitab' %> |
		<%= link_to 'video', videos_path, :class => 'navitab' %> |

		find out more |

Back to top

e.f.l.

					<% if current_user %>
						<%= user_link current_user, :class => 'nav' %>

						<%= link_to 'edit profile', {:controller => 'account'}, :class =>'nav' %>

					<% else %>
						<%= link_to 'log in', {:controller => 'account', :action => 'login'}, :class=> 'nav' %>

						<%= link_to 'new account', {:controller => 'account', :action => 'signup'}, :class=> 'nav' %>

					<% end %>
					<%= controller_side_links %>
					<% if current_user %>
						<%= link_to 'log out', {:controller => 'account', :action => 'logout'}, :class=> 'nav' %>
					<% end %>
					Back to top

					<% if flash[:notice] %>

              Notice:

<%= flash[:notice].untaint %>

					<% elsif flash[:error] %>

              Error:

<%= flash[:error].untaint %>

					<% end %>

					<%= yield  %>

Back to top

Copy away mofos | Design by Andreas Viklund


Slightly better alignment

Slightly better alignment

(ActionItem1529)

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

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

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

      <% for template in templates %>
        <%
          selected = (!template.nil? && (@current_template == template.id))
        %>

          <% if template %>
            <%= image_tag("/designs/templates/#{template.id}/thumbnail.png",
                :class => 'template-preview',
                :alt => _('The "%s" template')) %>
          <% end %>

        <td <%= 'class="selected template"' if selected %> style='vertical-align: top;'>
          <% if template %>
            <%= template.id %> <%= _('(current)') if selected %>

            <%= link_to(_('Use this template'), :action => 'set_layout_template', :id => template.id) unless selected %>
          <% end %>

      <% end %>

  <% end %>

  <% if !@themes.empty? %>

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

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

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

        <% for theme in themes %>
          <%
            selected = (!theme.nil? && (theme.id == @current_theme))
          %>

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

          <td <%= 'class="selected theme"' if selected %> style='vertical-align: top'>
            <% if theme %>
              <%= theme.name %> <%= _('(current)') if selected %>

              <%= link_to(_('Use this theme'), :action => 'set', :id => theme.id) unless selected %>
            <% end %>

        <% end %>

    <% end %>
  <% end %>

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

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

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

        <% for theme in themes %>

            <%# FIXME add proper thumbnails %>
            <%= image_tag('/images/icons-app/design-editor.png', :alt => (_('The "%s" theme.') % theme.name)) if theme %>

            <%= theme.name if theme%>

            <%= link_to(_('Edit this theme'), :action => 'edit', :id => theme.id) if theme %>

            <%= link_to(_('Test this theme'), :action => 'start_test', :id => theme.id) if theme %>

        <% end %>

    <% end %>
  <% end %>

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

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

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

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

      <% for template in templates %>
        <%
          selected = (!template.nil? && (@current_template == template.id))
        %>

          <% if template %>
            <%= image_tag("/designs/templates/#{template.id}/thumbnail.png",
                :class => 'template-preview',
                :alt => _('The "%s" template')) %>
          <% end %>

        <td <%= 'class="selected template"' if selected %>>
          <% if template %>
            <%= template.id %> <%= _('(current)') if selected %>

            <%= link_to(_('Use this template'), :action => 'set_layout_template', :id => template.id) unless selected %>
          <% end %>

      <% end %>

  <% end %>

  <% if !@themes.empty? %>

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

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

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

        <% for theme in themes %>
          <%
            selected = (!theme.nil? && (theme.id == @current_theme))
          %>

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

          <td <%= 'class="selected theme"' if selected %>>
            <% if theme %>
              <%= theme.name %> <%= _('(current)') if selected %>

              <%= link_to(_('Use this theme'), :action => 'set', :id => theme.id) unless selected %>
            <% end %>

        <% end %>

    <% end %>
  <% end %>

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

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

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

        <% for theme in themes %>

            <%# FIXME add proper thumbnails %>
            <%= image_tag('/images/icons-app/design-editor.png', :alt => (_('The "%s" theme.') % theme.name)) if theme %>

            <%= theme.name if theme%>

            <%= link_to(_('Edit this theme'), :action => 'edit', :id => theme.id) if theme %>

            <%= link_to(_('Test this theme'), :action => 'start_test', :id => theme.id) if theme %>

        <% end %>

    <% end %>
  <% end %>

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


Add simple wiki-linking instructions when editing wiki pages

<%= use_tinymce %>

<%= @page.name %>

<fieldset style="border:none;padding:0;margin:0;">

Linking to Pages

WikiPage
[[Wikipage]]
[[Wikipage|link name]]

Auto Links

support@clockingit.com
http://www.clockingit.com
#123

  <% form_tag :action => 'create', :id => @page.name do %>
    <% if @page.revisions.empty? %>

This wiki page doesn't exist yet. Create it by entering text and clicking the button below.

    <textarea id="wiki_body" name="body" style="width:100%;" rows="20" class="tinymce"></textarea>
    <% else %>
    <textarea id="wiki_body" name="body" rows="20" style="width:100%;" class="tinymce"><%= html_encode(@page.to_plain_html(params[:rev].to_i)) %></textarea>
    <% end %>

<%= _('Edit Summary')%><input type="text" name="change" />

<%= submit_tag _("Save"), :class => "nolabel" %><% unless @page.revisions.empty?%> <%= _('or')%> <%= link_to _("Cancel"), :controller => "wiki", :action => "cancel", :id => @page.name %><% end %>

  <% end %>

</fieldset>

<%= use_tinymce %>

<%= @page.name %>

<fieldset style="border:none;padding:0;margin:0;">
  <% form_tag :action => 'create', :id => @page.name do %>
    <% if @page.revisions.empty? %>

This wiki page doesn't exist yet. Create it by entering text and clicking the button below.

    <textarea id="wiki_body" name="body" rows="20" style="width:80%;" class="tinymce"></textarea>
    <% else %>
    <textarea id="wiki_body" name="body" rows="20" style="width:80%;" class="tinymce"><%= html_encode(@page.to_plain_html(params[:rev].to_i)) %></textarea>
    <% end %>

<%= _('Edit Summary')%><input type="text" name="change" />

<%= submit_tag _("Save"), :class => "nolabel" %><% unless @page.revisions.empty?%> <%= _('or')%> <%= link_to _("Cancel"), :controller => "wiki", :action => "cancel", :id => @page.name %><% end %>

  <% end %>
</fieldset>