Sha256: f7b6a4c2fecb9a60e951fb80d97cbb84bc46a27178150f931a2a9d10c506c049

Contents?: true

Size: 1.56 KB

Versions: 5

Compression:

Stored size: 1.56 KB

Contents

%nav.checkout-progress
  .checkout-progress__step{ class: ('checkout-progress__step--active' if @checkout_step == 'addresses') }
    - if @checkout_step == 'addresses'
      %span.checkout-progress__text
        %span.checkout-progress__step-number= t('workarea.storefront.checkouts.addresses_step_number')
        = t('workarea.storefront.checkouts.addresses_step_text')
    - else
      = link_to checkout_addresses_path, class: 'checkout-progress__link' do
        %span.checkout-progress__step-number= t('workarea.storefront.checkouts.addresses_step_number')
        = t('workarea.storefront.checkouts.addresses_step_text')
  .checkout-progress__divider
  .checkout-progress__step{ class: ('checkout-progress__step--active' if @checkout_step == 'shipping') }
    - if @checkout_step.in?(%w(addresses shipping))
      %span.checkout-progress__text
        %span.checkout-progress__step-number= t('workarea.storefront.checkouts.shipping_step_number')
        = t('workarea.storefront.checkouts.shipping_step_text')
    - else
      = link_to checkout_shipping_path, class: 'checkout-progress__link' do
        %span.checkout-progress__step-number= t('workarea.storefront.checkouts.shipping_step_number')
        = t('workarea.storefront.checkouts.shipping_step_text')
  .checkout-progress__divider
  .checkout-progress__step{ class: ('checkout-progress__step--active' if @checkout_step == 'payment') }
    %span.checkout-progress__text
      %span.checkout-progress__step-number= t('workarea.storefront.checkouts.payment_step_number')
      = t('workarea.storefront.checkouts.payment_step_text')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
workarea-nvy_theme-1.2.1 app/views/workarea/storefront/checkouts/_checkout_progress.html.haml
workarea-nvy_theme-1.2.0 app/views/workarea/storefront/checkouts/_checkout_progress.html.haml
workarea-nvy_theme-1.1.4 app/views/workarea/storefront/checkouts/_checkout_progress.html.haml
workarea-nvy_theme-1.1.3 app/views/workarea/storefront/checkouts/_checkout_progress.html.haml
workarea-nvy_theme-1.1.2 app/views/workarea/storefront/checkouts/_checkout_progress.html.haml