mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-05 00:30:26 +00:00
Merge pull request #59 from nwalke/master
Updated email on users list to be a link
This commit is contained in:
commit
990acbb9ac
1 changed files with 10 additions and 2 deletions
|
@ -32,7 +32,15 @@
|
|||
</a>
|
||||
@endif
|
||||
</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>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue