Change id to username in users list

This commit is contained in:
Whaxion 2018-06-01 21:42:30 +02:00
parent 9fbc5d0902
commit 9f0120443e

View file

@ -10,7 +10,7 @@
<table class="table"> <table class="table">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th scope="col">#</th> <th scope="col">Username</th>
<th scope="col">Statuses</th> <th scope="col">Statuses</th>
<th scope="col">Storage</th> <th scope="col">Storage</th>
<th scope="col">Role</th> <th scope="col">Role</th>
@ -21,8 +21,8 @@
@foreach($users as $user) @foreach($users as $user)
<tr> <tr>
<th scope="row"> <th scope="row">
<a href="/users/show/{{$user->id}}"> <a href="{{$user->url()}}">
{{$user->id}} {{$user->profile->username}}
</a> </a>
</th> </th>
<td>{{$user->profile->statuses->count()}}</td> <td>{{$user->profile->statuses->count()}}</td>