Skip to content

Commit

Permalink
Unlink username if they've been deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 12, 2015
1 parent 95be790 commit 56e090f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/views/backend/hardware/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,15 @@
<td>{{ $log->action_type }}</td>
<td>
@if ((isset($log->checkedout_to)) && ($log->checkedout_to!=0) && ($log->checkedout_to!=''))

@if ($log->userlog->deleted_at=='')
<a href="{{ route('view/user', $log->checkedout_to) }}">
{{{ $log->userlog->fullName() }}}
</a>
</a>
@else
<del>{{{ $log->userlog->fullName() }}}</del>
@endif

@endif
</td>
<td>
Expand Down

0 comments on commit 56e090f

Please sign in to comment.