Sha256: f9ae2dc6fe67bd39c13fb4001ad1e99ec9cd47236403ad5125b6a94ef29613fb

Contents?: true

Size: 1023 Bytes

Versions: 14

Compression:

Stored size: 1023 Bytes

Contents

<div id='actions'>
	<ul>
		<li>
			<%= link_to "Upload New File", new_admin_resource_url, :class => "add_icon" %>
		</li>
	</ul>
</div>
<div id='records'>
  <div id='list_actions'>
    <%= render :partial => "/shared/admin/search", :locals => {:url => admin_resources_url} %>
  </div>

  <% if searching? %>
    <h2>Search Results for "<%= params[:search] %>"</h2>
    <% if @resources.size > 0 %>
  			<%= render :partial => "resource", :collection => @resources %>
    <% else %>
      <p>Sorry, no results found.</p>
    <% end %>
	<% else %>
    <% if @resources.size > 0 -%>
    	<%= will_paginate @resources, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    	<ul>
    	  <%= render :partial => "resource", :collection => @resources %>
    	</ul>
    	<%= will_paginate @resources, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    <% else -%>
    	<p>
    		<strong>There are no files yet. Click "Upload New Files" to add your first file.</strong>
    	</p>
    <% end -%>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-0.9.4.5 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.4.4 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.4.3 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.4.2 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.4.1 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.4 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.3 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.2.2 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.2.1 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.2 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.1.2 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.1.1 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.1 vendor/plugins/resources/app/views/admin/resources/index.html.erb
refinerycms-0.9.0 vendor/plugins/resources/app/views/admin/resources/index.html.erb