Sha256: dd7cfe2525abae9442f1380050b3a2dd910d2c41e562c52c792b23b10f35fce2

Contents?: true

Size: 862 Bytes

Versions: 4

Compression:

Stored size: 862 Bytes

Contents

- unless params[:action] == 'new'
  section.main_content-section#recent_changes
    h2.main_content-section-title Recent Changes
    .main_content-section-area
      section.js-addedit-form
        table.index_table
          thead
            tr
              th User
              th Type
              th Attribute(s) Updated
              th Updated At
          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

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.2.4 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.2.3 app/views/fae/shared/_recent_changes.html.slim
fae-rails-1.2.2 app/views/fae/shared/_recent_changes.html.slim