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