Skip to content

Commit

Permalink
Merge branch 'foi-is-awesome'
Browse files Browse the repository at this point in the history
  • Loading branch information
garethrees committed Aug 8, 2023
2 parents 1fc5ac6 + a7ff6ca commit 0d2fa6c
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/assets/stylesheets/responsive/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,15 @@ p.locale-list-trigger {
margin-top: 0;
}
}

.ar-content__lede {
font-size: large;
font-style: italic;
margin: 1em auto;
max-width:80%;
text-align: center;
}

.col-2-grid {
margin-bottom: 3rem;
}
Expand Down
3 changes: 3 additions & 0 deletions lib/views/general/_frontpage_extra.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<%= render partial: 'what_is_foi' %>
<%= render partial: 'patterns_of_use' %>
<%= render partial: 'how_do_we_help' %>
<%= render partial: 'frontpage_newsletter_signup' %>
<%= render partial: 'frontpage_blog' if Blog.enabled? %>
<%= render partial: 'frontpage_videos' %>
Expand Down
61 changes: 61 additions & 0 deletions lib/views/general/_how_do_we_help.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<div class="homepage-article-section" id="homepage-article">
<div class="row homepage-article-section__ar-contet">
<div class="ar-content__headings ">
<h2><%= _('How does WhatDoTheyKnow help?') %></h2>
</div>

<div class="ar-content__article-grid col-2-grid">
<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🔀 Find the right authority:</strong> A database of 46,000+ public bodies, kept up to date by a team of staff and volunteers.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🗂️ Public archive:</strong> A permanent, searchable, public record of hundreds of thousands of information requests and responses.') %>
<p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>✍️ Write your request:</strong> Inline guidance and a collection of help pages to help write your request.') %>
<p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🤖 Automate bureaucracy:</strong> Built in assistance and reminders to manage your request from submission to completion.') %>
<p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🏟️ Correspond in public:</strong> Requests and responses are automatically published online with proof of delivery to hold authorities accountable to respond.') %>
<p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🛑 Refusal advice:</strong> Encouragement, support, guidance and snippets to help challenge refusals at internal review, regulator appeal and tribunal<sup>(soon)</sup>.') %>
<p>
</div>
</div>
</div>

<p class="ar-content__lede">
<%= _('<a href="{{help_link}}">Learn more about {{site_name}}</a>. Want to know something? <a href="{{select_authority_link}}"> Start your own request &rarr;</a>', help_link: help_about_path, site_name: site_name, select_authority_link: select_authority_path) %>
</p>
</div>
</div>
65 changes: 65 additions & 0 deletions lib/views/general/_patterns_of_use.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="homepage-article-section" id="homepage-article">
<div class="row homepage-article-section__ar-contet">
<div class="ar-content__headings ">
<h2><%= _('How do I use Freedom of Information?') %></h2>

<p class="ar-content__lede">
<%= _('From <a href="https://twitter.com/WhatDoTheyKnow/status/1025388510474379264">coach drop off points</a> to <a href="https://www.mysociety.org/2019/09/02/foi-and-the-irish-border-issue/">national borders</a>; <a href="https://www.mysociety.org/2019/07/26/after-exploitation-using-foi-to-understand-what-happens-to-victims-of-modern-slavery/">modern slavery</a> to <a href="https://www.mysociety.org/2019/06/05/case-study-sold-from-under-you-by-the-bureau-of-investigative-journalism/">council sell-offs</a>, <em style="background-color:#ffd7005c;">Freedom of Information is a tool that everyone can use</em>. Individual or community group; journalist or campaigner. National or local; every day or now and then. Here are just a few of the ways that it can help…') %>
</p>
</div>

<div class="ar-content__article-grid col-2-grid">
<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🔍 Find the evidence:</strong> Survey responses, research reports and board papers can help you to uncover the truth behind decisions and public statements.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>⚖️ Compare and contrast:</strong> Compare the situation in your local area with what’s happening in other parts of the country and highlight disparities or similarities.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>💰 Follow the money:</strong> Contracts, invoices and budget information let you see where public money goes, ensuring greater accountability for how funds are allocated and spent.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _("<strong>🧩 Fill in the gaps:</strong> You can ask a group of authorities to build or extract a dataset that didn't exist. This can fill knowledge gaps and improve public understanding of specific issues.") %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>🤔 Understand why:</strong> Meeting minutes, policy papers and internal correspondence can help you to understand why important decisions were taken, and who is accountable for those decisions.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('<strong>☀️ Promote openness:</strong> Asking for datasets can help to show that there is public demand to see it, which might persuade the authority to publish it themselves without needing to be asked.') %>
</p>
</div>
</div>
</div>

<p class="ar-content__lede">
<%= _('Read our <a href="https://www.mysociety.org/category/transparency/?tag=case-studies">case studies</a> for some great examples of how others have put these ideas to use.') %>
</p>
</div>
</div>
42 changes: 42 additions & 0 deletions lib/views/general/_what_is_foi.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<div class="homepage-article-section" id="homepage-article">
<div class="row homepage-article-section__ar-contet">
<div class="ar-content__headings ">
<h2><%= _('What is Freedom of Information?') %></h2>

<p class="ar-content__lede">
<%= _('Make a request for information to a UK public authority.') %><br>
<%= _('By law, they have to respond.') %>
</p>
</div>

<div class="ar-content__article-grid col-2-grid">
<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('The Freedom of Information Act, also known as <strong>FOI gives you the right to <a href="{{help_link}}">request recorded information</a> from public authorities</strong>.', help_link: help_requesting_path) %>
</p>

<p>
<%= _('As well as documents and emails, it also covers things like spreadsheets, presentations, maps, videos and photographs.') %>
</p>
</div>
</div>

<div class="article-grid__item">
<div class="article-grid__item-content">
<p>
<%= _('By law <strong>requests have to be answered promptly</strong> and within <a href="{{help_link}}">20 working days</a>.', help_link: help_requesting_path(anchor: 'quickly_response')) %>
<p>

<p>
<%= _('<strong>In most cases information should be released</strong>, but various <a href="{{help_link}}">exemptions</a> allow authorities to withhold information.', help_link: help_exemptions_path) %>
</p>
</div>
</div>
</div>

<p class="ar-content__lede">
<%= link_to _('Learn more about the Freedom of Information act &rarr;'), help_about_foi_path %>
</p>
</div>
</div>

0 comments on commit 0d2fa6c

Please sign in to comment.