Sha256: f6b7cc4971415e447202ee9908e05d30ceef962f098c2415c95ff1eb2c2a0cc2

Contents?: true

Size: 1.27 KB

Versions: 42

Compression:

Stored size: 1.27 KB

Contents

.row.page-content-row
  %div{ class: @component.page_container_class }
    .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 }

        .page-list-heading
          .flextable
            = render partial: find_partial_for(relation, :filters), locals: { attributes: attributes }

        - if resources.length > 0
          .page-entries-info
            = page_entries(resources)
          .page-list-body
            = table_for(resources: resources, model: model, component: component, attributes: attributes)

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

            = add_button_for(component, relation, model) if allow_adding_resource

        - if resources.total_count > resources.length
          .page-list-footer
            = paginate resources, theme: Para.config.pagination_theme

  -# Render history module if configured to be displayed
  = history_for(@component, action: :index, resources: resources, relation: relation)

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
para-0.11.4 app/views/para/admin/resources/_list.html.haml
para-0.11.3 app/views/para/admin/resources/_list.html.haml
para-0.11.2 app/views/para/admin/resources/_list.html.haml
para-0.11.1 app/views/para/admin/resources/_list.html.haml
para-0.11.0 app/views/para/admin/resources/_list.html.haml
para-0.10.0 app/views/para/admin/resources/_list.html.haml
para-0.9.4 app/views/para/admin/resources/_list.html.haml
para-0.9.3.3 app/views/para/admin/resources/_list.html.haml
para-0.9.3.2 app/views/para/admin/resources/_list.html.haml
para-0.9.3.1 app/views/para/admin/resources/_list.html.haml
para-0.9.2 app/views/para/admin/resources/_list.html.haml
para-0.9.0 app/views/para/admin/resources/_list.html.haml
para-0.8.15 app/views/para/admin/resources/_list.html.haml
para-0.8.14 app/views/para/admin/resources/_list.html.haml
para-0.8.13 app/views/para/admin/resources/_list.html.haml
para-0.8.12 app/views/para/admin/resources/_list.html.haml
para-0.8.11 app/views/para/admin/resources/_list.html.haml
para-0.8.10 app/views/para/admin/resources/_list.html.haml
para-0.8.9 app/views/para/admin/resources/_list.html.haml
para-0.8.8 app/views/para/admin/resources/_list.html.haml