Sha256: 0109bea8b5223a543ac5125ec8cc22ee2a3e9dbabd97bda4680c586b2585907b

Contents?: true

Size: 785 Bytes

Versions: 26

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

26 entries across 26 versions & 1 rubygems

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