Sha256: 5703b0a3aba75440384688a5a52e9549da43320fe2ce085871cd2392433dacff

Contents?: true

Size: 886 Bytes

Versions: 11

Compression:

Stored size: 886 Bytes

Contents

<div id='actions'>
  <ul>
    <li>
      <%= render :partial => "/shared/admin/search", :locals => {:url => admin_news_items_url} %>
    </li>
    <li>
      <%= link_to t('.create'), new_admin_news_item_url, :class => "add_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <%= "<h2>#{t('admin.search_results_for', :query => 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><%= t('.no_items_yet') %></strong>
      </p>
    <% else %>
      <p><%= t('admin.search_no_results') %></p>
    <% end %>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-news-0.9.9.5 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.9.4 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.9.3 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.9.2 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.9.1 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.9 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.8.4 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.8.3 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.8.2 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.8.1 app/views/admin/news_items/index.html.erb
refinerycms-news-0.9.8 app/views/admin/news_items/index.html.erb