Force + on transaction value
This commit is contained in:
parent
8cd1427418
commit
ee494e0a9d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
<div class="transaction {% cycle 'w' 'g' %}">
|
||||
<span class="date num center">{{ trans.date|date:"Y-m-d" }}</span>
|
||||
<span class="name text"><a href="{% url 'transaction' trans.id %}">{{ trans.name }}</a></span>
|
||||
<span class="value num">{{ trans.value|floatformat:"2g" }} €</span>
|
||||
<span class="value num">{% if trans.value > 0 %}+{% endif %}{{ trans.value|floatformat:"2g" }} €</span>
|
||||
<span class="trader text center">{{ trans.trader|default_if_none:"–" }}</span>
|
||||
<span class="category text center">
|
||||
{% if trans.category %}
|
||||
|
|
Loading…
Reference in a new issue