Fix account display

This commit is contained in:
Dane Everitt 2016-01-02 15:10:42 -05:00
parent f467c3f0eb
commit 41652d7384

View file

@ -14,7 +14,6 @@
<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>
@ -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>