Skip to content

Commit 68a64a8

Browse files
Merge pull request #356 from prathambatra/rank-fix
2 parents 8a466d9 + c36e2ad commit 68a64a8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

views/pages/leaderboard.hbs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,26 @@
1313
</tr>
1414
</thead>
1515
<tbody>
16+
{{#if showUserAtTop}}
17+
<tr>
18+
<td>
19+
<p class="right-aligned align-middle">{{loggedInUser.rank}}</p>
20+
</td>
21+
<td scope="row">
22+
<b><a class="text-primary align-middle" href="http://github.com/{{loggedInUser.user}}">{{loggedInUser.user}}</b>
23+
</td>
24+
<td>
25+
<p class="right-aligned align-middle">{{loggedInUser.bounty}}</p>
26+
</td>
27+
<td>
28+
<p class="text-secondary right-aligned align-middle">{{loggedInUser.pulls}}</p>
29+
</td>
30+
</tr>
31+
{{/if}}
1632
{{#each userstats as |user|}}
1733
<tr>
1834
<td>
19-
<p class="right-aligned align-middle">#</p>
35+
<p class="right-aligned align-middle">{{user.rank}}</p>
2036
</td>
2137
<td scope="row">
2238
<b><a class="text-primary align-middle" href="http://github.com/{{user.user}}">{{user.user}}</b>

0 commit comments

Comments
 (0)