Sha256: 37030e928dc1389a5428a066117d02a460a619004f3720063f4c79409bdfe10e

Contents?: true

Size: 1.2 KB

Versions: 14

Compression:

Stored size: 1.2 KB

Contents

<div id='actions'>
	<ul>
		<li>
	  	<%= render :partial => "/shared/admin/search", :locals => {:url => admin_pages_url} %>
	  </li>
		<li>
			<%= link_to "Create New Page", new_admin_page_url, :class => "add_icon" %>
		</li>
	<% if Page.count > 1 and not searching? %>
		<li>
			<%= link_to "Reorder Pages", "", :id => "reorder_action", :class => "reorder_icon" %>
			<%= link_to "Done Reordering Pages", "", :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %>
		</li>
	<% end %>
	</ul>
</div>
<div id='records' class='tree'>  
  <% if searching? %>
  	<% if @pages.size > 0 %>
  	  <h2>Search Results for "<%= params[:search] %>"</h2>
  		<ul id='sortable_list'>
  			<%= render :partial => "sortable_list" %>
  		</ul>
  	<% else %>
  		<p>
  			<strong>Sorry, no results found.</strong>
  		</p>
  	<% end %>
	<% else %>
  	<% if @pages.size > 0 %>
  		<ul id='sortable_list'>
  			<%= render :partial => "sortable_list" %>
  		</ul>
  	<% else %>
  		<p>
  			<strong>There are no pages yet.  Click "Create New Page" to add your first page.</strong>
  		</p>
  	<% end %>
	<% end %>
</div>
<%= render :partial => "/shared/admin/make_sortable", :locals => {:tree => true } if Page.count > 1 %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.12 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.11 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.10 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.9 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.8 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.7 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.6 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.5 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.4 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.3 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.2 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5.1 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.5 vendor/plugins/pages/app/views/admin/pages/index.html.erb