Skip to content

Commit 41652d7

Browse files
committed
Fix account display
1 parent f467c3f commit 41652d7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

resources/views/admin/accounts/index.blade.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@
1414
<table class="table table-striped table-bordered table-hover">
1515
<thead>
1616
<tr>
17-
<th>Username</th>
18-
<th>Email</th>
17+
<th>Email</th>
1918
<th>Account Created</th>
2019
<th>Account Updated</th>
2120
</tr>
2221
</thead>
2322
<tbody>
2423
@foreach ($users as $user)
2524
<tr>
26-
<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>
27-
<td><code>{{ $user->email }}</code></td>
25+
<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>
2826
<td>{{ $user->created_at }}</td>
2927
<td>{{ $user->updated_at }}</td>
3028
</tr>

0 commit comments

Comments
 (0)