mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-30 20:24:54 +03:00
Fixes #58
This commit is contained in:
parent
d6c00a85ad
commit
17d4533e45
@ -27,12 +27,20 @@
|
|||||||
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
|
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
|
||||||
<a href="/users/{{$user->id}}">
|
<a href="/users/{{$user->id}}">
|
||||||
@endif
|
@endif
|
||||||
{{$user->name}}
|
{{ $user->name }}
|
||||||
|
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
|
||||||
|
</a>
|
||||||
|
@endif
|
||||||
|
</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)
|
@if($currentUser->can('user-update') || $currentUser->id == $user->id)
|
||||||
</a>
|
</a>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>{{$user->email}}</td>
|
|
||||||
<td>{{ $user->role->display_name }}</td>
|
<td>{{ $user->role->display_name }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Loading…
x
Reference in New Issue
Block a user