Sha256: 1fa9f83e53b2045125ef4ba7f9689ba5e11e664dea601676b6e2408352dfdfac
Contents?: true
Size: 1.31 KB
Versions: 18
Compression:
Stored size: 1.31 KB
Contents
<% branch = if (!page.parent_id.nil? and page === page.self_and_siblings.last) or (page != @pages.first and page === @pages.last) "branch_end" elsif page === @pages.first "branch_start" end -%> <li class='clearfix record<%= " #{branch}" %>' id="<%= dom_id(page) -%>"> <div class='clearfix'> <span class='actions'> <%= link_to refinery_icon_tag('application_go.png'), page.url, :target => "_blank", :title => "View this page live <br/><em>(opens in a new window)</em>" %> <%= link_to refinery_icon_tag('application_edit.png'), edit_admin_page_path(page), :title => "Edit this page" %> <%= link_to refinery_icon_tag('delete.png'), admin_page_path(page), :confirm => "Are you sure you want to delete '#{page.title}'?", :class => "cancel", :method => :delete, :title => "Remove this page forever" if page.deletable? %> </span> <%= h page.title %> <%= "<em>(hidden)</em>" unless page.show_in_menu? %> <%= "<em>(draft)</em>" if page.draft? %> </div> <ul<%= " class='#{page.children.empty? ? 'empty' : 'nested'}'" %>> <% page.children.each do |child| %> <%= render :partial => 'list', :locals => {:page => child} %> <% end %> <span class='spacing'> </span> </ul> </li>
Version data entries
18 entries across 18 versions & 1 rubygems