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,8 +14,7 @@
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>Username</th>
<th>Email</th>
<th>Email</th>
<th>Account Created</th>
<th>Account Updated</th>
</tr>
@ -23,8 +22,7 @@
<tbody>
@foreach ($users as $user)
<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><code>{{ $user->email }}</code></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>{{ $user->created_at }}</td>
<td>{{ $user->updated_at }}</td>
</tr>