Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2016-08-02 04:46:25 -07:00
commit 95328f0a6a
2 changed files with 14 additions and 1 deletions

View file

@ -152,6 +152,8 @@
<a href="{{ route('view/component', $activity->component_id) }}">{{ $activity->componentlog->name }}</a>
@elseif (($activity->assetlog) && ($activity->action_type=="uploaded"))
<a href="{{ route('view/hardware', $activity->asset_id) }}">{{ $activity->assetlog->showAssetName() }}</a>
@elseif (($activity->userlog) && ($activity->action_type=="uploaded"))
<a href="{{ route('view/user', $activity->asset_id) }}">{{ $activity->userlog->fullName() }}</a>
@else
{{ trans('general.bad_data') }}
@endif

View file

@ -442,7 +442,18 @@
@endif
</td>
<td>{{ $log->adminlog->fullName() }}</td>
<td>@if ($log->adminlog)
@if ($log->adminlog->deleted_at=='')
<a href="{{ route('view/user', $log->checkedout_to) }}">
{{ $log->adminlog->fullName() }}
</a>
@else
<del>{{ $log->adminlog->fullName() }}</del>
@endif
@else
Deleted User
@endif</td>
</tr>
@endforeach
</tbody>