Sha256: 696715a4f188918975224c3d20fd2e25a8a305a210585af7b8339f24030ed83b

Contents?: true

Size: 1.22 KB

Versions: 14

Compression:

Stored size: 1.22 KB

Contents

<div id='actions'>
	<ul>
		<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'>
  <div id='list_actions'>
  	<%= render :partial => "/shared/admin/search", :locals => {:url => admin_pages_url} %>
  </div>
  
  <% 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.4.5 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.4.4 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.4.3 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.4.2 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.4.1 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.4 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.3 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.2.2 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.2.1 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.2 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.1.2 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.1.1 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.1 vendor/plugins/pages/app/views/admin/pages/index.html.erb
refinerycms-0.9.0 vendor/plugins/pages/app/views/admin/pages/index.html.erb