Avoid too much useless precision when displaying scores

This commit is contained in:
nemunaire 2018-12-09 20:01:53 +01:00
commit 6df8ee8eb7
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@
</ul>
</div>
<span class="navbar-text text-light" ng-show="(my.team_id)" ng-cloak>
{{ my.score }} points <span ng-show="teams[my.team_id].rank">&ndash; {{ teams[my.team_id].rank }}<sup>e</sup> sur {{ teams_count }}</span>
{{ my.score | number }} points <span ng-show="teams[my.team_id].rank">&ndash; {{ teams[my.team_id].rank }}<sup>e</sup> sur {{ teams_count }}</span>
<h4 style="display: inline">
<a tabindex="0" href="/edit" class="badge" role="button" style="background-color: {{ teams[my.team_id].color }}; color: {{ teams[my.team_id].color }};">
<span class="teamname">{{ my.name }}</span>