Sha256: 671e5e77964c8e136cb9128cab3e486a42b6f82aad3c9b306db2955489abdadb

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 KB

Contents

- title t('.title', type: @content_type.name.capitalize)

- content_for :actions do
  .main-action
    - if @content_type.importing?
      = link_to content_entry_import_path(current_site, @content_type.slug), class: 'btn btn-primary btn-sm' do
        i.fas.fa-sync
        |  
        = t('.refresh')

      |  
      |  

      = link_to content_entry_import_path(current_site,  @content_type.slug), class: 'btn btn-danger btn-sm', method: :delete, data: { confirm: t('locomotive.messages.confirm') } do
        i.far.fa-trash-alt
        |  
        = t('.cancel')

    |  
    |  

    = link_to t(:back, scope: 'locomotive.content_entries.shared').html_safe, content_entries_path(current_site, @content_type.slug), class: 'btn btn-sm btn-default'

br
br
br
br

.row
  .col-md-3
    .metric
      h2= t('.report.status')
      h3= t(".statuses.#{@content_type.import_status}")

  .col-md-3
    .metric
      h2= t('.report.created_rows')
      h3= @content_type.import_state.created_rows_count

  .col-md-3
    .metric
      h2= t('.report.updated_rows')
      h3= @content_type.import_state.updated_rows_count

  .col-md-3
    .metric
      h2= t('.report.failed_rows')
      h3= @content_type.import_state.failed_rows_count

br
br

pre
  code= @content_type.raw_import_state

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/content_entry_imports/show.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/content_entry_imports/show.html.slim
locomotivecms-4.1.1 app/views/locomotive/content_entry_imports/show.html.slim
locomotivecms-4.1.0 app/views/locomotive/content_entry_imports/show.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/content_entry_imports/show.html.slim