Sha256: d67a89f79d176e75f470426a51b161cdfc62b10baad19e88e62b05df0c91260d
Contents?: true
Size: 755 Bytes
Versions: 41
Compression:
Stored size: 755 Bytes
Contents
- n_thumbs ||= 8 - param_name ||= :galleries_page - if galleries.length > 0 .galleries--list - galleries.each do |g| .panel .panel-body %h3 = link_to '[~]', edit_gallery_path( g ) = link_to g.name, gallery_path(g.galleryname) = render 'meta', :item => g -# = 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) - if galleries.respond_to? :total_pages = paginate galleries, :param_name => param_name - else %h5 No Galleries
Version data entries
41 entries across 41 versions & 1 rubygems