Sha256: 25fbb93c421c64b7e16d6f02570abdfeedce824ffe82c43365be51d5f7cb3c68

Contents?: true

Size: 1.07 KB

Versions: 22

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|
      .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)
          .stamp
            == document_stamp(entry)

        .actions
          = link_to content_entry_path(current_site, content_type.slug, entry), title: t(:delete, scope: 'simple_form.buttons.defaults.locomotive'), class: 'remove', data: { confirm: t('locomotive.messages.confirm') }, method: :delete do
            i.fa.fa-trash-o


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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
locomotivecms-3.3.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.3.0.rc3 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.3.0.rc2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.2.1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.3.0.rc1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.2.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.2.0.rc2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.2.0.rc1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.0.rc3 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.0.rc2 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.1.0.rc1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.1 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.0 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.0.rc7 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.0.rc6 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.0.rc5 app/views/locomotive/content_entries/_list.html.slim
locomotivecms-3.0.0.rc4 app/views/locomotive/content_entries/_list.html.slim