Sha256: bdd9535b804a5f1455e47e79aa03ec058914ab5a0501404f36487c66c2a025d6

Contents?: true

Size: 1005 Bytes

Versions: 6

Compression:

Stored size: 1005 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
            = node_title
          - else
            %i.far.fa-file
            = (link_to("#{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.editor? || current_user.admin?
            = page.remove_option

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trusty-cms-7.0.8 app/views/admin/pages/_node.html.haml
trusty-cms-7.0.7 app/views/admin/pages/_node.html.haml
trusty-cms-7.0.6 app/views/admin/pages/_node.html.haml
trusty-cms-7.0.5 app/views/admin/pages/_node.html.haml
trusty-cms-7.0.4 app/views/admin/pages/_node.html.haml
trusty-cms-7.0.3 app/views/admin/pages/_node.html.haml