mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 07:02:22 +00:00
Round notes to one decimal
This commit is contained in:
parent
d6aa285bc5
commit
13c4c834d4
@ -66,35 +66,35 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="col-sm-8">{% trans "Average points for the defender writing:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the defender writing:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_defender_writing }}/20</dd>
|
<dd class="col-sm-4">{{ passage.average_defender_writing|floatformat }}/20</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Average points for the defender oral:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the defender oral:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_defender_oral }}/16</dd>
|
<dd class="col-sm-4">{{ passage.average_defender_oral|floatformat }}/16</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Average points for the opponent writing:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the opponent writing:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_opponent_writing }}/9</dd>
|
<dd class="col-sm-4">{{ passage.average_opponent_writing|floatformat }}/9</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Average points for the opponent oral:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the opponent oral:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_opponent_oral }}/10</dd>
|
<dd class="col-sm-4">{{ passage.average_opponent_oral|floatformat }}/10</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Average points for the reporter writing:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the reporter writing:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_reporter_writing }}/9</dd>
|
<dd class="col-sm-4">{{ passage.average_reporter_writing|floatformat }}/9</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Average points for the reporter oral:" %}</dt>
|
<dt class="col-sm-8">{% trans "Average points for the reporter oral:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_reporter_oral }}/10</dd>
|
<dd class="col-sm-4">{{ passage.average_reporter_oral|floatformat }}/10</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<dl class="row">
|
<dl class="row">
|
||||||
<dt class="col-sm-8">{% trans "Defender points:" %}</dt>
|
<dt class="col-sm-8">{% trans "Defender points:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_defender }}/52</dd>
|
<dd class="col-sm-4">{{ passage.average_defender|floatformat }}/52</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Opponent points:" %}</dt>
|
<dt class="col-sm-8">{% trans "Opponent points:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_opponent }}/29</dd>
|
<dd class="col-sm-4">{{ passage.average_opponent|floatformat }}/29</dd>
|
||||||
|
|
||||||
<dt class="col-sm-8">{% trans "Reporter points:" %}</dt>
|
<dt class="col-sm-8">{% trans "Reporter points:" %}</dt>
|
||||||
<dd class="col-sm-4">{{ passage.average_reporter }}/19</dd>
|
<dd class="col-sm-4">{{ passage.average_reporter|floatformat }}/19</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<ul>
|
<ul>
|
||||||
{% for participation, note in notes %}
|
{% for participation, note in notes %}
|
||||||
<li><strong>{{ participation.team }} :</strong> {{ note }}</li>
|
<li><strong>{{ participation.team }} :</strong> {{ note|floatformat }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<ul>
|
<ul>
|
||||||
{% for participation, note in notes %}
|
{% for participation, note in notes %}
|
||||||
<li><strong>{{ participation.team }} :</strong> {{ note }}</li>
|
<li><strong>{{ participation.team }} :</strong> {{ note|floatformat }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user