Sha256: 5bc18d5e456d73789ae201413545cef5615a567332fef34e67dedc90b0fd0049

Contents?: true

Size: 605 Bytes

Versions: 21

Compression:

Stored size: 605 Bytes

Contents

%div{:id=>@id, :class=>['imageblock', @style, role, ('slide' if option? :step)],
    :style=>((css_style = [("text-align: #{attr :align}" if attr? :align),
                       ("float: #{attr :float}" if attr? :float)].compact * '; ').empty? ? nil : css_style)}
  .content
    - if attr? :link
      %a.image{:href=>(attr :link)}
        %img{:src=>image_uri(attr :target), :alt=>(attr :alt), :width=>(attr :width), :height=>(attr :height)}
    - else
      %img{:src=>image_uri(attr :target), :alt=>(attr :alt), :width=>(attr :width), :height=>(attr :height)}
  - if title?
    .title=captioned_title

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hyla-1.0.9 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.9.pre.3 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.9.pre.2 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.9.pre.1 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.8 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.9 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.8 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.7 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.6 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.5 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.3 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.2 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.7.pre.1 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.6 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.5 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.5.pre.1 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.4 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.3 lib/resources/backends/haml/deckjs/block_image.html.haml
hyla-1.0.2 lib/resources/backends/haml/deckjs/block_image.html.haml