Sha256: cc10401d54e37a87f05b526513f6cc9674dd76aa6eef46d97fd9bcdd6a6da3c5

Contents?: true

Size: 649 Bytes

Versions: 17

Compression:

Stored size: 649 Bytes

Contents

- n_thumbs ||= 8

- if galleries.length > 0
  .galleries--list
    - galleries.each do |g|
      .item
        %h3
          = link_to '[~]', edit_gallery_path( g )
          = link_to g.name, gallery_path(g.galleryname)
        -# = render 'meta', :item => g
        - if g.photos.length == 0
          = image_missing
        - else
          - g.photos.each_with_index do |photo, idx|
            - break if n_thumbs == idx + 1
            = link_to image_tag(photo.photo.url(:thumb), :alt => g.name, :class => :thumb ), gallery_path(g.galleryname)
    .c

    = paginate galleries, :param_name => :galleries_page
    
- else
  %h5 No Galleries

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ish_manager-0.1.8.15 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.14 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.13 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.12 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.11 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.10 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.9 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.8 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.7 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.6 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.5 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.4 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.3 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8.2 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.8 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.7 app/views/ish_manager/galleries/_list.haml
ish_manager-0.1.6 app/views/ish_manager/galleries/_list.haml