Fix account display
This commit is contained in:
parent
f467c3f0eb
commit
41652d7384
1 changed files with 2 additions and 4 deletions
|
@ -14,8 +14,7 @@
|
||||||
<table class="table table-striped table-bordered table-hover">
|
<table class="table table-striped table-bordered table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Username</th>
|
<th>Email</th>
|
||||||
<th>Email</th>
|
|
||||||
<th>Account Created</th>
|
<th>Account Created</th>
|
||||||
<th>Account Updated</th>
|
<th>Account Updated</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -23,8 +22,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach ($users as $user)
|
@foreach ($users as $user)
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="/admin/accounts/view/{{ $user->id }}">@if($user->username !== null){{ $user->username }}@else[unregistered subuser]@endif</a> @if($user->root_admin === 1)<span class="badge">Administrator</span>@endif</td>
|
<td><a href="/admin/accounts/view/{{ $user->id }}"><code>{{ $user->email }}</code></a> @if($user->root_admin === 1)<span class="badge">Administrator</span>@endif</td>
|
||||||
<td><code>{{ $user->email }}</code></td>
|
|
||||||
<td>{{ $user->created_at }}</td>
|
<td>{{ $user->created_at }}</td>
|
||||||
<td>{{ $user->updated_at }}</td>
|
<td>{{ $user->updated_at }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue