1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #122 from Whaxion/dev

Change id to username in users list and change the url
This commit is contained in:
daniel 2018-06-04 21:28:59 -06:00 committed by GitHub
commit e8b88f0b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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->username}}
</a> </a>
</th> </th>
<td>{{$user->profile->statuses->count()}}</td> <td>{{$user->profile->statuses->count()}}</td>
@ -48,4 +48,4 @@
}); });
}); });
</script> </script>
@endpush @endpush