mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-09-19 20:24:38 -04:00
Add tips count to leaderboard
Also rename memes_total to memes_count to make it more consistent
This commit is contained in:
parent
bb8ee230a6
commit
4c1b493943
4 changed files with 12 additions and 5 deletions
|
@ -11,6 +11,7 @@
|
|||
<tr>
|
||||
<th scope="col">User</th>
|
||||
<th scope="col">Meme Count</th>
|
||||
<th scope="col">Tips Count</th>
|
||||
<th scope="col">Total XMR Tips</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -18,7 +19,8 @@
|
|||
@foreach ($data['users'] as $user)
|
||||
<tr>
|
||||
<td><a href="{{ url('/user/' . $user->id) }}">{{ $user->name }}</a></td>
|
||||
<td>{{ $user->memes_total }}</td>
|
||||
<td>{{ $user->memes_count }}</td>
|
||||
<td>{{ $user->tips_count }}</td>
|
||||
<td>{{ $user->tips_total }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="col-md-12">
|
||||
<h3 class="text-center mb-3">Memes By {{ $data['user']->name }}</h3>
|
||||
<p class="text-center">Total Earnings: {{ $data['user']->tips_total }}</h3>
|
||||
<p class="text-center">Total Memes: {{ $data['user']->memes_total }}</h3>
|
||||
<p class="text-center">Total Memes: {{ $data['user']->memes_count }}</h3>
|
||||
<div class="row row-cols-1 row-cols-md-2 row-cols-lg-4 grid-memes">
|
||||
@foreach ($data['memes'] as $meme)
|
||||
<div class="col mb-4">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue