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