Sha256: 262c01ba122d98419c6dcd405d51466303bc691004d30d8be196e12a4b35fce4
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 Bytes
Contents
v_box { div { collection_filter :log_entries h2(class: 'content-title') {"Log Entries"} } div { smart_table(:log_entries, columns: { "Date" => -> (log_entry) { log_entry.created_at.to_date }, 'Time EST' => -> (log_entry) { log_entry.created_at.strftime('%T') }, 'User' => -> (log_entry) { helpers.link_to_if(log_entry.username.present?, helpers.truncate(log_entry.username||'', length: 25), log_entries_path(filter: {username: log_entry.username})) }, 'Action' => -> (log_entry) { helpers.link_to(log_entry.action, log_entries_path(filter: {action: log_entry.action}))}, 'When' => :created_at_in_words, 'Notes' => :notes }, show_search: false) } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
express_analytics-0.0.5 | app/views/express_analytics/log_entries/index.html.et |
express_analytics-0.0.4 | app/views/express_analytics/log_entries/index.html.et |