Sha256: abb6c9b53e45347a8c4101c77285b79dcaed5360e078a52d52508989cfd24776

Contents?: true

Size: 682 Bytes

Versions: 23

Compression:

Stored size: 682 Bytes

Contents

.page-content-wrap  
  .page-list
    .page-list-heading
      = render partial: find_partial_for(relation, :actions), locals: { relation: relation, component: component, model: model, allow_adding_resource: allow_adding_resource }

    - if resources.length > 0
      %ul.tree.root-tree{ data: { url: component.relation_path(model.model_name.route_key, action: :tree), :"max-depth" => max_depth_for(model) } }
        = render partial: find_partial_for(model, 'tree_item'), collection: resources.roots, as: :root, locals: { model: model}

    - else
      = alert class: '', dismissable: false do
        = filtered?(attributes) ? t('para.list.no_results') : t('para.list.empty')

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
para-0.8.5 app/views/para/admin/resources/_tree.html.haml
para-0.8.3.3 app/views/para/admin/resources/_tree.html.haml
para-0.8.3.2 app/views/para/admin/resources/_tree.html.haml
para-0.8.3.1 app/views/para/admin/resources/_tree.html.haml
para-0.8.3 app/views/para/admin/resources/_tree.html.haml
para-0.8.2.3 app/views/para/admin/resources/_tree.html.haml
para-0.8.2.2 app/views/para/admin/resources/_tree.html.haml
para-0.8.2.1 app/views/para/admin/resources/_tree.html.haml
para-0.8.2 app/views/para/admin/resources/_tree.html.haml
para-0.8.1 app/views/para/admin/resources/_tree.html.haml
para-0.8.0 app/views/para/admin/resources/_tree.html.haml
para-0.7.4.p1 app/views/para/admin/resources/_tree.html.haml
para-0.7.4 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p6 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p5 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p4 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p3 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p2 app/views/para/admin/resources/_tree.html.haml
para-0.7.3.p1 app/views/para/admin/resources/_tree.html.haml
para-0.7.3 app/views/para/admin/resources/_tree.html.haml