Sha256: 067f98d642edc3377941e7a6ac5e68013356c3196caec0e26581220528cd502c
Contents?: true
Size: 849 Bytes
Versions: 16
Compression:
Stored size: 849 Bytes
Contents
%li{ :id => "item-#{page.id}", :class => "#{'not-found' if page.not_found? }"} - if not page.index? and not page.children.empty? = image_tag 'admin/list/icons/node_closed.png', :class => 'toggler' %em %strong= link_to truncate(page.title, :length => 80), edit_admin_page_url(page) .more %span= t('.updated_at') = l page.updated_at, :format => :short - if not page.index? and not page.not_found? = link_to image_tag('admin/list/icons/trash.png'), admin_page_url(page), :class => 'remove', :confirm => t('admin.messages.confirm'), :method => :delete - if not page.children.empty? %ul{ :id => "folder-#{page._id}", :class => "folder depth-#{(page.depth || 0) + 1}", :data_url => sort_admin_page_url(page), :style => "display: #{cookies["folder-#{page._id}"] || 'block'}" } = render page.children
Version data entries
16 entries across 16 versions & 1 rubygems