Avoid too much useless precision when displaying scores
This commit is contained in:
parent
3a372b85c5
commit
6df8ee8eb7
@ -167,7 +167,7 @@
|
||||
<tr ng-repeat="r in rank | orderBy: 'rank' | limitTo: s.params.limit: s.params.begin">
|
||||
<th class="text-right">{{ r.rank }}<sup ng-if="r.rank == 1">er</sup><sup ng-if="r.rank > 1">e</sup></th>
|
||||
<td>{{ r.name }}</td>
|
||||
<td>{{ r.score }}</td>
|
||||
<td>{{ r.score | number:0 }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -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">– {{ teams[my.team_id].rank }}<sup>e</sup> sur {{ teams_count }}</span>
|
||||
{{ my.score | number }} points <span ng-show="teams[my.team_id].rank">– {{ 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>
|
||||
|
Loading…
Reference in New Issue
Block a user