Sha256: 0109bea8b5223a543ac5125ec8cc22ee2a3e9dbabd97bda4680c586b2585907b

Contents?: true

Size: 785 Bytes

Versions: 27

Compression:

Stored size: 785 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
      - if resources.total_count > 100
        .page-entries-info
          = page_entries(resources)

      %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

27 entries across 27 versions & 1 rubygems

Version Path
para-0.8.13 app/views/para/admin/resources/_tree.html.haml
para-0.8.12 app/views/para/admin/resources/_tree.html.haml
para-0.8.11 app/views/para/admin/resources/_tree.html.haml
para-0.8.10 app/views/para/admin/resources/_tree.html.haml
para-0.8.9 app/views/para/admin/resources/_tree.html.haml
para-0.8.8 app/views/para/admin/resources/_tree.html.haml
para-0.8.7 app/views/para/admin/resources/_tree.html.haml