diff --git a/resources/views/users/view.blade.php b/resources/views/users/view.blade.php index 952dd3c9ab..ee86f0e050 100755 --- a/resources/views/users/view.blade.php +++ b/resources/views/users/view.blade.php @@ -40,21 +40,109 @@
-
+ @if ($user->deleted_at!='') +
+
+ + + This user has been marked as deleted. Click here to restore them. +
+
+ @endif +
@if ($user->avatar) @else @endif - {{ $user->fullName() }} - @if (!is_null($user->company)) - - {{ $user->company->name }} - @endif - @if ($user->employee_num) - ({{ $user->employee_num }}) - @endif - {{ $user->jobtitle }}
+
+ +
+ + @if (!is_null($user->company)) + + + + + @endif + + + + + + @if ($user->jobtitle) + + + + + @endif + + @if ($user->employee_num) + + + + + @endif + + @if ($user->manager) + + + + + @endif + + @if ($user->email) + + + + + @endif + + @if ($user->phone) + + + + + @endif + + @if ($user->userloc) + + + + + @endif + +
Company{{ $user->company->name }}
Name{{ $user->fullName() }}
Title{{ $user->jobtitle }}
Employee No.{{ $user->employee_num }}
Manager{{ $user->manager->fullName() }}
Email{{ $user->email }}
Phone{{ $user->phone }}
Location{{ $user->userloc->name }}
+
+
+ + +
+ + + + @if ((Auth::user()->id !== $user->id) && (!config('app.lock_passwords'))) + + @if ($user->deleted_at=='') + + @else + + @endif + + @endif + +
+ +