Don't display full name anywhere.

This commit is contained in:
2018-05-01 20:27:57 +02:00
parent 9fdf725702
commit ac9b3e06c0

View File

@@ -23,7 +23,6 @@
<th rowspan="2">{% trans "Rank" %}</th> <th rowspan="2">{% trans "Rank" %}</th>
<th rowspan="2">{% trans "Avatar" %}</th> <th rowspan="2">{% trans "Avatar" %}</th>
<th rowspan="2">{% trans "Nickname" %}</th> <th rowspan="2">{% trans "Nickname" %}</th>
<th rowspan="2">{% trans "Name" %}</th>
<th colspan="2">{% trans 'Average' %}</th> <th colspan="2">{% trans 'Average' %}</th>
<th colspan="3">Hanchans</th> <th colspan="3">Hanchans</th>
</tr> </tr>
@@ -42,7 +41,6 @@
src="{% thumbnail player.user.avatar|default:'unknown_profile.jpg' 'avatar' %}" src="{% thumbnail player.user.avatar|default:'unknown_profile.jpg' 'avatar' %}"
width="70" height="70" class="avatar" alt=""/></a></td> width="70" height="70" class="avatar" alt=""/></a></td>
<td><a href="{{ player.get_absolute_url }}?season={{season}}">{{player.user}}</a></td> <td><a href="{{ player.get_absolute_url }}?season={{season}}">{{player.user}}</a></td>
<td>{% if user.is_authenticated %}{{player.user.last_name}} {{player.user.first_name}}{% else %}---{% endif %}</td>
<td class="center">{{player.avg_placement|floatformat:2 }}</td> <td class="center">{{player.avg_placement|floatformat:2 }}</td>
<td class="right">{{player.avg_score|floatformat:0|intcomma }}</td> <td class="right">{{player.avg_score|floatformat:0|intcomma }}</td>
<td class="right">{{player.hanchan_count}}</td> <td class="right">{{player.hanchan_count}}</td>