fixed histo_edit

This commit is contained in:
2023-02-08 17:41:07 +01:00
parent 7059553a03
commit d95ae8eeeb
9 changed files with 77 additions and 42 deletions

View File

@@ -23,7 +23,7 @@
<tr>
<td class="{{ item.bg_color }}"><a href="allocation_edit/{{ item.no_cat }}">{{ item.classe }}</a></td>
<td class="text-right">{{ item.pc_cible }} %</td>
<td class="text-right">{{ item.pc_atteint }}</td>
<td class="text-right">{{ '{0:0.1f}'.format(item.pc_atteint) }}</td>
{% if (item.pc_atteint - item.pc_cible) >= 0 %}
<td class="text-right" style="color: green;">{{ '{0:0.1f}'.format(item.pc_ecart) }}</td>
{% else %}