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

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.28 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.27 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.26 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.25 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.24 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.23 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.22 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.21 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.19 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.18 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.17 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.16 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.15 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.14 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.13 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.12 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.11 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.10 vendor/plugins/pages/app/views/admin/pages/_list.html.erb
refinerycms-0.9.6.9 vendor/plugins/pages/app/views/admin/pages/_list.html.erb