Sha256: c32298c10590434846f079c02516ca681297bedccd2ba4d66667a86ab5582433
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
.row .col-md-12 = haml :'partials/search' %table.table.table-striped.table-bordered.table-hover %thead.thead-dark %tr %th= "User #{sort_ui(:user)}" %th= "Action #{sort_ui(:action)}" %th= "Details #{sort_ui(:details)}" %th= "IP Address #{sort_ui(:ip_address)}" %th= "Browser #{sort_ui(:browser)}" %th= "Device #{sort_ui(:device)}" %th= "Platform #{sort_ui(:platform)}" %th= "Created At #{sort_ui(:created_at)}" %tbody - if list.count > 0 - list.all.each do |entity| %tr %td -if entity.user %a{ href: "#{settings.map_path}/users/#{entity.user.id}" }= entity.user.email -else None %td= entity.action %td= entity.details %td= entity.ip_address || 'Unknown' %td= entity.browser || 'Unknown' %td= entity.device || 'Unknown' %td= entity.platform || 'Unknown' %td= entity.created_at&.strftime('%Y-%m-%d %H:%M:%S') || 'Unknown' - else %tr %td.text-center{ colspan: 4 } No records - if list.count > 0 = pagination(list, base_path)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.10.2 | views/audit_logs/index.haml |
ditty-0.10.1 | views/audit_logs/index.haml |