diff --git a/nummi/main/templates/main/plot/history.html b/nummi/main/templates/main/plot/history.html index 4eb48ae..d47af15 100644 --- a/nummi/main/templates/main/plot/history.html +++ b/nummi/main/templates/main/plot/history.html @@ -22,7 +22,7 @@ {% for date in history.data %} - + {{ date.month|date:"Y-m" }} {{ date.sum_m|pmrvalue }} diff --git a/nummi/main/templatetags/main_extras.py b/nummi/main/templatetags/main_extras.py index a0dad28..7558403 100644 --- a/nummi/main/templatetags/main_extras.py +++ b/nummi/main/templatetags/main_extras.py @@ -8,7 +8,7 @@ register = template.Library() @register.filter def value(val, pm=False, r=2): if not val: - return mark_safe("–") + return "" _prefix = "" _suffix = " €" _val = formats.number_format(round(val, r), r, use_l10n=True, force_grouping=True)