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:
commit
e8b88f0b59
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue