Sha256: 08fcc5019752e1180254320117ca0a14000561ff07fa568f52dcadec37bcef28

Contents?: true

Size: 705 Bytes

Versions: 4

Compression:

Stored size: 705 Bytes

Contents

<section id='records'>
  <% if searching? %>
      <h2><%= t('results_for', :scope => 'refinery.admin.search', :query => params[:search]) %></h2>
  <% end %>
  <div class='pagination_container'>
    <% if @albums.any? %>
        <%= render "albums" %>
    <% else %>
        <p>
          <% unless searching? %>
              <strong>
                <%= t('.no_items_yet', :create => t('new', :scope => 'refinery.photo_gallery.admin.submenu.albums')) %>
              </strong>
          <% else %>
              <%= t('no_results', :scope => 'refinery.admin.search') %>
          <% end %>
        </p>
    <% end %>
  </div>
</section>
<%= render :partial => '/refinery/photo_gallery/admin/submenu' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-photo-gallery-0.3.0 app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-photo-gallery-0.2.0 app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-photo-gallery-0.1.2 app/views/refinery/photo_gallery/admin/albums/index.html.erb
refinerycms-photo-gallery-0.1.1 app/views/refinery/photo_gallery/admin/albums/index.html.erb