Sha256: fa0a514804acee9f541802daad4e2961b18a0263390d01f4366aa095b100a494

Contents?: true

Size: 1.34 KB

Versions: 25

Compression:

Stored size: 1.34 KB

Contents

-#
-# ish_manager / galleries / show
-#

.galleries-show
  .row
    .col-sm-12.col-md-6
      = render 'title', :gallery => @gallery
    .col-sm-12.col-md-6
      = render 'ish_manager/photos/multinew', :gallery => @gallery

  .row-deleted
    %p.collapse-expand#rowDeleted Deleted
    = render 'ish_manager/photos/index_thumbs', photos: @deleted_photos

  .row-mini
    %p.collapse-expand#rowMinis Mini's
    .flex-row
      - @photos.each do |photo|
        .item
          = link_to image_tag(photo.photo.url( :mini ), :alt => ''), "#large_#{photo.id}"

  .row-thumbs
    %p.collapse-expand#rowThumbs Thumbs
    .orderable-items{ data: { id: @gallery.id.to_s, slug: @gallery.slug, token: form_authenticity_token } }
      .flex-row.items
        - @photos.each do |photo|
          .itemW
            %a.mvLeft <
            %a.mvRight >
            .item{ data: { id: photo.id.to_s } }
              = render 'ish_manager/photos/meta_manager', photo: photo
              = image_tag photo.photo.url( :thumb )
      = button_tag 'Save ordering', class: 'save-ordering'

  .row-large
    %p.collapse-expand#rowLarge Large
    .a
      - @photos.each do |photo|
        .item
          %a{id: "large_#{photo.id}" }
          = render 'ish_manager/photos/meta_manager', photo: photo
          .wrapper{ style: "background-image: url('#{photo.photo.url( :large )}')" }

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ish_manager-0.1.8.382 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.381 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.380 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.379 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.378 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.377 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.376 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.374 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.373 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.372 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.371 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.370 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.369 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.368 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.367 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.366 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.365 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.364 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.363 app/views/ish_manager/galleries/show.haml
ish_manager-0.1.8.362 app/views/ish_manager/galleries/show.haml