Sha256: 57cb275703861b053271e86285678277e5c9e8aa8bc73730edb26b759f4bd135

Contents?: true

Size: 1.07 KB

Versions: 10

Compression:

Stored size: 1.07 KB

Contents

- if empty_collection?(entries)

  br

  .alert.alert-warning
    == t('.no_items', url: new_content_entry_path(current_site, content_type.slug))

- else

  #entries-list class="row big-list #{'grouped' if content_type.groupable?} #{'sortable' if content_type.order_manually?}" data-sort-url=sort_content_entries_path(current_site, content_type.slug, :json)
    - entries.each do |entry|

      - next if content_type.tree_parent_field_name && !entry[content_type.tree_parent_field_name.to_sym].nil?

      .item.col-md-12 data-id=entry._id
        - if content_type.order_manually?
          .draggable
            i.fa.fa-bars.draggable

        .text
          .item-label
            = entry_label(content_type, entry, default_location_params)
          .stamp
            == document_stamp(entry)

        .actions
          .checkbox
            = check_box_tag "item_#{entry._id}", entry._id
            = label_tag "item_#{entry._id}", ''

- if entries.respond_to?(:current_page)
  .text-center
    = paginate entries, theme: 'twitter-bootstrap-3', pagination_class: 'pagination-sm'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.1.1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.1.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.0.3 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.0.2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.0.1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.0.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-4.0.0.rc0 app/views/locomotive/content_entries/_list.html.slim