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.148 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.147 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.146 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.145 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.144 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.143 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.142 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.141 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.140 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.139 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.138 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.137 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.136 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.135 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.134 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.133 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.132 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.131 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.129 app/views/ish_manager/galleries/index_trash.haml
ish_manager-0.1.8.128 app/views/ish_manager/galleries/index_trash.haml