Sha256: bdc03e2f7e6f3b65310f08cd4917d22ef41667b1398d7de42b89ece139e1d4ec

Contents?: true

Size: 876 Bytes

Versions: 10

Compression:

Stored size: 876 Bytes

Contents

%li{ :id => "item-#{page.id}", :class => "#{'not-found' if page.not_found? } #{'templatized' if page.templatized?}"}
  - 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

10 entries across 10 versions & 1 rubygems

Version Path
locomotive_cms-0.0.4.beta10 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta9 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta8 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta7 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta5 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta4 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta3 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta2 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4.beta1 app/views/admin/pages/_page.html.haml
locomotive_cms-0.0.4 app/views/admin/pages/_page.html.haml