Improved datatime format.
This commit is contained in:
parent
2cb31d20a7
commit
54a41212df
1 changed files with 2 additions and 2 deletions
|
@ -7,14 +7,14 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th width="10%"><%- @T('Direction') %>
|
<th width="10%"><%- @T('Direction') %>
|
||||||
<th><%- @T('Request') %>
|
<th><%- @T('Request') %>
|
||||||
<th width="15%"><%- @T('Created at') %>
|
<th width="20%"><%- @T('Created at') %>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% for record in @records: %>
|
<% for record in @records: %>
|
||||||
<tr data-id="<%= record.id %>" class="js-record">
|
<tr data-id="<%= record.id %>" class="js-record">
|
||||||
<td><%- @T(record.direction) %>
|
<td><%- @T(record.direction) %>
|
||||||
<td><a href="#"><%= record.status %> <%= record.method %> <%= record.url %></a>
|
<td><a href="#"><%= record.status %> <%= record.method %> <%= record.url %></a>
|
||||||
<td><%- @datetime(record.created_at) %>
|
<td><%- @humanTime(record.created_at) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue