Sha256: 921568ea0028cf381e52706d30b2ac7e5552c96c9b2a65540e2fd126fccc349d
Contents?: true
Size: 661 Bytes
Versions: 3
Compression:
Stored size: 661 Bytes
Contents
- n_thumbs ||= 8 - if galleries.length > 0 .galleries--list - galleries.each do |g| .item %h3 = link_to '[~]', edit_gallery_path( g.galleryname ) = 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ish_manager-0.1.3 | app/views/ish_manager/galleries/_list.haml |
ish_manager-0.1.2 | app/views/ish_manager/galleries/_list.haml |
ish_manager-0.1.0 | app/views/ish_manager/galleries/_list.haml |