Sha256: 8b026fbbf8f629bedd73e34385a7112ef83372b94c95528fa4a366c092a2779e

Contents?: true

Size: 728 Bytes

Versions: 14

Compression:

Stored size: 728 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? %>
      <%= render :partial => "blog_posts",
                 :collection => @blog_posts %>
    <% else %>
      <p><%= t('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

14 entries across 11 versions & 1 rubygems

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