Sha256: b9e45bf570a6dda2297aa66804c2010a4ecb2fa8dfe45a11abf1df1d187d5951

Contents?: true

Size: 988 Bytes

Versions: 8

Compression:

Stored size: 988 Bytes

Contents

- content_for :title do
  Manager Galleries Index

= render 'ish_manager/sites/header', :site => @site if @site

.title
  .row
    .col-sm-12.col-md-12
      %h1.center Galleries
      %ul.menu-secondary
        %li= link_to 'titles list', galleries_index_titles_path( :render_type => Gallery::RENDER_THUMBS )
        %li= link_to 'thumbs list', galleries_index_thumbs_path( :render_type => Gallery::RENDER_TITLES )

.row
  .col-sm-12.col-md-6
    %h4 My Galleries (#{@galleries.count}) #{link_to '[+]', new_gallery_path}
    = render 'search'
    - if params[:render_type] == Gallery::RENDER_TITLES
      = render 'ish_manager/galleries/index_title', :galleries => @galleries, :param_name => :galleries_page
    - else
      = render 'ish_manager/galleries/index', :galleries => @galleries, :param_name => :galleries_page    
  .col-sm-12.col-md-6
    %h4 Shared with me
    = render 'ish_manager/galleries/index', :galleries => @shared_galleries, :param_name => :shared_galleries_page

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ish_manager-0.1.8.173 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.172 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.171 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.166 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.165 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.161 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.162 app/views/ish_manager/galleries/index.haml
ish_manager-0.1.8.160 app/views/ish_manager/galleries/index.haml