Sha256: d721f4f1540fd60623766dee295df7065d9038ac244befb8cb273956e4c904ec
Contents?: true
Size: 1.16 KB
Versions: 10
Compression:
Stored size: 1.16 KB
Contents
<div id='actions'> <ul> <li> <%= render :partial => "/shared/admin/search", :locals => {:url => admin_pages_url} %> </li> <li> <%= link_to t('.create_new_page'), new_admin_page_url, :class => "add_icon" %> </li> <% if Page.count > 1 and not searching? %> <li> <%= link_to t('.reorder_pages'), admin_pages_url, :id => "reorder_action", :class => "reorder_icon" %> <%= link_to t('.reorder_pages_done'), admin_pages_url, :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %> </li> <% end %> </ul> </div> <div id='records' class='tree'> <% if searching? %> <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @pages.any? %> <%= render :partial => "sortable_list" %> <% else %> <p><%= t('shared.admin.search.no_results') %></p> <% end %> <% else %> <% if @pages.any? %> <%= render :partial => "sortable_list" %> <% else %> <p> <strong><%=t('.no_pages_yet')%></strong> </p> <% end %> <% end %> </div> <%= render :partial => "/shared/admin/make_sortable", :locals => {:tree => true} if Page.count > 1 %>
Version data entries
10 entries across 10 versions & 1 rubygems