Better wording

Better wording

<%= @name %>,

You just tried to sign up to foi.mysociety.org, when you
already have an account. Your name and password have been
left as they previously were.

Please click on the link below. <%=@reasons[:email]%>

<%=@url%>

-- the foi.mysociety.org team

<%= @name %>,

You just tried to sign up to foi.mysociety.org, when you
already have an account. Your name and password have been
left as they previously were.

Please click on the link below to confirm your account.
<%=@reasons[:email]%>

<%=@url%>

-- the foi.mysociety.org team


show instruction elements when evaluating

<% if instruction.parent_id %>
  <%= instruction.text %>

<% else %>

	<%= instruction.text %>

<% end %>


ActionItem501: better description of field

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

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

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

    <%= check_box 'profile_data', 'closed' %>
    <%= _("New members must be approved by an administrator before joining this group?") %>

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

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

    <%= check_box 'profile_data', 'closed' %>
    <%= _("Closed organization") %>


Remove unnecessary reference to Access Info in donation button

<% @title = "¿Cómo nos puedes ayudar?" %>

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

¿Cómo nos puedes ayudar?

Aportaciones económicas

tuderechoasaber.es ha arrancado gracias al apoyo económico de más de 150 personas que nos han dado un total de 6.138€ a través de la plataforma de crowdfunding Goteo. Pero aún nos queda mucho por hacer y necesitamos tu ayuda.

Toda pequeña contribución, incluso de 5€ o 10€, nos ayudará a realizar mejor las tareas de mantenimiento diario. Tu donación servirá para garantizar el buen funcionamiento de la web, ampliar nuestra red de contactos de instituciones y hacer llegar el mensaje de la necesidad de una administración abierta a mucha más gente.

Además:

Si donas más de 10 euros te mencionaremos en los agradecimientos. (Somos muy transparentes con nuestra financiación, publicando quién dona y cómo gastamos el dinero. Pero también respetamos tu privacidad. Si prefieres que tu nombre no aparezca, háznoslo saber.)

Si donas más de 400 euros aparecerás como <%= link_to _("patrocinador"), help_about_path(:anchor => 'supporters') %> en la web.

Puedes hacernos llegar tu donación de las siguientes maneras:

Preferiblemente, por transferencia bancaria a la siguiente cuenta (gestionada por Access Info Europe, ONG registrada en España):

          Banco: La Caixa, Paseo de la Habana 5, 28036 Madrid

          Número de cuenta: 2100 - 2133 - 99 - 0200291748

          Por favor, usa la referencia "DON-TDAS"

Si quieres, puedes hacerlo a través de PayPal, aunque de este modo se pierde un porcentaje en comisiones por el camino:

          <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
          <input type="hidden" name="cmd" value="_s-xclick">
          <input type="hidden" name="hosted_button_id" value="KATYF9NXGZRQA">
          <input type="image" src="https://www.paypalobjects.com/en_US/ES/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal button">

          </form>

Voluntarios

Puedes ayudarnos a traducir el contenido de la web y las solicitudes al catalán, al euskera y al gallego.

Ayúdanos a difundir este proyecto, con un post en tu web o en tu blog, por ejemplo o con Twitter recomendando @tuderechoasaber.

Si ves algún problema con la web, avísanos, aún estamos trabajando en ella.

Si quieres ayudarnos con el diseño y la programación de la web, o con la administración del servidor, eres más que bienvenido, escríbenos a contacto@tuderechoasaber.es.

Instituciones públicas

Si eres una institución pública, puedes ser entidad colaboradora. No puedes darnos dinero pero podemos colaborar para hacer que la web sea mejor y más colaborativa. Estas son las condiciones de colaboración.

    <%= render :partial => 'help/public_partners' %>

<% @title = "¿Cómo nos puedes ayudar?" %>

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

¿Cómo nos puedes ayudar?

Aportaciones económicas

tuderechoasaber.es ha arrancado gracias al apoyo económico de más de 150 personas que nos han dado un total de 6.138€ a través de la plataforma de crowdfunding Goteo. Pero aún nos queda mucho por hacer y necesitamos tu ayuda.

Toda pequeña contribución, incluso de 5€ o 10€, nos ayudará a realizar mejor las tareas de mantenimiento diario. Tu donación servirá para garantizar el buen funcionamiento de la web, ampliar nuestra red de contactos de instituciones y hacer llegar el mensaje de la necesidad de una administración abierta a mucha más gente.

Además:

Si donas más de 10 euros te mencionaremos en los agradecimientos. (Somos muy transparentes con nuestra financiación, publicando quién dona y cómo gastamos el dinero. Pero también respetamos tu privacidad. Si prefieres que tu nombre no aparezca, háznoslo saber.)

Si donas más de 400 euros aparecerás como <%= link_to _("patrocinador"), help_about_path(:anchor => 'supporters') %> en la web.

Puedes hacernos llegar tu donación de las siguientes maneras:

Preferiblemente, por transferencia bancaria a la siguiente cuenta (gestionada por Access Info Europe, ONG registrada en España):

          Banco: La Caixa, Paseo de la Habana 5, 28036 Madrid

          Número de cuenta: 2100 - 2133 - 99 - 0200291748

          Por favor, usa la referencia "DON-TDAS"

Si quieres, puedes hacerlo a través de PayPal a Access Info Europe, aunque de este modo se pierde un porcentaje en comisiones por el camino:

          <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
          <input type="hidden" name="cmd" value="_s-xclick">
          <input type="hidden" name="hosted_button_id" value="KATYF9NXGZRQA">
          <input type="image" src="https://www.paypalobjects.com/en_US/ES/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal button">

          </form>

Voluntarios

Puedes ayudarnos a traducir el contenido de la web y las solicitudes al catalán, al euskera y al gallego.

Ayúdanos a difundir este proyecto, con un post en tu web o en tu blog, por ejemplo o con Twitter recomendando @tuderechoasaber.

Si ves algún problema con la web, avísanos, aún estamos trabajando en ella.

Si quieres ayudarnos con el diseño y la programación de la web, o con la administración del servidor, eres más que bienvenido, escríbenos a contacto@tuderechoasaber.es.

Instituciones públicas

Si eres una institución pública, puedes ser entidad colaboradora. No puedes darnos dinero pero podemos colaborar para hacer que la web sea mejor y más colaborativa. Estas son las condiciones de colaboración.

    <%= render :partial => 'help/public_partners' %>


Add link to post in News listing

Add link to post in News listing

<% view_cache :ttl => 5.minutes, :tag => I18n.locale do %>

You have the right to ask for information, they are legally obliged to respond

About AskTheEU

Lorem ipsum dolor sit amet,
        consectetuer adipiscing elit.

            <%= link_to _('More'), help_about_url %>

Make
Your Request

Lorem isum dolor sit amet, consectetuer
        adipiscing elit, sed diam nonummy nibh.

            <%= link_to _("Request"), select_authority_url %>

Search Requests

Lorem ipsum dolor sit amet,
        consectetuer adipiscing elit.

            <%= link_to _("Search"), request_list_successful_url %>

EU institutions

What can you ask and to whom?

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
            euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad
            minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip
            ex ea commodo consequat.

Video

News

            <% for item in @blog_items[0..2]: %>

<%= simple_date(Time.parse(item['pubDate'][0])) %>

            <a href='<%= "#{blog_url}\##{Time.parse(item['pubDate'][0]).to_i}" %>'><%= h item['title'] %>

            <% end %>

View all news

<% end %>

<% view_cache :ttl => 5.minutes, :tag => I18n.locale do %>

You have the right to ask for information, they are legally obliged to respond

About AskTheEU

Lorem ipsum dolor sit amet,
        consectetuer adipiscing elit.

            <%= link_to _('More'), help_about_url %>

Make
Your Request

Lorem isum dolor sit amet, consectetuer
        adipiscing elit, sed diam nonummy nibh.

            <%= link_to _("Request"), select_authority_url %>

Search Requests

Lorem ipsum dolor sit amet,
        consectetuer adipiscing elit.

            <%= link_to _("Search"), request_list_successful_url %>

EU institutions

What can you ask and to whom?

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
            euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad
            minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip
            ex ea commodo consequat.

Video

News

            <% for item in @blog_items[0..2]: %>

<%= simple_date(Time.parse(item['pubDate'][0])) %>

            <%= item['title'] %>

            <% end %>

View all news

<% end %>


Update front page lead

Update front page lead

<% view_cache :ttl => 5.minutes.to_i, :tag => I18n.locale do %>

<%= _("Ejerce tu derecho a saber.") %>

1

2

3

<%= _("Para obtener información de instituciones públicas:") %>

<%= _("Piensa una pregunta para un organismo público.") %>

<%= _("Nosotros enviamos la pregunta por ti.") %>

<%= _("Te avisamos cuando haya una respuesta.") %>

            <%= link_to _("Preguntar »"), body_index_path %>

            <%= link_to _("¿Contestarán? »"), help_requesting_path(:anchor => 'making_requests') %>

Informe Tu Derecho a Saber 2012

De las 567 solicitudes de información válidas recibidas durante 2012, sólo el 13% recibieron una respuesta válida. El silencio administrativo, la mayor traba para el derecho de acceso a la información en España, es del 54%. Lee nuestro informe completo.

    			<form action="http://tuderechoasaber.us4.list-manage.com/subscribe/post?u=9416fe6b76f2c3f985c1f8e0f&id=36f187e6e2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank">

¿Quieres estar informado de todas las novedades? Suscríbete a nuestro boletín:

<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="dirección de correo" required="true" style="width:90%">

<input type="submit" value="Suscríbeme" name="subscribe" id="mc-embedded-subscribe" style="border-color:silver">

    			</form>

Twittear

<%= _("Haz una búsqueda entre las peticiones ya realizadas:") %>

              <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

                <%= text_field_tag 'query', params[:query], { :size => 80 } %>
                <%= submit_tag _('Search') %>

              <% end %>

<%= _("Novedades") %>

                <% 0.upto(3).each do |position|
                    item = @blog_items[position];
                    break if item.nil? %>

                  <div class="frontpage-blog-post <%= position.even? ? 'left' : 'right' %>">
                    <img src="<%= item['thumbnail'] %>" width="278" height="128"/>

                      <a href='<%= item['link'] %>' target="_blank"><%= h item['title'] %>

<%= h excerpt(item['description'].to_s, "", 200) %>

<a href="<%= item['link'] %>" target="_blank"><%= _("Leer más »") %>

                  <% if position.odd? %>

                  <% end %>
                <% end %>

<%= _("Más novedades »") %>

<%= _("Peticiones destacadas") %>

                <% @featured_requests.each do |featured_request| %>
                <%= render :partial => 'track/tracking_request_links',
                      :locals => {
                        :track_thing => TrackThing.create_track_for_request(featured_request),
                        :own_request => featured_request.user == @user,
                        :location => "frontpage"
                      } %>
                <% end %>

<% end %>

<% view_cache :ttl => 5.minutes.to_i, :tag => I18n.locale do %>

<%= _("Ejerce tu derecho a saber.") %>

1

2

3

<%= _("Para obtener información de instituciones públicas:") %>

<%= _("Piensa una pregunta para un organismo público.") %>

<%= _("Nosotros enviamos la pregunta por ti.") %>

<%= _("Te avisamos cuando haya una respuesta.") %>

            <%= link_to _("Preguntar »"), body_index_path %>

            <%= link_to _("¿Contestarán? »"), help_requesting_path(:anchor => 'making_requests') %>

Entrada en vigor de la ley de transparencia en Navarra

El 28 de diciembre entra en vigor la Ley Foral de Transparencia y Gobierno Abierto de Navarra, la primera ley de transparencia que se aprueba en España, único país de la Unión Europea que, junto a Luxemburgo y Chipre, aún no ha promulgado una norma semejante.

    			<form action="http://tuderechoasaber.us4.list-manage.com/subscribe/post?u=9416fe6b76f2c3f985c1f8e0f&id=36f187e6e2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank">

¿Quieres estar informado de todas las novedades? Suscríbete a nuestro boletín:

<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="dirección de correo" required="true" style="width:90%">

<input type="submit" value="Suscríbeme" name="subscribe" id="mc-embedded-subscribe" style="border-color:silver">

    			</form>

Twittear

<%= _("Haz una búsqueda entre las peticiones ya realizadas:") %>

              <% form_tag({:action => "search_redirect"}, {:id => "search_form"}) do %>

                <%= text_field_tag 'query', params[:query], { :size => 80 } %>
                <%= submit_tag _('Search') %>

              <% end %>

<%= _("Novedades") %>

                <% 0.upto(3).each do |position|
                    item = @blog_items[position];
                    break if item.nil? %>

                  <div class="frontpage-blog-post <%= position.even? ? 'left' : 'right' %>">
                    <img src="<%= item['thumbnail'] %>" width="278" height="128"/>

                      <a href='<%= item['link'] %>' target="_blank"><%= h item['title'] %>

<%= h excerpt(item['description'].to_s, "", 200) %>

<a href="<%= item['link'] %>" target="_blank"><%= _("Leer más »") %>

                  <% if position.odd? %>

                  <% end %>
                <% end %>

<%= _("Más novedades »") %>

<%= _("Peticiones destacadas") %>

                <% @featured_requests.each do |featured_request| %>
                <%= render :partial => 'track/tracking_request_links',
                      :locals => {
                        :track_thing => TrackThing.create_track_for_request(featured_request),
                        :own_request => featured_request.user == @user,
                        :location => "frontpage"
                      } %>
                <% end %>

<% end %>


Hide 'date added' value from public body listings

@import url(http://fonts.googleapis.com/css?family=Open+Sans:600,700);

/** LAYOUT **/
body {
    font-family: Verdana, Helvetica, Arial;
}
    body.front {
        background: none;
    }

#wrapper {
    padding-top: 10px;
    margin-bottom: 50px;
}

/** HEADER **/
#banner {
    background: #EAF5F6;
    border: none;
    height: 150px;
    position: relative;
}

#banner_inner {
    width: 950px;
    height: 150px;
}
    #banner_inner a:hover {
        text-decoration: underline;
    }

#logo {
    position: absolute;
    top: 20px;
}

#navigation_search {
    top: 50px;
    visibility: hidden;
}

div.lang {
    top: 23px;
    color: #00aaa6;
    font-size: 12px;
    text-transform: capitalize;
}
    div.lang a {
        color: #00aaa6;
        text-decoration: none;
    }

#logged_in_bar {
    top: 24px;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 8px 1px 8px;
    height: 19px;
    background: #009a9d;
    border-radius: 5px;
}
    #logged_in_bar, #logged_in_bar a, #logged_in_bar a:visited {
        color: #FFF;
        text-decoration: none;
    }

/** NAVIGATION BAR **/
#topnav {
    font-family: Helvetica, Arial;
    font-size: 14px;
    font-weight: bold;
    margin-left: 190px;
}
    #topnav ul li {
        padding-left: 8px;
        padding-right: 8px;
        margin-right: 8px;

        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    #topnav ul li a {
        color: #00aaa6 !important;
    }

/** MAIN SITE **/
h1, h1 a {
    font-family: 'Open Sans', Helvetica, Arial;
    color: #009a9d;
    font-size: 28px;
    font-weight: 600;
    margin-top: 30px;
    text-decoration: none;
}

h2, h2 a {
    font-family: 'Open Sans', Helvetica, Arial;
    color: #7bbb58;
    font-size: 18px;
    font-weight: 700;
}

h3, h3 a {
    font-family: Helvetica, Arial;
    color: #00aaa6;
    font-size: 14px;
    font-weight: bold;
}

/** HELP **/
#left_column_flip {
    margin-top: 20px;
    width: 550px;
    margin-right: 40px;
}

#right_column_flip {
    text-align: right;
    width: 240px;
}

.controller_help {
    font-size: 12px;
    line-height: 1.5;
    text-align: justify;
}
    .controller_help a {
        color: #009a9d;
        text-decoration: none;
    }
    .controller_help a:hover {
        text-decoration: underline;
    }

.XXX {  /* TODO stuff */
    color: red;
    font-weight: bold;
    background-color: yellow;
}

/** FRONTPAGE **/
.front #wrapper, .front #content {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

#frontpage-intro {
    width: 950px;
    margin: auto;
    position: relative;
}

#frontpage-lead {
    font-family: 'Open Sans', Helvetica, Arial;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #73c167;
}

#frontpage-left-balloon {
    float: left;
    width: 196px;
    height: 184px;
    background: url(/asktheeu-theme/images/yellow_balloon.gif);
    padding: 10px 30px 20px 50px;
    margin: 37px 8px 60px 0px;
    text-align: center;
}
    #frontpage-left-balloon h2 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        padding-right: 20px;
        margin-bottom: 5px;
    }
    #frontpage-left-balloon p {
        padding-right: 20px;
    }
    #frontpage-left-balloon .frontpage-button-link {
        margin-left: 38px;
    }

#frontpage-middle-balloon {
    float: left;
    width: 314px;
    height: 283px;
    background: url(/asktheeu-theme/images/blue_balloon.gif);
    padding: 0px 30px 0px 30px;
    text-align: center;
}
    #frontpage-middle-balloon h1 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 42px;
        font-weight: 700;
        color: #fff;
        padding-right: 10px;
        margin-bottom: 5px;
    }
    #frontpage-middle-balloon p {
        margin-left: 15px;
        padding-right: 20px;
    }
    #frontpage-middle-balloon .frontpage-button-link {
        margin-left: 102px;
    }

#frontpage-right-balloon {
    float: left;
    width: 218px;
    height: 174px;
    background: url(/asktheeu-theme/images/green_balloon.gif);
    padding: 5px 20px 20px 50px;
    margin: 42px 0px 60px 4px;
    text-align: center;
}
    #frontpage-right-balloon h2 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        padding-right: 30px;
        margin-bottom: 5px;
    }
    #frontpage-right-balloon p {
        padding-right: 30px;
    }
    #frontpage-right-balloon .frontpage-button-link {
        margin-left: 43px;
    }

#frontpage-left-balloon p,
#frontpage-right-balloon p,
#frontpage-middle-balloon p {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-top: 0px;
}

#frontpage-intro a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
    #frontpage-intro a:hover {
        text-decoration: underline;
    }

.frontpage-button-link {
    height: 24px;
    width: 100px;
    background: url(/asktheeu-theme/images/button_gradient.gif);
    border-radius: 5px;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

#frontpage-content {
    background: #EAF5F6;
    border-top: 1px solid #b2dcde;
}

#frontpage-inner-content {
    width: 950px;
    margin: auto;
    position: relative;
    padding-bottom: 20px;
}

#left-column {
    float: left;
    background: #EAF5F6;
    width: 450px;
}

#right-column {
    float: right;
    width: 450px;
}

#frontpage-content p {
    color: #6f6f6e;
    font-size: 12px;
    line-height: 1.5;
}

#frontpage-content p a {
    color: #009a9d;
    font-size: 12px;
    text-decoration: none;
}
    #frontpage-content a:hover {
        text-decoration: underline;
    }

.picture-frame {
    width: 450px;
    height: 270px;
    background: #FFF;
    border-radius: 15px;
    margin-bottom: 30px;
}
    .picture-frame img,
    .picture-frame iframe {
        width: 420px;
        height: 240px;
        margin: 15px;
    }

#follow-us-frame {
    width: 390px;
    height: 60px;
    background: #FFF;
    border-radius: 15px;
    margin-bottom: 30px;
    margin-top: 50px;
    padding: 20px 30px 20px 30px;
}
    #follow-us-frame p {
        float: left;
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 18px;
        color: #009a9d;
    }
    #follow-us-frame span {
        float: left;
        margin-top: 12px;
        margin-left: 20px;
    }

.link-arrow {
    background: no-repeat url(/asktheeu-theme/images/arrow_icon.gif) ;
    padding-top: 6px;
    padding-left: 35px;
    height: 30px;
}
    .link-arrow a {
        font-family: Helvetica, Arial;
        color: #00aaa6;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
    }

/** PUBLIC BODY LISTING **/
.date_added {
    display: none;
}

/** REQUEST **/
#request_header {
    background: none;
}
    #request_header_body h3,
    #request_header_body .form_item_note {
        display: none;
    }
    #request_header_body #request_header_text {
        font-size: 1em;
    }

#request_search_ahead_results {
    font-size: 1em;
    margin-left: 110px;
    margin-top: 10px;
}

#request_header input,
#request_form textarea {
    width: 500px;
}

/** MODAL SIGN-IN **/
#signin-successful,
#signin-successful a {
    font-family: Helvetica, Arial;
    color: #00aaa6;
    font-size: 14px;
    font-weight: bold;
    padding-top: 50px;
}

#sign_together h1 {
    margin-top: 10px;
}

#sign_together .errorExplanation {
    width: 360px;
    text-align: left;
}

/** FOOTER **/
#footer {
    height: 90px;
    margin: 0px;
    border-top-width: 1px;
}

#footer-inner {
    width: 950px;
    margin: auto;
    position: relative;
}

#access-info-logo {
    position: absolute;
    left: 0px;
    top: 10px;
}

#footer-links {
    margin-left: 90px;
    margin-top: 10px;
    float: left;

    font-family: 'Open Sans', Helvetica, Arial;
    font-size: 18px;
}
    #footer-links ul {
        list-style: none outside none;
    }
    #footer-links ul li {
        float: left;
        margin-right: 25px;
    }
    #footer-links ul a {
        text-decoration: none;
        color: #009a9d;
    }
    #footer-links ul a:hover {
        text-decoration: underline;
    }

#credits {
    float: right;
    margin-top: 13px;
    margin-right: 95px;
    width: 340px;

    font-family: Verdana, Helvetica, Arial;
    font-size: 11px;
    text-align: right;
}
    #credits a {
        text-decoration: none;
        color: #00aaa6;
    }

#creative-commons-logo {
    position: absolute;
    right: 0px;
    top: 30px;
}

@import url(http://fonts.googleapis.com/css?family=Open+Sans:600,700);

/** LAYOUT **/
body {
    font-family: Verdana, Helvetica, Arial;
}
    body.front {
        background: none;
    }

#wrapper {
    padding-top: 10px;
    margin-bottom: 50px;
}

/** HEADER **/
#banner {
    background: #EAF5F6;
    border: none;
    height: 150px;
    position: relative;
}

#banner_inner {
    width: 950px;
    height: 150px;
}
    #banner_inner a:hover {
        text-decoration: underline;
    }

#logo {
    position: absolute;
    top: 20px;
}

#navigation_search {
    top: 50px;
    visibility: hidden;
}

div.lang {
    top: 23px;
    color: #00aaa6;
    font-size: 12px;
    text-transform: capitalize;
}
    div.lang a {
        color: #00aaa6;
        text-decoration: none;
    }

#logged_in_bar {
    top: 24px;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 8px 1px 8px;
    height: 19px;
    background: #009a9d;
    border-radius: 5px;
}
    #logged_in_bar, #logged_in_bar a, #logged_in_bar a:visited {
        color: #FFF;
        text-decoration: none;
    }

/** NAVIGATION BAR **/
#topnav {
    font-family: Helvetica, Arial;
    font-size: 14px;
    font-weight: bold;
    margin-left: 190px;
}
    #topnav ul li {
        padding-left: 8px;
        padding-right: 8px;
        margin-right: 8px;

        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    #topnav ul li a {
        color: #00aaa6 !important;
    }

/** MAIN SITE **/
h1, h1 a {
    font-family: 'Open Sans', Helvetica, Arial;
    color: #009a9d;
    font-size: 28px;
    font-weight: 600;
    margin-top: 30px;
    text-decoration: none;
}

h2, h2 a {
    font-family: 'Open Sans', Helvetica, Arial;
    color: #7bbb58;
    font-size: 18px;
    font-weight: 700;
}

h3, h3 a {
    font-family: Helvetica, Arial;
    color: #00aaa6;
    font-size: 14px;
    font-weight: bold;
}

/** HELP **/
#left_column_flip {
    margin-top: 20px;
    width: 550px;
    margin-right: 40px;
}

#right_column_flip {
    text-align: right;
    width: 240px;
}

.controller_help {
    font-size: 12px;
    line-height: 1.5;
    text-align: justify;
}
    .controller_help a {
        color: #009a9d;
        text-decoration: none;
    }
    .controller_help a:hover {
        text-decoration: underline;
    }

.XXX {  /* TODO stuff */
    color: red;
    font-weight: bold;
    background-color: yellow;
}

/** FRONTPAGE **/
.front #wrapper, .front #content {
    width: 100%;
    padding: 0px;
    margin: 0px;
}

#frontpage-intro {
    width: 950px;
    margin: auto;
    position: relative;
}

#frontpage-lead {
    font-family: 'Open Sans', Helvetica, Arial;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #73c167;
}

#frontpage-left-balloon {
    float: left;
    width: 196px;
    height: 184px;
    background: url(/asktheeu-theme/images/yellow_balloon.gif);
    padding: 10px 30px 20px 50px;
    margin: 37px 8px 60px 0px;
    text-align: center;
}
    #frontpage-left-balloon h2 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        padding-right: 20px;
        margin-bottom: 5px;
    }
    #frontpage-left-balloon p {
        padding-right: 20px;
    }
    #frontpage-left-balloon .frontpage-button-link {
        margin-left: 38px;
    }

#frontpage-middle-balloon {
    float: left;
    width: 314px;
    height: 283px;
    background: url(/asktheeu-theme/images/blue_balloon.gif);
    padding: 0px 30px 0px 30px;
    text-align: center;
}
    #frontpage-middle-balloon h1 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 42px;
        font-weight: 700;
        color: #fff;
        padding-right: 10px;
        margin-bottom: 5px;
    }
    #frontpage-middle-balloon p {
        margin-left: 15px;
        padding-right: 20px;
    }
    #frontpage-middle-balloon .frontpage-button-link {
        margin-left: 102px;
    }

#frontpage-right-balloon {
    float: left;
    width: 218px;
    height: 174px;
    background: url(/asktheeu-theme/images/green_balloon.gif);
    padding: 5px 20px 20px 50px;
    margin: 42px 0px 60px 4px;
    text-align: center;
}
    #frontpage-right-balloon h2 {
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 24px;
        font-weight: 700;
        color: #fff;
        padding-right: 30px;
        margin-bottom: 5px;
    }
    #frontpage-right-balloon p {
        padding-right: 30px;
    }
    #frontpage-right-balloon .frontpage-button-link {
        margin-left: 43px;
    }

#frontpage-left-balloon p,
#frontpage-right-balloon p,
#frontpage-middle-balloon p {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-top: 0px;
}

#frontpage-intro a {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}
    #frontpage-intro a:hover {
        text-decoration: underline;
    }

.frontpage-button-link {
    height: 24px;
    width: 100px;
    background: url(/asktheeu-theme/images/button_gradient.gif);
    border-radius: 5px;
    text-align: center;
    padding-top: 3px;
    padding-bottom: 3px;
}

#frontpage-content {
    background: #EAF5F6;
    border-top: 1px solid #b2dcde;
}

#frontpage-inner-content {
    width: 950px;
    margin: auto;
    position: relative;
    padding-bottom: 20px;
}

#left-column {
    float: left;
    background: #EAF5F6;
    width: 450px;
}

#right-column {
    float: right;
    width: 450px;
}

#frontpage-content p {
    color: #6f6f6e;
    font-size: 12px;
    line-height: 1.5;
}

#frontpage-content p a {
    color: #009a9d;
    font-size: 12px;
    text-decoration: none;
}
    #frontpage-content a:hover {
        text-decoration: underline;
    }

.picture-frame {
    width: 450px;
    height: 270px;
    background: #FFF;
    border-radius: 15px;
    margin-bottom: 30px;
}
    .picture-frame img,
    .picture-frame iframe {
        width: 420px;
        height: 240px;
        margin: 15px;
    }

#follow-us-frame {
    width: 390px;
    height: 60px;
    background: #FFF;
    border-radius: 15px;
    margin-bottom: 30px;
    margin-top: 50px;
    padding: 20px 30px 20px 30px;
}
    #follow-us-frame p {
        float: left;
        font-family: 'Open Sans', Helvetica, Arial;
        font-size: 18px;
        color: #009a9d;
    }
    #follow-us-frame span {
        float: left;
        margin-top: 12px;
        margin-left: 20px;
    }

.link-arrow {
    background: no-repeat url(/asktheeu-theme/images/arrow_icon.gif) ;
    padding-top: 6px;
    padding-left: 35px;
    height: 30px;
}
    .link-arrow a {
        font-family: Helvetica, Arial;
        color: #00aaa6;
        font-size: 14px;
        font-weight: bold;
        text-decoration: none;
    }

/** REQUEST **/
#request_header {
    background: none;
}
    #request_header_body h3,
    #request_header_body .form_item_note {
        display: none;
    }
    #request_header_body #request_header_text {
        font-size: 1em;
    }

#request_search_ahead_results {
    font-size: 1em;
    margin-left: 110px;
    margin-top: 10px;
}

#request_header input,
#request_form textarea {
    width: 500px;
}

/** MODAL SIGN-IN **/
#signin-successful,
#signin-successful a {
    font-family: Helvetica, Arial;
    color: #00aaa6;
    font-size: 14px;
    font-weight: bold;
    padding-top: 50px;
}

#sign_together h1 {
    margin-top: 10px;
}

#sign_together .errorExplanation {
    width: 360px;
    text-align: left;
}

/** FOOTER **/
#footer {
    height: 90px;
    margin: 0px;
    border-top-width: 1px;
}

#footer-inner {
    width: 950px;
    margin: auto;
    position: relative;
}

#access-info-logo {
    position: absolute;
    left: 0px;
    top: 10px;
}

#footer-links {
    margin-left: 90px;
    margin-top: 10px;
    float: left;

    font-family: 'Open Sans', Helvetica, Arial;
    font-size: 18px;
}
    #footer-links ul {
        list-style: none outside none;
    }
    #footer-links ul li {
        float: left;
        margin-right: 25px;
    }
    #footer-links ul a {
        text-decoration: none;
        color: #009a9d;
    }
    #footer-links ul a:hover {
        text-decoration: underline;
    }

#credits {
    float: right;
    margin-top: 13px;
    margin-right: 95px;
    width: 340px;

    font-family: Verdana, Helvetica, Arial;
    font-size: 11px;
    text-align: right;
}
    #credits a {
        text-decoration: none;
        color: #00aaa6;
    }

#creative-commons-logo {
    position: absolute;
    right: 0px;
    top: 30px;
}


ActionItem0: adjusting notice box accordingly

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

    <%= javascript_include_tag :defaults %>
    <%= stylesheet_link_tag 'common' %>
    <%= design_all_header_tags %>
    <%= javascript_include_tag 'comatose_admin' %>
    <% if params[:controller] == 'comatose_admin' %>
      <%= stylesheet_link_tag 'comatose_admin' %>
    <% end %>

    <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %>

      <% unless flash[:notice].nil? %>

          <%= flash[:notice] %>

            <%=  link_to_function( content_tag(:span, _('Close') ), visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice' ) %>

      <% end %>

          <%= _('Skip to:') %>
          <%= _('Content') %> |
          <%= _('Navigation') %> |
          <%= _('Footer') %>

          <%= header %>

          <% if params[:controller] == 'comatose_admin' %>

              <%= yield %>

          <% else %>
            <%= design_display(yield) %>
          <% end %>

          <%= footer %>
          <%= design_display_icon('back', :action => 'list')%>

    <%= javascript_include_tag :defaults %>
    <%= stylesheet_link_tag 'common' %>
    <%= design_all_header_tags %>
    <%= javascript_include_tag 'comatose_admin' %>
    <% if params[:controller] == 'comatose_admin' %>
      <%= stylesheet_link_tag 'comatose_admin' %>
    <% end %>

    <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;" %>

      <% unless flash[:notice].nil? %>

          <%= flash[:notice] %>
	  <%=  link_to_function( content_tag(:span, _('Close') ), {},{:onclick => visual_effect(:fade, "notice", :duration => 0.5), :id => 'button_close_notice'} ) %>

      <% end %>

          <%= _('Skip to:') %>
          <%= _('Content') %> |
          <%= _('Navigation') %> |
          <%= _('Footer') %>

          <%= header %>

          <% if params[:controller] == 'comatose_admin' %>

              <%= yield %>

          <% else %>
            <%= design_display(yield) %>
          <% end %>

          <%= footer %>
          <%= design_display_icon('back', :action => 'list')%>


Tweak formatting and wording a bit.

Tweak formatting and wording a bit.

<% @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 Subject
Access - A guide for data subjects (on the Information Commisioner's
website) explains how to do this.

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

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

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

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

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

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

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

Privacy policy #

Who gets to see my email address? #

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

If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.

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

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

Why will my name appear publicly on the site? #

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

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

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

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

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, then please contact
us.

How do you moderate request annotations? #

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

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

FOI officer questions #

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

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

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

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

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

Why are you publishing responses to FOI requests? #

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

Are the people making requests real people? #

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

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

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

Aren't you making lots of vexatious requests? #

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

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

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

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

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

Do you publish email addresses or mobile phone numbers? #

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

Can you take down private information about me? #

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

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

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

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

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

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

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

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

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

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

You're all stars.

Can I help out?#

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

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 for accessing official information is very
similar to that to the rest of the UK, however there are a few notable differences (especially around time limits for compliance and
pseudonyms).  The Scottish Information Commissioner's website
contains specific guidance on the Scottish legislation.

Can I request information about myself? #

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

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

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

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

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

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

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

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

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

Privacy policy #

Who gets to see my email address? #

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

If you send a message to another user on the site, then it will reveal your
email address to them. You will be told that this is going to happen.

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

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

Why will my name appear publicly on the site? #

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

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

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

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

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, then please contact
us.

How do you moderate request annotations? #

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

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

FOI officer questions #

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

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

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

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

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

Why are you publishing responses to FOI requests? #

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

Are the people making requests real people? #

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

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

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

Aren't you making lots of vexatious requests? #

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

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

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

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

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

Do you publish email addresses or mobile phone numbers? #

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

Can you take down private information about me? #

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

Credit where credit is due #

Which people made WhatDoTheyKnow? #

Oh, nearly everyone (and maybe you too)!

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

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

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

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

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

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

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

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

You're all stars.

Can I help out?#

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

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.


Fix unproper jQuery usage

Fix unproper jQuery usage

(ActionItem1529)


Changed "Assignment Description" to "URL of assignment description".

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

<% if flash[:notice] != nil and flash[:notice].strip != "" %>

	<%= flash[:notice] %>

<% end %>
<%= error_messages_for 'assignment' %>

  Assignment name:
  <%= text_field 'assignment', 'name'  %>

  Submission directory:
  <%= text_field 'assignment', 'directory_path'%>

  URL of assignment description:
  <%= text_field 'assignment', 'spec_location'  %>

  Wiki Type:

    <% if @wiki_types.length == 0 %>
      There are currently no wiki assignment types defined

    <% else %>
      <select name="assignment[wiki_type_id]" width="15%">
      <% @wiki_types.each do |wiki_type| %>
        <option style="width:75px" value="<%= wiki_type.id %>"
        <%= ' selected' if wiki_type.id == @assignment.wiki_type_id %> >
        <%= wiki_type.name %>
        </option>
      <% end %>
      </select>
    <% end %>

  Team assignment:

  		<select id="teamselect" name="assignment[team_assignment]" onchange="onChange();">
  		 <option value=false style="width:75px">No</option>
         <option value=true style="width:75px" <% if @assignment.team_assignment %>SELECTED<%end%>>Yes</option>
        </select>

  Maximum number of participants per team:
  <%= text_field 'assignment', 'team_count', :size => 5%>

<% if flash[:notice] != nil and flash[:notice].strip != "" %>

	<%= flash[:notice] %>

<% end %>
<%= error_messages_for 'assignment' %>

  Assignment name:
  <%= text_field 'assignment', 'name'  %>

  Submission directory:
  <%= text_field 'assignment', 'directory_path'%>

  Assignment Description:
  <%= text_field 'assignment', 'spec_location'  %>

  Wiki Type:

    <% if @wiki_types.length == 0 %>
      There are currently no wiki assignment types defined

    <% else %>
      <select name="assignment[wiki_type_id]" width="15%">
      <% @wiki_types.each do |wiki_type| %>
        <option style="width:75px" value="<%= wiki_type.id %>"
        <%= ' selected' if wiki_type.id == @assignment.wiki_type_id %> >
        <%= wiki_type.name %>
        </option>
      <% end %>
      </select>
    <% end %>

  Team assignment:

  		<select id="teamselect" name="assignment[team_assignment]" onchange="onChange();">
  		 <option value=false style="width:75px">No</option>
         <option value=true style="width:75px" <% if @assignment.team_assignment %>SELECTED<%end%>>Yes</option>
        </select>

  Maximum number of participants per team:
  <%= text_field 'assignment', 'team_count', :size => 5%>


fix call to views/panel with incorrect path

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

	<%= javascript_include_merged :base %>
	<%= yield :tinymce %>

	<%= javascript_include_tag "beast" if ['forums', 'posts', 'topics'].include? controller.controller_name %>
	<%= javascript_include_tag "swfobject" %>

	<%= stylesheet_link_merged :base %>
	<%= stylesheet_link_tag "beast" if ['forums', 'posts', 'topics'].include? controller.controller_name %>
	<%= javascript_include_tag "builder" if ['activities'].include? controller.controller_name %>
	<% if ['activities'].include? controller.controller_name %>
	  <%= javascript_include_tag "portal" %>

	  <%= javascript_include_tag "flotr" %>
	<% end %>
	<%= yield :tinymce_init %>

	<%= stylesheet_link_tag "print", { :media => "print" } %>
	<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'rss', :id => current_user.uuid }) %>

	<title><%= controller.controller_name + " / " + controller.action_name %></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<% @internal = Customer.find(:first, :conditions => ["company_id = ? AND (name = 'Internal' or name = ?)", current_user.company_id, current_user.company.name ]) %>

<%= image_tag('spinner.gif', :border => 0) %>

<%= render(:partial => "layouts/menu") %>

<%= render(:partial => "layouts/tabmenu")%>

	<% news = NewsItem.find(:first, :order => "id desc", :conditions => ["id > ?", current_user.seen_news_id ])
	unless news.nil? %>

		[<%= tz.utc_to_local(news.created_at).strftime("#{current_user.time_format} #{current_user.date_format}") %>]
		<%= news.body %>
		<%= link_to_remote "[#{_('Hide')}]", :url => { :controller => 'users', :action => 'update_seen_news', :id => news.id },:success => visual_effect(:fade, "news", :duration => 0.5) %>

	<% end %>

	<div class="inlineMessage" id="flash" <%="style=\"display:none\"" unless flash['notice']%>>
		<%= flash['notice'] %>
		[<%=_ 'Hide'%>]

			<%= @content_for_layout %>

			<td align="right" valign="top" style="width:15%;<%= "display:none;" if session[:collapse_menu].to_i > 0 %>" id="left_menu">
				<%= render(:partial => "/views/panel") %>
				<div <%= "style=\"display:none;\"" if @current_sheet.nil? || controller.action_name == "stop_work" %> id="work-log">
					<div class="page_header tooltip" title="<%= _'Text entered will be saved automatically to your current work notes.'%>"><%= _'Work Log' %>

					<form method="post" onsubmit="return false;" id="worklog_form"><textarea name="worklog[body]" id="worklog_body" style="padding:0;margin-top:0.5em;margin-bottom:0.3em;width:100%;" rows="4"><%= @current_sheet.body if @current_sheet%></textarea></form>

				<%= render(:partial => "pages/panel") %>

	<% if current_user.company.show_messaging %>

					<% current_user.chats.each do |@chat|
						@user = @chat.target %>
						<%= render :partial => 'shout/chat_user' if @chat.active >= 0%>
						<% if @chat.active == 1 %>

						<% end %>
					<% end %>

<%= _'Loading'%>...

<%= _('Online')%> (<%= online_users %>)

Clocking IT<% if current_user.locale != 'en_US' %> - <%= _'Help Translate'%><% end %>
<%=_ 'Feedback? Suggestions? Ideas? Bugs?'%><%= link_to "[Admin]", :controller => "admin", :action => "index" if current_user.admin == 10 %>

	<% else %>

Clocking IT<% if current_user.locale != 'en_US' %> - <%= _'Help Translate'%><% end %>
<%=_ 'Feedback? Suggestions? Ideas? Bugs?'%><%= link_to "[Admin]", :controller => "admin", :action => "index" if current_user.admin == 10 %>

	<% end %>

<%= periodically_call_remote(:url => { :controller => 'tasks', :action => 'update_sheet_info' }, :frequency => 90 ) -%>

<%= flash_plugin(session[:channels]) %>

<%#= query_review_output %>

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

	<%= javascript_include_merged :base %>
	<%= yield :tinymce %>

	<%= javascript_include_tag "beast" if ['forums', 'posts', 'topics'].include? controller.controller_name %>
	<%= javascript_include_tag "swfobject" %>

	<%= stylesheet_link_merged :base %>
	<%= stylesheet_link_tag "beast" if ['forums', 'posts', 'topics'].include? controller.controller_name %>
	<%= javascript_include_tag "builder" if ['activities'].include? controller.controller_name %>
	<% if ['activities'].include? controller.controller_name %>
	  <%= javascript_include_tag "portal" %>

	  <%= javascript_include_tag "flotr" %>
	<% end %>
	<%= yield :tinymce_init %>

	<%= stylesheet_link_tag "print", { :media => "print" } %>
	<%= auto_discovery_link_tag(:rss, {:controller => 'feeds', :action => 'rss', :id => current_user.uuid }) %>

	<title><%= controller.controller_name + " / " + controller.action_name %></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<% @internal = Customer.find(:first, :conditions => ["company_id = ? AND (name = 'Internal' or name = ?)", current_user.company_id, current_user.company.name ]) %>

<%= image_tag('spinner.gif', :border => 0) %>

<%= render(:partial => "layouts/menu") %>

<%= render(:partial => "layouts/tabmenu")%>

	<% news = NewsItem.find(:first, :order => "id desc", :conditions => ["id > ?", current_user.seen_news_id ])
	unless news.nil? %>

		[<%= tz.utc_to_local(news.created_at).strftime("#{current_user.time_format} #{current_user.date_format}") %>]
		<%= news.body %>
		<%= link_to_remote "[#{_('Hide')}]", :url => { :controller => 'users', :action => 'update_seen_news', :id => news.id },:success => visual_effect(:fade, "news", :duration => 0.5) %>

	<% end %>

	<div class="inlineMessage" id="flash" <%="style=\"display:none\"" unless flash['notice']%>>
		<%= flash['notice'] %>
		[<%=_ 'Hide'%>]

			<%= @content_for_layout %>

			<td align="right" valign="top" style="width:15%;<%= "display:none;" if session[:collapse_menu].to_i > 0 %>" id="left_menu">
				<%= render(:partial => "views/panel") %>
				<div <%= "style=\"display:none;\"" if @current_sheet.nil? || controller.action_name == "stop_work" %> id="work-log">
					<div class="page_header tooltip" title="<%= _'Text entered will be saved automatically to your current work notes.'%>"><%= _'Work Log' %>

					<form method="post" onsubmit="return false;" id="worklog_form"><textarea name="worklog[body]" id="worklog_body" style="padding:0;margin-top:0.5em;margin-bottom:0.3em;width:100%;" rows="4"><%= @current_sheet.body if @current_sheet%></textarea></form>

				<%= render(:partial => "pages/panel") %>

	<% if current_user.company.show_messaging %>

					<% current_user.chats.each do |@chat|
						@user = @chat.target %>
						<%= render :partial => 'shout/chat_user' if @chat.active >= 0%>
						<% if @chat.active == 1 %>

						<% end %>
					<% end %>

<%= _'Loading'%>...

<%= _('Online')%> (<%= online_users %>)

Clocking IT<% if current_user.locale != 'en_US' %> - <%= _'Help Translate'%><% end %>
<%=_ 'Feedback? Suggestions? Ideas? Bugs?'%><%= link_to "[Admin]", :controller => "admin", :action => "index" if current_user.admin == 10 %>

	<% else %>

Clocking IT<% if current_user.locale != 'en_US' %> - <%= _'Help Translate'%><% end %>
<%=_ 'Feedback? Suggestions? Ideas? Bugs?'%><%= link_to "[Admin]", :controller => "admin", :action => "index" if current_user.admin == 10 %>

	<% end %>

<%= periodically_call_remote(:url => { :controller => 'tasks', :action => 'update_sheet_info' }, :frequency => 90 ) -%>

<%= flash_plugin(session[:channels]) %>

<%#= query_review_output %>


use new div for umlaut_section_content in fulltext too

<%
   all_responses = fulltext

   (title_level_fulltxt, fulltxt) =
      all_responses.partition {|i| i.view_data[:coverage_checked] == false || i.view_data[:can_link_to_article] == false}

%>

<div class="umlaut_section fulltext <%= unless fulltxt.blank? && title_level_fulltxt.blank?; 'highlighted_section' ; end %>">

  <%= renderer.render_heading %>

  <%
      list_with_limit('umlaut_fulltext', all_responses, :ul_class => "response_list", :limit => renderer.list_visible_limit ) do |item, index |
        # Display special warnign header if it's title-level only,
        # and it's an article or issue level link. Are we
        # at the beginning of title level display?
        if ( index == fulltxt.length &&
             index != 0 &&
             !title_level_request? )
           genre = @user_request.referent.metadata['genre']
           genre = "Journal" if genre && genre.downcase == 'article' %>

<%= genre ? genre.titlecase : "Title" %>-level Page Only

Can not link directly to citation. Dates or extent of coverage may be unknown.

        <% end %>

        <%= render(:partial => "standard_response_item", :object=> item) %>
  <% end %>

  <%
  if (fulltxt.empty? && title_level_fulltxt.empty? &&
      ! service_type_in_progress?('fulltext'))
  %>

Not Available

  <% end %>

  <%= render( renderer.spinner_render_hash) if renderer.services_in_progress? %>


escape text_area_tag

escape text_area_tag

git-svn-id: 4158f9403e16ea83fe8a6e07a45f1f3b56a747ab@1908 567b1171-46fb-0310-a4c9-b4bef9110e78

      <%= label_tag :data, labels[:data] %>

<%= hint %>

<%= text_area_tag :data, h(attachment && attachment.file? ? attachment.read : params[:data]), :class => 'fat', :rows => 20 %>

    <% if controller.action_name == 'index' -%>

      <%= label_tag :filename, labels[:filename] %>

You can create one of three types of files: Liquid (*.liquid), CSS (*.css), and Javascript (*.js).

<%= text_field_tag :filename, params[:filename] %>

    <% end -%>

      <%= label_tag :data, labels[:data] %>

<%= hint %>

<%= text_area_tag :data, (attachment && attachment.file? ? attachment.read : params[:data]), :class => 'fat', :rows => 20 %>

    <% if controller.action_name == 'index' -%>

      <%= label_tag :filename, labels[:filename] %>

You can create one of three types of files: Liquid (*.liquid), CSS (*.css), and Javascript (*.js).

<%= text_field_tag :filename, params[:filename] %>

    <% end -%>


"Forgot my password" cannot be a button here

  <% unless logged_in? %>

<%= _('Login') %>

<%
  @user = User.new  if ! @user
%>

    <% labelled_form_for :user, @user,
       :url => login_url do |f| %>

         <%= f.text_field :login, :onchange => 'this.value = convToValidLogin( this.value )' %>

         <%= f.password_field :password %>

      <% button_bar do %>
        <%= submit_button( 'login', _('Log in') )%>
        <%= link_to content_tag( 'span', _('New user') ),
            { :controller => 'account', :action => 'signup' },
            :class => 'button with-text icon-add' %>
      <% end %>

    <% end %>

    <% button_bar(:style => 'margin: 0px;') do %>
      <%= link_to _("I forgot my password!"), :controller => 'account', :action => 'forgot_password' %>
    <% end %>

  <% else %>

<%= user.identifier %>

  <% end %>

  <% unless logged_in? %>

<%= _('Login') %>

<%
  @user = User.new  if ! @user
%>

    <% labelled_form_for :user, @user,
       :url => login_url do |f| %>

         <%= f.text_field :login, :onchange => 'this.value = convToValidLogin( this.value )' %>

         <%= f.password_field :password %>

      <% button_bar do %>
        <%= submit_button( 'login', _('Log in') )%>
        <%= link_to content_tag( 'span', _('New user') ),
            { :controller => 'account', :action => 'signup' },
            :class => 'button with-text icon-add' %>
      <% end %>

    <% end %>

    <% button_bar(:style => 'margin: 0px;') do %>
      <%= button :help, _("I forgot my password!"), :controller => 'account', :action => 'forgot_password' %>
    <% end %>

  <% else %>

<%= user.identifier %>

  <% end %>


Fix email to give proper git commands to checkout a review branch

Hi <%= @reviewer_username %>,

<%= @review.developer %> would like you to do a code review of <%= @review.count_commits %> commits.

At your earliest convenience, please proceed to:

http://janus.corp.amiestreet.com:3000/review/<%= @review.id %>/show

or enter your <%= @review.project.name %> repository and do:

git fetch review review-<%= @review.id %>:remotes/review/review-<%= @review.id %>
git checkout remotes/review/review-<%= @review.id %>

Log of commits in this review
=============================

<%= @review.log %>

Thanks,
-ARB Notifier

Hi <%= @reviewer_username %>,

<%= @review.developer %> would like you to do a code review of <%= @review.count_commits %> commits.

At your earliest convenience, please proceed to:

http://janus.corp.amiestreet.com:3000/review/<%= @review.id %>/show

or enter your <%= @review.project.name %> repository and do:

git fetch review review-<%= @review.id %>
git checkout remotes/review/review-<%= @review.id %>

Log of commits in this review
=============================

<%= @review.log %>

Thanks,
-ARB Notifier


Disuaded users from linking

Disuaded users from linking

  A single carriage-return indicates a line-break in the original document, and
  will not appear when people read the text.  Two carriage-returns indicate a
  paragraph, and will appear as a paragraph break to readers.

  You can use double braces to link subjects.  [[Jane Doe]] will link to the subject
  Jane Doe, while [[Jane Doe|Jane]] will link the text "Jane" to the
  subject Jane Doe.
  We recommend that linking be left to an editor after the initial transcription is made.

  Use double braces to link subjects.  [[Jane Doe]] will link to the subject
  Jane Doe, while [[Jane Doe|Jane]] will link the text "Jane" to the
  subject Jane Doe.

  A single carriage-return indicates a line-break in the original document, and
  will not appear when people read the text.  Two carriage-returns indicate a
  paragraph, and will appear as a paragraph break to readers.

  We recommend typing a page of text, hitting the "Autolink" button, reviewing
  your text, then saving.


[mezuro] Range comments when threre is no range

<% the_module = module_result.module %>
<% module_label = "#{the_module.name} (#{the_module.granularity})" %>

<%= _('Metric results for: ') + module_label %>

      Metric
      Value
      Weight
      Threshold

    <% module_result.metric_results.each do |metric_result|  %>
      <% range = metric_result.range %>

        <a href="#" data-show=".<%= metric_result.metric.name.delete("() ")%>"><%= metric_result.metric.name %>
        <%= "%.02f" % metric_result.value %>
        <%= metric_result.weight %>
        <% if range.nil? %>

        <% else %>
          <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %>
        <% end %>

      <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;">

      	  <%= range.nil? or range.comments.nil? ? 'comment empty' : range.comments %>

    <% end %>

          <%= _('Grade:') %>
          <%= "%.02f" % module_result.grade %>

<% the_module = module_result.module %>
<% module_label = "#{the_module.name} (#{the_module.granularity})" %>

<%= _('Metric results for: ') + module_label %>

      Metric
      Value
      Weight
      Threshold

    <% module_result.metric_results.each do |metric_result|  %>
      <% range = metric_result.range %>

        <a href="#" data-show=".<%= metric_result.metric.name.delete("() ")%>"><%= metric_result.metric.name %>
        <%= "%.02f" % metric_result.value %>
        <%= metric_result.weight %>
        <% if range.nil? %>

        <% else %>
          <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %>
        <% end %>

      <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;">

      	  <%= range.comments.nil? ? 'comment empty' : range.comments %>

    <% end %>

          <%= _('Grade:') %>
          <%= "%.02f" % module_result.grade %>


Fixed wrong icon for adding result

Fixed wrong icon for adding result

git-svn-id: 96bd6241e080dd4199045f7177cf3384e2eaed71@665 2d86388d-c40f-0410-ad6a-a69da6a65d20

Race: <%= race.name %>

		<th colspan="<%= race.result_columns_or_default.size + 2 %>">

		<td colspan="<%= race.result_columns_or_default.size + 2 %>">
			<%= start_form_tag :action => 'update', :id => race.standings.event.id, :standings_id => race.standings.id, :race_id => race.id %>

					BAR Points:
					<%= select 'race', 'bar_points', bar_points_and_labels %>
					Notes:
					<%= text_field 'race', 'notes' %>

					BAR Category:
					<%= race.category.parent %>
					Field Size:
					<%= text_field 'race', 'field_size' %> (<%= race.results.size %>)

					<%= submit_tag "Save" %>

			<%= end_form_tag %>

		<% for column in race.result_columns_or_default %>
		<%= column %>
		<% end %>

	<%= start_form_tag %>
	<% for result in race.results.sort %>
	<tr id="result_<%= result.id %>_row">
		<%= link_to 'Edit', :controller => 'results', :action => 'edit', :id => result.to_param %>
		<% for column in race.result_columns_or_default %>
		<%= result.send(column.to_sym) if result.respond_to?(column.to_sym) %>
		<% end %>

  		<%= link_to_remote image_tag('/images/buttons/add.gif', :height => 22, :width => 22, :border => 0),
  		:url => {:action => "insert_result", :id => result.id},
  		:complete => evaluate_remote_response
			%><%= link_to_remote image_tag('/images/buttons/remove.gif', :height => 22, :width => 22, :border => 0),
			:url => {:action => "destroy_result", :id => result.id},
			:complete => evaluate_remote_response
			%>
			<span id="message_<%= result.id %>" >

	<% end %>

		<% for column in race.result_columns_or_default %>
		<%= column %>
		<% end %>

	<%= end_form_tag %>
	<%= form_tag({:controller => 'results', :action => 'create', :id => race.to_param}) %>

		New:
		<% for column in race.result_columns_or_default %>
		<%= text_field 'result', column, :size => grid_columns(column).size * 0.6, :autocomplete => 'off' %>
		<% end %>

		<td colspan="<%= race.result_columns_or_default.size + 2 %>" align="right">
			<%= submit_tag "Add New Result" %>

	<%= end_form_tag %>

Race: <%= race.name %>

		<th colspan="<%= race.result_columns_or_default.size + 2 %>">

		<td colspan="<%= race.result_columns_or_default.size + 2 %>">
			<%= start_form_tag :action => 'update', :id => race.standings.event.id, :standings_id => race.standings.id, :race_id => race.id %>

					BAR Points:
					<%= select 'race', 'bar_points', bar_points_and_labels %>
					Notes:
					<%= text_field 'race', 'notes' %>

					BAR Category:
					<%= race.category.parent %>
					Field Size:
					<%= text_field 'race', 'field_size' %> (<%= race.results.size %>)

					<%= submit_tag "Save" %>

			<%= end_form_tag %>

		<% for column in race.result_columns_or_default %>
		<%= column %>
		<% end %>

	<%= start_form_tag %>
	<% for result in race.results.sort %>
	<tr id="result_<%= result.id %>_row">
		<%= link_to 'Edit', :controller => 'results', :action => 'edit', :id => result.to_param %>
		<% for column in race.result_columns_or_default %>
		<%= result.send(column.to_sym) if result.respond_to?(column.to_sym) %>
		<% end %>

			<%= link_to_remote image_tag('buttons/remove_solo.gif', :height => 22, :width => 22, :border => 0),
			:url => {:action => "destroy_result", :id => result.id},
			:complete => evaluate_remote_response
			%><%= link_to_remote image_tag('/images/buttons/remove.gif', :height => 22, :width => 22, :border => 0),
			:url => {:action => "destroy_result", :id => result.id},
			:complete => evaluate_remote_response
			%>
			<span id="message_<%= result.id %>" >

	<% end %>

		<% for column in race.result_columns_or_default %>
		<%= column %>
		<% end %>

	<%= end_form_tag %>
	<%= form_tag({:controller => 'results', :action => 'create', :id => race.to_param}) %>

		New:
		<% for column in race.result_columns_or_default %>
		<%= text_field 'result', column, :size => grid_columns(column).size * 0.6, :autocomplete => 'off' %>
		<% end %>

		<td colspan="<%= race.result_columns_or_default.size + 2 %>" align="right">
			<%= submit_tag "Add New Result" %>

	<%= end_form_tag %>


Put hint on profile box from the old browse controller

<% if @empty_query or @results.size > 1 or !profile.enterprise?  %>
  <%= profile_image_link profile, :portrait, 'div',
    @filter == 'more_recent' ? profile.send(@filter + '_label') + show_date(profile.created_at) : profile.send(@filter + '_label') %>
<% else %>

      <%= profile_image_link profile, :portrait, 'div' %>

      <%= link_to_homepage(profile.name, profile.identifier, :class => "search-result-title") %>

        <% if profile.description %>
          <% body_stripped = strip_tags(profile.description) %>
        <% elsif profile.home_page and profile.home_page.body %>
          <% body_stripped = strip_tags(profile.home_page.body) %>
        <% end %>
        <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>

        <%= _("City") %>
        <% if profile.region %>
          <%= city_with_state(profile.region) %>
        <% end %>

        <% profile.top_level_categorization.each do |parent, children| %>
          <% if parent.name != "Territórios" %>
            <div class="search-enterprise-category-<%=parent.id%> search-enterprise-category">
              <%= parent.name %>

                <%= children.collect(&:name).join(', ')  %>

          <% end %>
        <% end %>

<% end %>

<% if @empty_query or @results.size > 1 or !profile.enterprise?  %>
  <%= profile_image_link profile, :portrait, 'div' %>
<% else %>

      <%= profile_image_link profile, :portrait, 'div' %>

      <%= link_to_homepage(profile.name, profile.identifier, :class => "search-result-title") %>

        <% if profile.description %>
          <% body_stripped = strip_tags(profile.description) %>
        <% elsif profile.home_page and profile.home_page.body %>
          <% body_stripped = strip_tags(profile.home_page.body) %>
        <% end %>
        <%= excerpt(body_stripped, body_stripped.first(3), 200) if body_stripped %>

        <%= _("City") %>
        <% if profile.region %>
          <%= city_with_state(profile.region) %>
        <% end %>

        <% profile.top_level_categorization.each do |parent, children| %>
          <% if parent.name != "Territórios" %>
            <div class="search-enterprise-category-<%=parent.id%> search-enterprise-category">
              <%= parent.name %>

                <%= children.collect(&:name).join(', ')  %>

          <% end %>
        <% end %>

<% end %>


Kill other includes too

Kill other includes too

Attendees for <%= @event.fullname %>

<% if can?(:edit, @event) -%>
	[<%= link_to 'Add attendee', new_event_attendance_path(@event) %>]
<% end -%>
[<%= link_to "Back to event", event_url(@event) %>]

Starts at <%= @event.start %>, ends at <%= @event.end %>

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

<% if @event.confirmed_attendances.count > 0 -%>

Confirmed attendees

  <% if can?(:edit, @event) -%>
  	<%= link_to "Spam all confirmed attendees", :controller => "events", :id => @event.id, :action => "email_list" %>
  <% end -%>

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @event.confirmed_attendances.all(:include => [:event, :person]), :waitlist => false } %>
<% end -%>

<% if @event.waitlist_attendances.count > 0 -%>

Waitlisted attendees

  <% if can?(:edit, @event) -%>
	  <%= link_to "Spam all waitlist attendees", :controller => "events", :id => @event.id, :action => "email_list", :waitlist => true %>
  <% end -%>

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @event.waitlist_attendances.all(:include => [:event, :person]), :waitlist => true } %>
<% end -%>

<% if @deleted_attendances.count > 0 -%>

Dropped attendees

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @deleted_attendances, :waitlist => false } %>
<% end -%>

Attendees for <%= @event.fullname %>

<% if can?(:edit, @event) -%>
	[<%= link_to 'Add attendee', new_event_attendance_path(@event) %>]
<% end -%>
[<%= link_to "Back to event", event_url(@event) %>]

Starts at <%= @event.start %>, ends at <%= @event.end %>

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

<% if @event.confirmed_attendances.count > 0 -%>

Confirmed attendees

  <% if can?(:edit, @event) -%>
  	<%= link_to "Spam all confirmed attendees", :controller => "events", :id => @event.id, :action => "email_list" %>
  <% end -%>

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @event.confirmed_attendances.all(:include => {:event => [], :person => [:account, :email_addresses]}), :waitlist => false } %>
<% end -%>

<% if @event.waitlist_attendances.count > 0 -%>

Waitlisted attendees

  <% if can?(:edit, @event) -%>
	  <%= link_to "Spam all waitlist attendees", :controller => "events", :id => @event.id, :action => "email_list", :waitlist => true %>
  <% end -%>

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @event.waitlist_attendances.all(:include => {:event => [], :person => [:account, :email_addresses]}), :waitlist => true } %>
<% end -%>

<% if @deleted_attendances.count > 0 -%>

Dropped attendees

  <%= render :partial => 'attendee_table',
    :locals => { :attendances => @deleted_attendances, :waitlist => false } %>
<% end -%>


Render emails in a readable form

Render emails in a readable form

<% @title = "FOI request - " + h(@info_request.title) %>

<%=@title%>

<% for column in InfoRequest.content_columns %>
  <%= column.human_name %>: <%=h @info_request.send(column.name) %>

<% end %>
Created by: <%= user_admin_link(@info_request.user) %>

Public authority: <%= public_body_admin_link(@info_request.public_body) %>

Incoming email address: <%=h @info_request.incoming_email %>

<%= link_to 'Public page', main_url(request_url(@info_request)) %>
| <%= link_to "Edit", '../edit/' + @info_request.id.to_s %>

Events

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

<% for info_request_event in @info_request.info_request_events.find(:all, :order => "created_at, id") %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h info_request_event.id %>
  <% for column in InfoRequestEvent.content_columns.map { |c| c.name } %>
    <%=h info_request_event.send(column) %>
  <% end %>

<% end %>

Outgoing messages

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

<% for outgoing_message in @info_request.outgoing_messages.find(:all, :order => 'created_at') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h outgoing_message.id %>
  <% for column in OutgoingMessage.content_columns.map { |c| c.name } %>
    <%=h outgoing_message.send(column) %>
  <% end %>

  <% form_tag '../resend' do %>

          <%= hidden_field_tag 'outgoing_message_id', outgoing_message.id %>
          <%= submit_tag "Resend" %>

  <% end %>
  <%= link_to "Edit", '../edit_outgoing/' + outgoing_message.id.to_s %>

<% end %>

Incoming messages

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

<% for incoming_message in @info_request.incoming_messages.find(:all, :order => 'created_at') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h incoming_message.id %>
  <% for column in IncomingMessage.content_columns.map { |c| c.name } %>
    <% if column == 'raw_data' %>
        <%=h(incoming_message.send(column)).gsub!(/\n/, '
') %>
    <% else %>
        <%=h incoming_message.send(column) %>
    <% end %>
  <% end %>

      <% form_tag '../destroy_incoming' do %>

          <%= hidden_field_tag 'incoming_message_id', incoming_message.id %>
          <%= submit_tag "Destroy" %>

  <% end %>

<% end %>

<% @title = "FOI request - " + h(@info_request.title) %>

<%=@title%>

<% for column in InfoRequest.content_columns %>
  <%= column.human_name %>: <%=h @info_request.send(column.name) %>

<% end %>
Created by: <%= user_admin_link(@info_request.user) %>

Public authority: <%= public_body_admin_link(@info_request.public_body) %>

Incoming email address: <%=h @info_request.incoming_email %>

<%= link_to 'Public page', main_url(request_url(@info_request)) %>
| <%= link_to "Edit", '../edit/' + @info_request.id.to_s %>

Events

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

<% for info_request_event in @info_request.info_request_events.find(:all, :order => "created_at, id") %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h info_request_event.id %>
  <% for column in InfoRequestEvent.content_columns.map { |c| c.name } %>
    <%=h info_request_event.send(column) %>
  <% end %>

<% end %>

Outgoing messages

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

<% for outgoing_message in @info_request.outgoing_messages.find(:all, :order => 'created_at') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h outgoing_message.id %>
  <% for column in OutgoingMessage.content_columns.map { |c| c.name } %>
    <%=h outgoing_message.send(column) %>
  <% end %>

  <% form_tag '../resend' do %>

          <%= hidden_field_tag 'outgoing_message_id', outgoing_message.id %>
          <%= submit_tag "Resend" %>

  <% end %>
  <%= link_to "Edit", '../edit_outgoing/' + outgoing_message.id.to_s %>

<% end %>

Incoming messages

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

<% for incoming_message in @info_request.incoming_messages.find(:all, :order => 'created_at') %>
  <tr class="<%= cycle('odd', 'even') %>">
  <%=h incoming_message.id %>
  <% for column in IncomingMessage.content_columns.map { |c| c.name } %>
    <%=h incoming_message.send(column) %>
  <% end %>

      <% form_tag '../destroy_incoming' do %>

          <%= hidden_field_tag 'incoming_message_id', incoming_message.id %>
          <%= submit_tag "Destroy" %>

  <% end %>

<% end %>