改进 用户切换逻辑
This commit is contained in:
parent
bd885d182d
commit
747c161f96
@ -8,6 +8,7 @@
|
|||||||
<div class="overflow-auto">
|
<div class="overflow-auto">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
|
<th>ID</th>
|
||||||
<th>用户名</th>
|
<th>用户名</th>
|
||||||
<th>邮箱</th>
|
<th>邮箱</th>
|
||||||
<th>金额</th>
|
<th>金额</th>
|
||||||
@ -19,7 +20,12 @@
|
|||||||
@foreach ($users as $user)
|
@foreach ($users as $user)
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ route('admin.users.edit', $user) }}">
|
<a href="{{ route('admin.users.show', $user) }}" title="切换到 {{ $user->name }}">
|
||||||
|
{{ $user->id }}
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a href="{{ route('admin.users.edit', $user) }}" title="显示和编辑 {{ $user->name }} 的资料">
|
||||||
{{ $user->name }}
|
{{ $user->name }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user