Revision aee513b8
Added by Ohad Levy almost 14 years ago
- ID aee513b8d9ca86df58ed37efd37251ec8fb0a672
app/views/audits/index.html.erb | ||
---|---|---|
<th></th>
|
||
</tr>
|
||
<% for audit in @audits %>
|
||
<tr>
|
||
<tr class="<%= cycle("even", "odd") -%>">
|
||
<td><%=h auditable_type audit %></td>
|
||
<td><%=h audit_title audit %></td>
|
||
<td><%=h audit.action %></td>
|
||
<td><%=h audit.created_at.to_s(:long) %></td>
|
||
<td><%=h audit.changes.keys.map(&:humanize).to_sentence %></td>
|
||
<td><%=h audit.username %></td>
|
||
<td><%=h audit.user %></td>
|
||
<td><%= link_to "Details", audit %></td>
|
||
</tr>
|
||
<% end %>
|
Also available in: Unified diff
fixes 154 - audit log does not store user information