Sha256: 4c4c5f3355725650d525e85f54be7b335e265a40fd88d91b980a2a1e4ca16690
Contents?: true
Size: 1.18 KB
Versions: 22
Compression:
Stored size: 1.18 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='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), :class => "cancel confirm-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> <% if (children = page.children).any? %> <ul<%= " class='nested'" %>> <% children.each do |child| %> <%= render :partial => 'list', :locals => {:page => child} %> <% end %> </ul> <% end %> </li>
Version data entries
22 entries across 22 versions & 2 rubygems