Sha256: 1624478c8290b8be415b7a6fbc3eb3c20ffa83b3ac42f97350e98f2a287194ef

Contents?: true

Size: 1.28 KB

Versions: 17

Compression:

Stored size: 1.28 KB

Contents

.status--banner
  .container
    %p
      %img{ alt: "", class: "icon--inline", src: "#{Pugin::ASSET_LOCATION_URL}/#{Pugin::ASSET_VERSION}/icons/caution-circle-white.svg", aria:{ hidden: "true", label: "caution" } }
      %span.sr-only= 'caution'
      
      = I18n.t('pugin.components.status.status_text_1')
      %a{ href: 'http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/' }= I18n.t('pugin.components.status.give_feedback')
      = I18n.t('pugin.components.status.status_text_2')
      - 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

17 entries across 17 versions & 1 rubygems

Version Path
pugin-1.6.14 app/views/pugin/components/_status.haml
pugin-1.6.13 app/views/pugin/components/_status.haml
pugin-1.6.12 app/views/pugin/components/_status.haml
pugin-1.6.11 app/views/pugin/components/_status.haml
pugin-1.6.10 app/views/pugin/components/_status.haml
pugin-1.6.9 app/views/pugin/components/_status.haml
pugin-1.6.8 app/views/pugin/components/_status.haml
pugin-1.6.7 app/views/pugin/components/_status.haml
pugin-1.6.6 app/views/pugin/components/_status.haml
pugin-1.6.5 app/views/pugin/components/_status.haml
pugin-1.6.4 app/views/pugin/components/_status.haml
pugin-1.6.3 app/views/pugin/components/_status.haml
pugin-1.6.1 app/views/pugin/components/_status.haml
pugin-1.6.0 app/views/pugin/components/_status.haml
pugin-1.5.1 app/views/pugin/components/_status.haml
pugin-1.5.0 app/views/pugin/components/_status.haml
pugin-1.4.1 app/views/pugin/components/_status.haml