Sha256: 68089e0bda7825661daef0dd128c9e6036b52b1beb94e67feccbd78d2e5370ee

Contents?: true

Size: 950 Bytes

Versions: 22

Compression:

Stored size: 950 Bytes

Contents

<div id='actions'>
  <ul>
    <li>
      <%= render :partial => "/shared/admin/search", :locals => {:url => admin_news_items_url} %>
    </li>
    <li>
      <%= link_to "Create News Item", new_admin_news_item_url, :class => "add_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <%= "<h2>Search Results for \"#{params[:search]}\"</h2>" if searching? %>
  <% if @news_items.any? %>
    <%= will_paginate @news_items, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    <ul>
      <%= render :partial => "news_item", :collection => @news_items %>
    </ul>
    <%= will_paginate @news_items, :previous_label => '&laquo;', :next_label => '&raquo;' %>
  <% else %>
    <% unless searching? %>
      <p>
        <strong>
          There are no news items yet.
          Click "Create News Item" to add your first news item.
        </strong>
      </p>
    <% else %>
      <p>Sorry, no results found.</p>
    <% end %>
  <% end %>
</div>

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
refinerycms-news-0.9.7.3 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.7.2 app/views/admin/news_items/index.html.erb
jacobat-refinerycms-0.9.6.14 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.7.1 app/views/admin/news_items/index.html.erb
sneakin-refinerycms-news-0.9.7.2 app/views/admin/news_items/index.html.erb
sneakin-refinerycms-news-0.9.7.1 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.7 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.6.1 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.6 app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.19 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.18 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.17 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.16 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.15 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.14 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.13 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.12 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.11 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.10 vendor/plugins/news/app/views/admin/news_items/index.html.erb
refinerycms-0.9.6.9 vendor/plugins/news/app/views/admin/news_items/index.html.erb