Add updated_at value.

This commit is contained in:
James Cole 2017-01-18 07:28:49 +01:00 committed by GitHub
parent 77f889aba6
commit 20bb151cf3

View File

@ -17,6 +17,7 @@
<th data-defaultsign="_19" class="hidden-xs" colspan="2">&nbsp;</th> <th data-defaultsign="_19" class="hidden-xs" colspan="2">&nbsp;</th>
<th data-defaultsign="az">{{ trans('list.email') }}</th> <th data-defaultsign="az">{{ trans('list.email') }}</th>
<th data-defaultsign="month" class="hidden-xs">{{ trans('list.registered_at') }}</th> <th data-defaultsign="month" class="hidden-xs">{{ trans('list.registered_at') }}</th>
<th data-defaultsign="month" class="hidden-xs">{{ trans('list.updated_at') }}</th>
<th class="hidden-xs">{{ trans('list.is_admin') }}</th> <th class="hidden-xs">{{ trans('list.is_admin') }}</th>
<th class="hidden-xs">{{ trans('list.has_two_factor') }}</th> <th class="hidden-xs">{{ trans('list.has_two_factor') }}</th>
<th>{{ trans('list.is_blocked') }}</th> <th>{{ trans('list.is_blocked') }}</th>
@ -38,6 +39,10 @@
{{ user.created_at.formatLocalized(monthAndDayFormat) }} {{ user.created_at.formatLocalized(monthAndDayFormat) }}
{{ user.created_at.format('H:i') }} {{ user.created_at.format('H:i') }}
</td> </td>
<td class="hidden-xs" data-value="{{ user.updated_at.format('Y-m-d H-i-s') }}">
{{ user.updated_at.formatLocalized(monthAndDayFormat) }}
{{ user.updated_at.format('H:i') }}
</td>
<td class="hidden-xs" data-value="{% if user.isAdmin %}1{% else %}0{% endif %}"> <td class="hidden-xs" data-value="{% if user.isAdmin %}1{% else %}0{% endif %}">
{% if user.isAdmin %} {% if user.isAdmin %}
<small class="text-success"><i class="fa fa-fw fa-check"></i></small> <small class="text-success"><i class="fa fa-fw fa-check"></i></small>