Sha256: a82e9df4484cf705f8ee75d6119c2e379b0ea8f8e2c16fc92c5565dd9e056a97

Contents?: true

Size: 837 Bytes

Versions: 2

Compression:

Stored size: 837 Bytes

Contents

- unless params[:action] == 'new'
  .content#recent_changes
    h2 = t('fae.changes.recent')
    section.addedit-form.js-addedit-form
      table
        thead
          tr
            th = t('fae.changes.user')
            th = t('fae.changes.type')
            th = t('fae.changes.attrs')
            th.-action-wide = t('fea.changes.modified')
        tbody
          - if @item.try(:tracked_changes).present?
            - @item.tracked_changes.each do |change|
              tr
                td = change.user.full_name if change.user.present?
                td = change.change_type
                td = change.updated_attributes.join(', ') if change.updated_attributes.present?
                td = fae_datetime_format(change.updated_at)
          - else
            tr
              td colspan="4" = t('fae.changes.no_changes')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fae-rails-3.0.0 app/views/fae/shared/_recent_changes.html.slim
fae-rails-2.2.0 app/views/fae/shared/_recent_changes.html.slim