Sha256: 3280e7d92e23d5773edd141d6b54806a0dc77d27eaf25b0f3e108b5d5c27d963

Contents?: true

Size: 447 Bytes

Versions: 35

Compression:

Stored size: 447 Bytes

Contents

%div{ :class => image_brick.to_style_class }
  - if image_brick.image.present?
    = image_tag(image_brick.image.converted.url, :alt => image_brick.alt_text.present? ? image_brick.alt_text : image_alt(image_brick.image.path) )

    - if image_brick.caption.present?
      .image-caption
        - if image_brick.href.present?
          = link_to image_brick.href do
            = image_brick.caption
        - else
          = image_brick.caption

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.7 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.10 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.9 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.8 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.7 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.6 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.5 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.4 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.3 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.2 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.6.1 app/views/qbrick/image_bricks/_image_brick.html.haml
kuhsaft-2.6.3 app/views/kuhsaft/image_bricks/_image_brick.html.haml
qbrick-2.6.0 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.5.2 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.5.1 app/views/qbrick/image_bricks/_image_brick.html.haml
qbrick-2.5.0 app/views/qbrick/image_bricks/_image_brick.html.haml
kuhsaft-2.6.2 app/views/kuhsaft/image_bricks/_image_brick.html.haml
kuhsaft-2.6.1 app/views/kuhsaft/image_bricks/_image_brick.html.haml
kuhsaft-2.5.2 app/views/kuhsaft/image_bricks/_image_brick.html.haml