Sha256: 9122546ab11557db1f5f58067933326d694576ccae9e44a2f23e5359bfb00321

Contents?: true

Size: 1.3 KB

Versions: 9

Compression:

Stored size: 1.3 KB

Contents

.status--banner__beta
  .container
    %span.hint= I18n.t('pugin.hints.beta')
    %ul.list--flex
      %li
        = 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
      %li
        = 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

9 entries across 9 versions & 1 rubygems

Version Path
pugin-1.6.23 app/views/pugin/components/_status.haml
pugin-1.6.22 app/views/pugin/components/_status.haml
pugin-1.6.21 app/views/pugin/components/_status.haml
pugin-1.6.20 app/views/pugin/components/_status.haml
pugin-1.6.19 app/views/pugin/components/_status.haml
pugin-1.6.18 app/views/pugin/components/_status.haml
pugin-1.6.17 app/views/pugin/components/_status.haml
pugin-1.6.16 app/views/pugin/components/_status.haml
pugin-1.6.15 app/views/pugin/components/_status.haml