Sha256: b489b132b3aebbb490cf31f4a46050cc55f2b70feef57dae5dc733c14d9960a5

Contents?: true

Size: 981 Bytes

Versions: 15

Compression:

Stored size: 981 Bytes

Contents

%tr.page{:class =>"branch", :data => { :tt_branch => branch.to_s,  :tt_id => page.id, :tt_parent_id => parent_index, :tt_page_id => page.id}, :id => "page_#{page.id}"}
  - render_region :node, :locals => {:page => page, :level => level, :simple => simple} do |node|
    - node.title_column do
      %td.name
        %span.w1
          - if simple
            = icon
            = node_title
          - else
            = (link_to("#{icon} #{node_title}".html_safe, edit_admin_page_path(page), :title => page.path)).html_safe
            = page_type
            = spinner
    - node.status_column do
      - unless simple
        %td.status
          %span.status{:class => "#{page.status.name.downcase}_status", :title => "#{timestamp(page.published_at) if page.published_at}"}= t(page.status.name.downcase)
    - node.actions_column do
      - unless simple
        %td.actions
          = page.add_child_option
          - if current_user.admin?
            = page.remove_option

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
trusty-cms-4.0.2 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.7 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.6 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.5 app/views/admin/pages/_node.html.haml
trusty-cms-4.0.1 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.4 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.3 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.2 app/views/admin/pages/_node.html.haml
trusty-cms-4.0.0 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.1 app/views/admin/pages/_node.html.haml
trusty-cms-3.9.0 app/views/admin/pages/_node.html.haml
trusty-cms-3.8.4 app/views/admin/pages/_node.html.haml
trusty-cms-3.8.3 app/views/admin/pages/_node.html.haml
trusty-cms-3.8.2 app/views/admin/pages/_node.html.haml
trusty-cms-3.8.1 app/views/admin/pages/_node.html.haml