Sha256: 3b67b499846991e178f5d453d180d5308becd90eb8048b455f3b4ac2eac92b7c
Contents?: true
Size: 918 Bytes
Versions: 74
Compression:
Stored size: 918 Bytes
Contents
- n_thumbs ||= 8 - param_name ||= :galleries_page - if galleries.length > 0 .galleries--list - if galleries.respond_to? :total_pages = paginate galleries, :param_name => param_name, :views_prefix => 'ish_manager' - 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, :views_prefix => 'ish_manager' - else %h5 No Galleries
Version data entries
74 entries across 74 versions & 1 rubygems