pugin 1.9.6 → 1.9.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26ff99f264cf71920f2439f0fbfa8b35a6c6e96e
4
- data.tar.gz: d0fc6a93b3c34c85acd032c5f42746ac47bd463f
3
+ metadata.gz: 324885dcef4bdeaaf92d8886ebf32fecf76afe34
4
+ data.tar.gz: 9465259499cc59ed646c333f56ea447a2a27ca76
5
5
  SHA512:
6
- metadata.gz: 5e4b910686a339b960a3910f0e12ec3e2ec6f15764c30280649e95c79b599a975bb0b2a0be2cd6063eca57191cc8ff5fd8c38f5f04275395c684e82e5e9902fc
7
- data.tar.gz: 7806389338692f08a07f57bcb1e989d37ddef2803a81a12619ecdcfdf21a82cf1b371fc1001181d07e4f278850f6bf14cf3c555b4abf11ce4b2e965e1854c808
6
+ metadata.gz: 582e73c24b39ccf49472334b27e5db5c953429fde3dfbc427b480b6b220e608aeb6e42ed39e23caf94fc801409fa4760e455e5cf44bdf1a2318ad6b4ec749e66
7
+ data.tar.gz: 49cf2eb1903f1cbe44f49d11eacb9c42019f79e851c54e01279926e2baea6c5bc0c25363f8ad1af5bb9e3bf11abd93baf3c8ac647508ce5f44f3f2155cd0487a
@@ -1,25 +1,23 @@
1
1
  .status--banner__beta
2
2
  .container
3
- %span.hint= I18n.t('pugin.hints.beta')
4
- %ul.list--inline
5
- %li
6
- = I18n.t('pugin.components.status.beta.pages_being_tested',
7
- link: link_to(t('pugin.components.status.beta.give_feedback'),
8
- 'http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/')).html_safe
9
- %li
10
- = I18n.t('pugin.components.status.beta.go_to',
11
- link: link_to(t('pugin.components.status.beta.current_website'),
12
- 'http://www.parliament.uk')).html_safe
3
+ %p
4
+ = I18n.t('pugin.components.status.beta.pages_being_tested',
5
+ link: link_to(t('pugin.components.status.beta.give_feedback'),
6
+ 'http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/')).html_safe
13
7
 
14
- - if Pugin::Feature::Bandiera.dissolution?
15
- - if Pugin::Feature::Bandiera.register_to_vote?
16
- %a{ href: 'https://www.gov.uk/register-to-vote' }= I18n.t('pugin.components.status.register_to_vote')
17
- = I18n.t('pugin.components.status.election_text_1')
18
- - else
19
- = I18n.t('pugin.components.status.election_text_2')
20
- %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')
21
- = I18n.t('pugin.components.status.election_text_3')
22
- - elsif Pugin::Feature::Bandiera.election?
23
- = I18n.t('pugin.components.status.election_day_text')
24
- = succeed "." do
25
- %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')
8
+ = I18n.t('pugin.components.status.beta.go_to',
9
+ link: link_to(t('pugin.components.status.beta.current_website'),
10
+ 'http://www.parliament.uk')).html_safe
11
+
12
+ - if Pugin::Feature::Bandiera.dissolution?
13
+ - if Pugin::Feature::Bandiera.register_to_vote?
14
+ %a{ href: 'https://www.gov.uk/register-to-vote' }= I18n.t('pugin.components.status.register_to_vote')
15
+ = I18n.t('pugin.components.status.election_text_1')
16
+ - else
17
+ = I18n.t('pugin.components.status.election_text_2')
18
+ %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')
19
+ = I18n.t('pugin.components.status.election_text_3')
20
+ - elsif Pugin::Feature::Bandiera.election?
21
+ = I18n.t('pugin.components.status.election_day_text')
22
+ = succeed "." do
23
+ %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')
data/lib/pugin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pugin
2
- VERSION = '1.9.6'.freeze
2
+ VERSION = '1.9.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.6
4
+ version: 1.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner