Sha256: df7afe3752cea912552218686333b3b8f33f3aa42cda2e23682fdb9cd2ef26bc

Contents?: true

Size: 1.22 KB

Versions: 11

Compression:

Stored size: 1.22 KB

Contents

.highlight--status
  .container
    %p
      = I18n.t('pugin.components.status.status_text_1')
      %a{ href: 'http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/', target: '_blank', title: I18n.t('open_new_window')}= 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/', target: '_blank', title: I18n.t('open_new_window')}= 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/', target: '_blank', title: I18n.t('open_new_window')}= I18n.t('pugin.components.status.how_to_vote')

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pugin-1.0.0.pre app/views/pugin/components/_status.haml
pugin-0.9.0 app/views/pugin/components/_status.haml
pugin-0.8.9 app/views/pugin/components/_status.haml
pugin-0.8.8 app/views/pugin/components/_status.haml
pugin-0.8.7 app/views/pugin/components/_status.haml
pugin-0.8.7.pre app/views/pugin/components/_status.haml
pugin-0.8.6 app/views/pugin/components/_status.haml
pugin-0.8.6.pre app/views/pugin/components/_status.haml
pugin-0.8.5 app/views/pugin/components/_status.haml
pugin-0.8.4 app/views/pugin/components/_status.haml
pugin-0.8.3 app/views/pugin/components/_status.haml