Sha256: 6bb4833bc9c2104c4f84aff128fee76d995d439e59ccc0cd9e73e24f07afd744

Contents?: true

Size: 923 Bytes

Versions: 10

Compression:

Stored size: 923 Bytes

Contents

- content_for(:header_actions) do
  - if @media_folders.any?
    = link_to '#', class: 'button organize-switch', data: {organize_images: t('spina.photos.organize'), done_organizing: t('spina.photos.done_organizing')} do
      = icon('random')
      = t('spina.photos.organize')

  = link_to new_admin_media_folder_path, class: 'button button-primary', style: 'margin-right: 0; margin-left: 4px', data: {remote: true} do
    = icon('plus')
    =t 'spina.photos.new_folder'

.gallery-container
  .gallery
    .item.new-image-form
      = render 'form'

    = render partial: 'spina/admin/media_folders/media_folder', collection: @media_folders

    .gallery-prepend-image
      .infinite-scroll
        = render partial: 'spina/admin/images/image', collection: @images

      .infinite-pagination{data: {controller: 'infinite-scroll'}}= link_to_next_page @images, 'Next', remote: true, data: {target: "infinite-scroll.link"}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spina-1.2.0 app/views/spina/admin/images/index.html.haml
spina-1.1.4 app/views/spina/admin/images/index.html.haml
spina-1.1.3 app/views/spina/admin/images/index.html.haml
spina-1.1.2 app/views/spina/admin/images/index.html.haml
spina-1.1.1 app/views/spina/admin/images/index.html.haml
spina-1.1.0 app/views/spina/admin/images/index.html.haml
spina-1.0.3 app/views/spina/admin/images/index.html.haml
spina-1.0.2 app/views/spina/admin/images/index.html.haml
spina-1.0.1 app/views/spina/admin/images/index.html.haml
spina-1.0.0 app/views/spina/admin/images/index.html.haml