Sha256: 72a6544b06460e8964c7266f2185f771a461991fc5f5ed3a73831bda9843feec

Contents?: true

Size: 814 Bytes

Versions: 150

Compression:

Stored size: 814 Bytes

Contents

%ol.galleries-index
  - @galleries.each do |g|
    %li
      = link_to '[~]', edit_manager_gallery_path( g )
      = link_to g.name, manager_gallery_path( g.galleryname )
      = link_to '[+]', new_photo_path( :galleryname => g.galleryname )
      = link_to '[++]', add_photos_path( g.id )
      .delete= button_to '[x]', manager_gallery_path( g.galleryname ), :method => :delete
      .site= g.site.domain unless g.site.blank?
      .tag= g.tag.name unless g.tag.blank?
        
      %br
      - g.photos.fresh.each_with_index do |ph, idx|
        - break if idx == Photo.n_per_manager_gallery - 1
        = link_to image_tag( ph.photo.url( :mini ), :alt => '' ), ph.photo.url(:large), :rel => "lightbox[#{g.galleryname}]"

.c
- unless params[:fullindex]
  = paginate @galleries, :param_name => :galleries_page

Version data entries

150 entries across 150 versions & 2 rubygems

Version Path
ish_manager-0.1.8.87 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.86 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.85 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.84 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.83 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.82 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.81 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.80 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.79 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.78 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.77 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.76 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.75 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.74 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.73 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.72 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.71 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.70 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.69 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.68 app/views/ish_manager/galleries/index_trash.haml