%= admin_breadcrumb %>
<%= link_to "#{ node.admin_title } #{ '(draft)' if node.has_draft? }", noodall_admin_node_path(node), :class => 'edit', :title => "Edit #{node.title}" %> | <%= node.class.name.titleize %> | <%# Change 'position' content if we are sorting by position %> <% if(params[:sort] && params[:sort] != "position" || params[:order] == "descending") %><%= node.position %> | <% else %><%= link_to 'up', move_up_noodall_admin_node_path(node), { :class => "page_up", :title => 'Move this content higher in the navigation' } unless node.first? %> | <%= link_to 'down', move_down_noodall_admin_node_path(node), { :class => 'page_down', :title => 'Move this content lower in the navigation' } unless node.last? %> | <% end %><% unless node.class.template_classes.blank? -%> <%= link_to pluralize(node.children.size, "Child"), noodall_admin_node_nodes_path(node), :title => "View content under #{h(node.title)}", :class => 'child-no' %> <%= link_to('Add', new_noodall_admin_node_node_path(node), :title => "Add content under #{h(node.title)}", :class => 'child') if node.class.template_names.any? %> <% end -%> | <%=h node.updated_at.to_formatted_s(:short_ordinal) %> | <%= link_to 'Show', node_path(node), :class => 'show', :title => 'View this content' if node.published? %> | "><%= (node.published? ? 'Published' : 'Hidden').html_safe %> | <%= link_to 'Delete', noodall_admin_node_path(node), :confirm => 'Are you sure?', :method => :delete, :class => 'delete', :title => 'Delete this content' unless node.in_site_map? %> |