Sha256: c0f8cf9b453c54c03df237b240e0c8fe7bdb787f83cd066d5dd4b943cc1fb001

Contents?: true

Size: 620 Bytes

Versions: 14

Compression:

Stored size: 620 Bytes

Contents

<h1>Listing audits</h1>

<%= link_to "Download Audit Report", audit_rails.audits_path(:format => "xls") %>

<table>
  <tr>
    <th>Action</th>
    <th>Controller</th>
    <th>Description</th>
    <th>User name</th>
    <th>When?</th>
  </tr>

<% @audits.each do |audit| %>
  <tr>
    <td><%= audit.action %></td>
    <td><%= audit.controller %></td>
    <td><%= audit.description %></td>
    <td><%= audit.user_name %></td>
    <td><%= distance_of_time_in_words(audit.created_at, Time.now) %> ago</td>
  </tr>
<% end %>
</table>

<br />
<%=link_to "Create Test Audits", "http://www.google.com", :class => "visit-site" %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
audit_rails-1.1.7 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.6 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.5 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.4 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.3 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.2 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.1 app/views/audit_rails/audits/index.html.erb
audit_rails-1.1.0 app/views/audit_rails/audits/index.html.erb
audit_rails-1.0.1 app/views/audit_rails/audits/index.html.erb
audit_rails-1.0.0 app/views/audit_rails/audits/index.html.erb
audit_rails-0.1.4 app/views/audit_rails/audits/index.html.erb
audit_rails-0.1.3 app/views/audit_rails/audits/index.html.erb
audit_rails-0.1.2 app/views/audit_rails/audits/index.html.erb
audit_rails-0.1.1 app/views/audit_rails/audits/index.html.erb