mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Nicer date display
This commit is contained in:
parent
f2ddc7b0ae
commit
5e8d8d6df0
|
@ -117,7 +117,7 @@
|
|||
<i class="fa fa-paperclip"></i>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ date("M d, Y H:iA", strtotime($activity->created_at)) }}</td>
|
||||
<td>{{ date("M d, Y g:iA", strtotime($activity->created_at)) }}</td>
|
||||
<td>
|
||||
@if ($activity->action_type!='requested')
|
||||
<a href="{{ route('view/user', $activity->user_id) }}">{{ $activity->adminlog->fullName() }}</a>
|
||||
|
@ -150,7 +150,9 @@
|
|||
@if (($activity->componentlog) && ($activity->asset_type=="component"))
|
||||
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->showAssetName() }}</a>
|
||||
@elseif($activity->action_type=='requested')
|
||||
<a href="{{ route('view/user', $activity->user_id) }}">{{ $activity->adminlog->fullName() }}</a>
|
||||
@if ($activity->adminlog)
|
||||
<a href="{{ route('view/user', $activity->user_id) }}">{{ $activity->adminlog->fullName() }}</a>
|
||||
@endif
|
||||
@elseif ($activity->userlog)
|
||||
<a href="{{ route('view/user', $activity->checkedout_to) }}">{{ $activity->userlog->fullName() }}</a>
|
||||
|
||||
|
|
Loading…
Reference in a new issue