Sha256: 598892018c9575fd15fe75eebb8a422ec40e6bd2416e84f353879aca5bd3762e
Contents?: true
Size: 608 Bytes
Versions: 50
Compression:
Stored size: 608 Bytes
Contents
- n_thumbs ||= 9 - 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.limit( n_thumbs ).each do |photo| = 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
50 entries across 50 versions & 1 rubygems