Sha256: edc119f16b2f6f156d4ad27e28b8de92cc57bbec6cf0df19eef45923cca89fe2

Contents?: true

Size: 835 Bytes

Versions: 1

Compression:

Stored size: 835 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

1 entries across 1 versions & 1 rubygems

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