Sha256: e39200ceea90c6ab7ce5ec1b64518ab8ea3d97f155254d7936d1c64793863e01

Contents?: true

Size: 741 Bytes

Versions: 14

Compression:

Stored size: 741 Bytes

Contents

#gallery.clearfix.corner-all.box_shadow
  #gallery_wrap.clearfix
    %a{:class => "#{'no_back ' unless (objs.size > 1)}backward browse left"}
    #gallery_wrap_inner.left
    %a{:class => "#{'no_back ' unless (objs.size > 1)}forward browse right"}
  .scroll_nav
    %a{:class => "#{'no_back ' unless (objs.size > 4)}prev browse left"}
    .scrollable.corner-all.nav
      .items.ajax-nav
        - objs.each_with_index do |obj, index|
        = '<div>' if index%4 == 0
        = link_to image_tag(obj.thumb, :alt => obj.name), obj, :id => obj.id, :class => "button#{' current' if obj.id == objs.first.id}"
        = '</div>' if (index%4 == 3 || index == objs.size-1)
    %a{:class => "#{'no_back ' unless (objs.size > 4)}next browse right"}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sbdevcore-0.2.15 app/views/shared/_gallery.html.haml
sbdevcore-0.2.14 app/views/shared/_gallery.html.haml
sbdevcore-0.2.13 app/views/shared/_gallery.html.haml
sbdevcore-0.2.12 app/views/shared/_gallery.html.haml
sbdevcore-0.2.11 app/views/shared/_gallery.html.haml
sbdevcore-0.2.10 app/views/shared/_gallery.html.haml
sbdevcore-0.2.9 app/views/shared/_gallery.html.haml
sbdevcore-0.2.8 app/views/shared/_gallery.html.haml
sbdevcore-0.2.7 app/views/shared/_gallery.html.haml
sbdevcore-0.2.6 app/views/shared/_gallery.html.haml
sbdevcore-0.2.5 app/views/shared/_gallery.html.haml
sbdevcore-0.2.4 app/views/shared/_gallery.html.haml
sbdevcore-0.2.2 app/views/shared/_gallery.html.haml
sbdevcore-0.2.0 app/views/shared/_gallery.html.haml