Sha256: a2c91e26c0233f77fdebb00341eeab3646020ac85e41def7d19637ff41a28c4d

Contents?: true

Size: 855 Bytes

Versions: 4

Compression:

Stored size: 855 Bytes

Contents

<%= render :partial => '/refinery/photo_gallery/admin/submenu' %>

<div id='records'>
  <% if searching? %>
      <h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
      <% if @albums.any? %>
          <ul>
            <%= render :partial => "album", :album => @albums %>
          </ul>
      <% else %>
          <p><%= t('no_results', :scope => 'refinery.admin.search') %></p>
      <% end %>
  <% else %>
      <% if @albums.any? %>
          <%= will_paginate @albums %>

          <%= render :partial => "sortable_list" %>

          <%= will_paginate @albums %>
      <% else %>
          <p>
            <strong>
              <%= t('.no_items_yet', :create => t('new', :scope => 'refinery.photo_gallery.admin.submenu.albums')) %>
            </strong>
          </p>
      <% end %>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
refinerycms-6hoursdaily-photo-gallery-0.0.5.dev app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-6hoursdaily-photo-gallery-0.0.4.dev app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-photo-gallery-0.0.2.dev app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-photo-gallery-0.0.1.dev app/views/refinery/photo_gallery/admin/albums/index.html.erb