Sha256: 871c98f139fe9480bd277af7cf66a156356ad5e55b6e4481c187f3944bb81c4e

Contents?: true

Size: 748 Bytes

Versions: 8

Compression:

Stored size: 748 Bytes

Contents

<%= render :partial => '/admin/blog/submenu' %>
<div id='records'>
  <% if searching? %>
    <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2>
    <% if @blog_posts.any? %>
    <ul>
      <%= render :partial => "post",
                 :collection => @blog_posts %>
    </ul>
    <% else %>
      <p><%= t('shared.admin.search.no_results') %></p>
    <% end %>
  <% else %>
    <% if @blog_posts.any? %>
      <%= will_paginate @blog_posts %>

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

      <%= will_paginate @blog_posts %>
    <% else %>
      <p>
        <strong>
          <%= t('.no_items_yet', :create => t('admin.blog.submenu.posts.new')) %>
        </strong>
      </p>
    <% end %>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
refinerycms-blog-1.6.2 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.6.1 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.6.0 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.5.2 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.5.1 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.5.0 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.4.0 app/views/admin/blog/posts/index.html.erb
refinerycms-blog-1.3.2 app/views/admin/blog/posts/index.html.erb