Sha256: 9fe0bd61f226094f35ed135824acc910018e1014e9e72014f571f15fc4e41f67

Contents?: true

Size: 1.19 KB

Versions: 12

Compression:

Stored size: 1.19 KB

Contents

.status--banner__beta
  .container
    %p
      = I18n.t('pugin.components.status.beta.pages_being_tested',
      link: link_to(t('pugin.components.status.beta.give_feedback'),
      'http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/')).html_safe

      = I18n.t('pugin.components.status.beta.go_to',
      link: link_to(t('pugin.components.status.beta.current_website'),
      'http://www.parliament.uk')).html_safe

    - if Pugin::Feature::Bandiera.dissolution?
      - if Pugin::Feature::Bandiera.register_to_vote?
        %a{ href: 'https://www.gov.uk/register-to-vote' }= I18n.t('pugin.components.status.register_to_vote')
        = I18n.t('pugin.components.status.election_text_1')
      - else
        = I18n.t('pugin.components.status.election_text_2')
        %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')
        = I18n.t('pugin.components.status.election_text_3')
    - elsif Pugin::Feature::Bandiera.election?
      = I18n.t('pugin.components.status.election_day_text')
      = succeed "." do
        %a{ href: 'http://www.parliament.uk/get-involved/elections/voting/' }= I18n.t('pugin.components.status.how_to_vote')

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pugin-1.10.10 app/views/pugin/components/_status.haml
pugin-1.10.9 app/views/pugin/components/_status.haml
pugin-1.10.8 app/views/pugin/components/_status.haml
pugin-1.10.7 app/views/pugin/components/_status.haml
pugin-1.10.6 app/views/pugin/components/_status.haml
pugin-1.10.5 app/views/pugin/components/_status.haml
pugin-1.10.4 app/views/pugin/components/_status.haml
pugin-1.10.3 app/views/pugin/components/_status.haml
pugin-1.10.2 app/views/pugin/components/_status.haml
pugin-1.10.1 app/views/pugin/components/_status.haml
pugin-1.10.0 app/views/pugin/components/_status.haml
pugin-1.9.7 app/views/pugin/components/_status.haml