test/dummy/app/views/quo_vadis/logs/index.html.erb in quo_vadis-2.0.2 vs test/dummy/app/views/quo_vadis/logs/index.html.erb in quo_vadis-2.1.0
- old
+ new
@@ -1,18 +1,20 @@
<h1>Logs</h1>
<table>
<thead>
<tr>
+ <th>Timestamp</th>
<th>Action</th>
<th>IP</th>
<th>Metadata</th>
</tr>
</thead>
<tbody>
<% @logs.each do |log| %>
<tr>
- <td><%= log.action %></td>
+ <td><%= log.created_at %></td>
+ <td><%= QuoVadis.translate "log.action.#{log.action}" %></td>
<td><%= log.ip %></td>
<td><%= log.metadata.empty? ? '' : log.metadata.map {|k,v| "#{k}: #{v}"}.join(', ') %></td>
</tr>
<% end %>
</tbody>