From f4e707f7be0b05d883b10c3b4419d40ff0714a32 Mon Sep 17 00:00:00 2001 From: Tony Bowden Date: Fri, 30 Nov 2018 06:51:43 +0000 Subject: [PATCH] Signpost Wikidata on the homepage Most of the changes required for https://github.com/everypolitician/everypolitician-docs/issues/43 (Rewrite docs in light of Wikidata-first approach) need to happen in the `everypolitician-docs` repo, but we also need to highlight the Wikidata connection better from here too. We will probably want to take this further / make this clearer here once we've actually written the rest of those docs, but we need to do *something* now, as it still looks as if our goal here is to do all this ourselves. --- t/web/homepage.rb | 4 ++-- views/homepage.erb | 7 +++---- views/layout.erb | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/t/web/homepage.rb b/t/web/homepage.rb index b10f7b2d1..24eefe20d 100644 --- a/t/web/homepage.rb +++ b/t/web/homepage.rb @@ -15,8 +15,8 @@ subject.css('.hero h1').text.must_include '233 countries' end - it 'should have the global data count' do - subject.css('.homepage-data-example strong').text.must_include '3.2 million' + it 'should talk about Wikidata' do + subject.css('.homepage-data-example').text.must_include 'Wikidata' end it 'should offer the whole world in the dropdown' do diff --git a/views/homepage.erb b/views/homepage.erb index c359f4173..eba52fcd9 100644 --- a/views/homepage.erb +++ b/views/homepage.erb @@ -9,16 +9,15 @@
-

The world’s richest open dataset on politicians

-

<%= number_to_millions(@page.total_statements) %> million pieces of data so far.

+

Making Wikidata the world’s richest open dataset on politicians

-

What is EveryPolitician?

-

Data about every national legislature in the world, freely available for you to use:

+

What is in EveryPolitician?

+

Simplified data about every national legislature in the world, freely available for you to use:

Read more…
diff --git a/views/layout.erb b/views/layout.erb index 3837170d5..e0cd13c3a 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -95,7 +95,7 @@