Changed scores to use metres instead of km to allow for more granularity

This commit is contained in:
root
2019-11-26 13:51:49 +01:00
parent 88204b19af
commit bfdf69878b
8 changed files with 38 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
{% extends 'game_base.html' %}
{% load humanize %}
{% block content %}
<div class="container">
<div class="row">
@@ -20,7 +20,7 @@
{% for challenge in challenges %}
<tr>
<td>{{challenge.name}}</td>
<td>{{challenge.average}}</td>
<td>{{challenge.average|intcomma}}</td>
<td><a class="btn btn-success btn-block" href="{% url 'game:new-game' %}?challenge={{challenge.id}}" role="button">Play</a></td>
</tr>
{% endfor %}