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