Sha256: b8e3c35aac37fbdb83f433ffe88533e451496346d1aa34b1c4fce4bf21e29a3a

Contents?: true

Size: 1.55 KB

Versions: 62

Compression:

Stored size: 1.55 KB

Contents

.taxonomy-content-block.taxonomy-content-block--three-column

  - if view_model.left_image?
    .taxonomy-content-block__container
      = render_image_with_link(view_model.find_asset(image).url, image_alt, 'taxonomy-content-block', image_link)

  - view_model.series.each do |taxonomy|
    .taxonomy-content-block__container{ class: ('taxonomy-content-block__container--without-image' unless image.present? )}
      - if taxonomy.data[:header].present?
        %span.taxonomy-content-block__menu-heading= taxonomy.data[:header]

      %ul.taxonomy-content-block__menu
        - if taxonomy.show_starting_taxon?
          %li.taxonomy-content-block__menu-item.taxonomy-content-block__menu-item--start
            - if taxonomy.starting_taxon.placeholder?
              = taxonomy.starting_taxon.name
            - else
              = link_to taxonomy.starting_taxon.name, storefront_path_for(taxonomy.starting_taxon), data: { analytics: primary_navigation_analytics_data(taxonomy.starting_taxon).to_json }, class: 'taxonomy-content-block__menu-link'
        - taxonomy.taxons.each do |taxon|
          %li.taxonomy-content-block__menu-item
            - if taxon.placeholder?
              = taxon.name
            - else
              = link_to taxon.name, storefront_path_for(taxon), data: { analytics: primary_navigation_analytics_data(taxon).to_json }, class: 'taxonomy-content-block__menu-link'

  - if view_model.right_image?
    .taxonomy-content-block__container
      = render_image_with_link(view_model.find_asset(image).url, image_alt, 'taxonomy-content-block', image_link)

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.15 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.36 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.14 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.35 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.13 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.34 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.12 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.33 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.11 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.10 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.32 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.9 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.31 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.8 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.30 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.7 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.29 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.6 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.4.28 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml
workarea-storefront-3.5.5 app/views/workarea/storefront/content_blocks/_three_column_taxonomy.html.haml