diff options
author | emkael <emkael@tlen.pl> | 2019-07-25 15:18:24 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-25 15:18:24 +0200 |
commit | 941bf6bb283d8ef1189ee6c10113aa72e204ae1c (patch) | |
tree | c06e9481784ec5e5f7ad5bba06f7df97bbc4f6a8 /template/macros.html | |
parent | d0a8f6951d2d35aa0301b607e17866adc01f1cd8 (diff) |
Linking to players' profiles
Fixes #7
Diffstat (limited to 'template/macros.html')
-rw-r--r-- | template/macros.html | 4 |
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> |