mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Round those floats
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr><th>Name</td><th>Average SP</th><th>API Coverage</th><th>Director Key?</th></tr>
|
<tr><th>Name</td><th>Average SP</th><th>API Coverage</th><th>Director Key?</th></tr>
|
||||||
{% for corp in alliance.eveplayercorporation_set.all %}
|
{% for corp in alliance.eveplayercorporation_set.all %}
|
||||||
<tr><td><a href="{% url eveapi-corporation corp.id %}">{{ corp }}</a></td><td>{{ corp.average_sp|intcomma }}</td><td>{{ corp.api_key_coverage }}%</td><td>{{ corp.director_api_keys.count }}</td></tr>
|
<tr><td><a href="{% url eveapi-corporation corp.id %}">{{ corp }}</a></td><td>{{ corp.average_sp|intcomma }}</td><td>{{ corp.api_key_coverage|floatformat:2 }}%</td><td>{{ corp.director_api_keys.count }}</td></tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user