Compare commits

..

No commits in common. "e3ddf4cbaaabc6302558710e157d381f32e522fe" and "c77b88c2f74420c9b74821683330829624be55b0" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ table.file-input tr :last-child {
padding-right: 0;
}
form tfoot {
.buttons {
text-align: right;
}
.buttons input {

View file

@ -22,7 +22,7 @@
{% for date in history.data %}
<tr>
<td class="icon">
<span class="ri-{% if date.sum > 0 %}arrow-up-s-line green{% elif date.sum < 0 %}arrow-down-s-line red{% endif %}"></span>
<span class="ri-{% if date.sum > 0 %}arrow-up-s-line green{% elif date.sum < 0 %}arrow-down-s-line red{% else %}equal-line{% endif %}"></span>
</td>
<th class="date" scope="row">{{ date.month|date:"Y-m" }}</th>
<td class="value">{{ date.sum_m|pmrvalue }}</td>

View file

@ -8,7 +8,7 @@ register = template.Library()
@register.filter
def value(val, pm=False, r=2):
if not val:
return ""
return mark_safe("&ndash;")
_prefix = ""
_suffix = "&nbsp;€"
_val = formats.number_format(round(val, r), r, use_l10n=True, force_grouping=True)