Sha256: dd2157d7ca6a1e0b723e7f129f4544b4c38078401e65b59ccc59e64859266f2c

Contents?: true

Size: 718 Bytes

Versions: 29

Compression:

Stored size: 718 Bytes

Contents

- galleries = galleries.page( params[:galleries_page] ).per( 10 )

.manager-galleries--index
  .row
    .col-sm-12
      %h2 Galleries (#{galleries.length})

      = paginate galleries, :param_name => :galleries_page, :views_prefix => 'ish_manager'
      %ol
        - galleries.each do |gallery|
          %li
            - gallery.photos.unscoped.where({ :is_trash => false })[0...4].each do |photo|
              .mini= image_tag photo.photo.url( :thumb ), :alt => ''
            .clearfix
            #{link_to gallery.name, gallery_path( gallery )} (#{gallery.photos.unscoped.where({ :is_trash => false }).length})
      = paginate galleries, :param_name => :galleries_page, :views_prefix => 'ish_manager'
  %hr

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
ish_manager-0.1.8.81 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.80 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.79 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.78 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.77 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.76 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.75 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.74 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.73 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.72 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.71 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.70 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.69 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.68 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.67 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.66 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.65 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.64 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.63 app/views/ish_manager/galleries/_index.haml
ish_manager-0.1.8.62 app/views/ish_manager/galleries/_index.haml