Sha256: 5e1beaafe5f996728be046f0354afb716866a4f4c8b63e1541c0371b868e8fc0

Contents?: true

Size: 599 Bytes

Versions: 37

Compression:

Stored size: 599 Bytes

Contents

%li.node{ data: { id: root.id } }
  .node-row
    %span.handle
      %i.sort-dots
    %span.node-name
      = resource_name(root)
    
    - buttons = Para::Markup::ResourcesButtons.new(@component, self)
    - actions = Para::Markup::ResourcesTable.default_actions

    .pull-right
      - actions.each do |action|
        = buttons.send(:"#{action}_button", root)

    .clearfix
  %ul.tree
    %li.placeholder{ class: "#{ 'hidden' unless needs_placeholder?(root) }"}
    = render partial: find_partial_for(model, 'tree_item'), collection: root.children.ordered, as: :root, locals: { model: model }

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
para-0.12.4 app/views/para/admin/resources/_tree_item.html.haml
para-0.12.3 app/views/para/admin/resources/_tree_item.html.haml
para-0.12.2 app/views/para/admin/resources/_tree_item.html.haml
para-0.12.1 app/views/para/admin/resources/_tree_item.html.haml
para-0.12.0 app/views/para/admin/resources/_tree_item.html.haml
para-0.11.4 app/views/para/admin/resources/_tree_item.html.haml
para-0.11.3 app/views/para/admin/resources/_tree_item.html.haml
para-0.11.2 app/views/para/admin/resources/_tree_item.html.haml
para-0.11.1 app/views/para/admin/resources/_tree_item.html.haml
para-0.11.0 app/views/para/admin/resources/_tree_item.html.haml
para-0.10.0 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.4 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.3.3 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.3.2 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.3.1 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.2 app/views/para/admin/resources/_tree_item.html.haml
para-0.9.0 app/views/para/admin/resources/_tree_item.html.haml
para-0.8.15 app/views/para/admin/resources/_tree_item.html.haml
para-0.8.14 app/views/para/admin/resources/_tree_item.html.haml
para-0.8.13 app/views/para/admin/resources/_tree_item.html.haml