diff --git a/public/images/screencast.gif b/public/images/screencast.gif deleted file mode 100644 index 115063b0f..000000000 Binary files a/public/images/screencast.gif and /dev/null differ diff --git a/t/web/country.rb b/t/web/country.rb index 0dee4cb8d..316b65c20 100644 --- a/t/web/country.rb +++ b/t/web/country.rb @@ -44,6 +44,15 @@ end end + describe 'when displaying democratic commons footer' do + let(:link) { subject.css('.demo-commons-promo') } + before { get '/iran/' } + + it 'should link to mySociety Democratic Commons page' do + link.css('a').last[:href].must_equal 'https://www.mysociety.org/democracy/democratic-commons/' + end + end + describe 'HTML validation' do it 'has no errors in the country page' do get '/estonia/' diff --git a/t/web/house.rb b/t/web/house.rb index 75b783c8b..559c956a2 100644 --- a/t/web/house.rb +++ b/t/web/house.rb @@ -21,6 +21,15 @@ end end + describe 'when displaying democratic commons footer' do + let(:link) { subject.css('.demo-commons-promo') } + before { get '/australia/representatives/' } + + it 'should link to mySociety Democratic Commons page' do + link.css('a').last[:href].must_equal 'https://www.mysociety.org/democracy/democratic-commons/' + end + end + describe 'HTML validation' do it 'has no errors in the house page' do last_response_must_be_valid diff --git a/views/country.erb b/views/country.erb index eb3022ee5..3e1498b75 100644 --- a/views/country.erb +++ b/views/country.erb @@ -41,19 +41,13 @@ -
Swipe your way through politicians in a flash, and work your way up our leaderboard.
- - - -A growing community of individuals and organisations working to make information on every politician in the world freely available to all, through Wikidata.
+Help gather the data, use it for your own projects — or give us feedback
Data about every national legislature in the world, freely available for you to use:
- Read more… + EveryPolitician documentationMissing data for your country? Here's how to get that changed:
- Read more… + How to contribute +Working to make information on every politician in the world freely available through Wikidata
+ Democratic CommonsSwipe your way through politicians in a flash, and work your way up our leaderboard.
- - - -A growing community of individuals and organisations working to make information on every politician in the world freely available to all, through Wikidata.
+Help gather the data, use it for your own projects — or give us feedback