Sha256: d28a65d1ef07e83cc51b887e9ccfdbb0097b8317fea5ccf2873bc20242884082

Contents?: true

Size: 679 Bytes

Versions: 10

Compression:

Stored size: 679 Bytes

Contents

.tn-tc__row.six-column-image-and-text.stacked-image-and-text
  - [ [ [0,1], [2,3] ], [ [4,5], [6,7] ], [ [8,9], [10,11] ] ].each_with_index do |columns, i|
    .four{ class: i == 2 ? 'omega' : '' }
      - columns.each do |positions|
        .six{ class: cycle('', 'omega') }
          - row.pieces.select{ |p| positions.include?(p.position) }.each do |piece|
            - if piece.piece_type == 'Image'
              .tn-tc-piece.tn-tc-asset-field
                = render 'tenon/tenon_content/piece_types/display/image', piece: piece
            - else
              .tn-tc-piece
                = render 'tenon/tenon_content/piece_types/display/text', piece: piece
  .spacer

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tenon-2.1.0 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.8 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.7 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.6 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.5 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.4 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.3 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.2 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.1 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml
tenon-2.0.0 app/views/tenon/tenon_content/row_types/display/_six_column_image_and_text.html.haml