Sha256: 03205864e608901379f252f6753ca81971819a7d0a94d895b6e2335a81c9fa5f

Contents?: true

Size: 568 Bytes

Versions: 2

Compression:

Stored size: 568 Bytes

Contents

%ul.thumbnails
  - media.each do |m|
    - if type.eql?(:image)
      %li.span2
        .thumbnail(href="#")
          = image_item(m)
          .caption
            %p
              = image_styles(m)

    - elsif type.eql?(:video)
      %li.span2
        .thumbnail(href="#")

          %a.editor-video(href='#{ m.file.url }')
            %video(width='128' height='90')
              %source(src="#{ m.file.url }")

            %p
              %strong= m.label
            %p
              %small
                = truncate m.description, length: 60
    - else




Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cms-fortress-1.1.8 app/views/cms/fortress/shared/_media_items.html.haml
cms-fortress-1.1.7 app/views/cms/fortress/shared/_media_items.html.haml