summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/macros.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/macros.html b/template/macros.html
index 1cbb1b0..b2858d7 100644
--- a/template/macros.html
+++ b/template/macros.html
@@ -66,7 +66,11 @@
{% macro table_player(player, segment_limit) %}
<tr>
<td class="bdc1">{{player['place']}}</td>
+ {% if player['link'] %}
+ <td class="bd">{{player['link']}}{{player['name']}}</a></td>
+ {% else %}
<td class="bd">{{player['name']}}</td>
+ {% endif %}
<td class="bd">{{player['team']}}</td>
<td class="bdc">{{'%.2f' % player['sum']}}</td>
<td class="bdc">{{player['count']}}</td>