Minor changes
This commit is contained in:
parent
587152b001
commit
9a8cfd48e3
@ -171,13 +171,13 @@
|
||||
{% for row in category_comparison %}
|
||||
<tr>
|
||||
<td>{{ row.category }}</td>
|
||||
<td>{{ row.current }}</td>
|
||||
<td>{{ row.current|floatformat:2 }}€</td>
|
||||
<td>{{ row.previous }}</td>
|
||||
<td>
|
||||
{% if row.difference > 0 %}
|
||||
<span style="color:red;">▲ {{ row.difference }}</span>
|
||||
<span style="color:red;">▲ {{ row.difference|floatformat:2 }}€</span>
|
||||
{% elif row.difference < 0 %}
|
||||
<span style="color:green;">▼ {{ row.difference_abs }}</span>
|
||||
<span style="color:green;">▼ {{ row.difference_abs|floatformat:2 }}€</span>
|
||||
{% else %}
|
||||
=
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user