This commit is contained in:
Nick Walke 2016-02-11 01:08:04 -06:00
parent d6c00a85ad
commit 17d4533e45
1 changed files with 10 additions and 2 deletions

View File

@ -32,7 +32,15 @@
</a> </a>
@endif @endif
</td> </td>
<td>{{$user->email}}</td> <td>
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
<a href="/users/{{$user->id}}">
@endif
{{ $user->email }}
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
</a>
@endif
</td>
<td>{{ $user->role->display_name }}</td> <td>{{ $user->role->display_name }}</td>
</tr> </tr>
@endforeach @endforeach