Sha256: 51f28b68c63778e3e17c60401e97ce43dd95cd43371b5e0f967ec578b30f812d
Contents?: true
Size: 685 Bytes
Versions: 150
Compression:
Stored size: 685 Bytes
Contents
- n_thumbs ||= 8 - if galleries.length > 0 .galleries-list - galleries.each do |g| .item %h3 = link_to '[~]', manager_galleries_edit_path( g.galleryname ) = link_to g.name, manager_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 ), manager_gallery_path(g.galleryname) .c = paginate galleries, :param_name => :galleries_page - else %h5 No Galleries
Version data entries
150 entries across 150 versions & 2 rubygems