forked from Hanabi/hanabi-league
Add more hyperlink to player pages
This commit is contained in:
parent
b1d0ae5dfd
commit
271430e901
1 changed files with 6 additions and 2 deletions
|
@ -51,7 +51,9 @@
|
|||
<div class="card-body">
|
||||
<h5 class="card-title mb-2">{{ data.title }}</h5>
|
||||
<p class="leaderboard-category">({{data.category}})</p>
|
||||
<p class="mb-0 player-name">{{ data.entry.player_name }}</p>
|
||||
<p class="mb-0 player-name">
|
||||
<a href="/player/{{data.entry.player_name_encoded}}">{{ data.entry.player_name }}</a>
|
||||
</p>
|
||||
<p class="mt-1 alt-name">{{ data.entry.user_accounts }}</p>
|
||||
<p class="score-large">{{ data.entry.score }}</p>
|
||||
</div>
|
||||
|
@ -81,7 +83,9 @@
|
|||
{% for entry in leaderboard[rating_type] %}
|
||||
<tr>
|
||||
<td>
|
||||
<div class="player-name">{{ entry.player_name }}</div>
|
||||
<div class="player-name">
|
||||
<a href="/player/{{entry.player_name_encoded}}">{{ entry.player_name }}</a>
|
||||
</div>
|
||||
<div class="alt-name">{{ entry.user_accounts }}</div>
|
||||
</td>
|
||||
<td class="score">{{ entry.score }}</td>
|
||||
|
|
Loading…
Reference in a new issue