Sha256: 90f83ce72b674a6207096489da44bd272542704d14f8777878d4eaacc5030db2

Contents?: true

Size: 755 Bytes

Versions: 7

Compression:

Stored size: 755 Bytes

Contents

- unless params[:action] == 'new'
  .content#recent_changes
    h2 Recent Changes
    section.addedit-form.js-addedit-form
      table
        thead
          tr
            th User
            th Type
            th Attribute(s) Updated
            th.-action-wide 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" No changes recorded

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
fae-railsz-2.1.0 app/views/fae/shared/_recent_changes.html.slim
fae-rails-2.0.0 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.7.1 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.7.0 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.6.0 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.5.1 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.5.0 app/views/fae/shared/_recent_changes.html.slim