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