Sha256: 40e77d1f591d9737bef85d14770b3976a684b8f7ee6ba548cf52ae5721cc3b6e
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
== render 'fae/shared/index_header', title: 'Activity Log', new_button: false main.content == fae_filter_form title: 'Search Changes', action: fae.activity_log_filter_path do == fae_filter_select :user, options: Fae::User.all.map { |u| [u.full_name, u.id] } == fae_filter_select :model, options: @items.unique_changeable_types == fae_filter_select :type, options: ['created', 'updated', 'deleted'] == fae_filter_select :date, options: ['Last Hour', 'Last Day', 'Last Week', 'Last Month'], placeholder: 'All Time' table.js-results-table thead tr th data-sort="user.first_name" User th data-sort="changeable_type" Item th data-sort="change_type" Type th Attribute(s) Updated th data-sort="updated_at" Modified tbody - if @items.present? - @items.each do |change| tr td = change.user.full_name if change.user.present? td = change_item_link(change) 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=5 No changes recorded == fae_paginate @items
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fae-rails-1.5.1 | app/views/fae/pages/activity_log.html.slim |
fae-rails-1.5.0 | app/views/fae/pages/activity_log.html.slim |