diff --git a/apps/monitor/templates/monitor.html b/apps/monitor/templates/monitor.html index 45cecb8..d8d0e7b 100644 --- a/apps/monitor/templates/monitor.html +++ b/apps/monitor/templates/monitor.html @@ -1,5 +1,5 @@ {% extends 'base.html' %} -{% load filter %} +{% load monitor_filter %} {% block content %}
@@ -17,8 +17,8 @@
@@ -67,13 +67,13 @@ We have sold {{ c.crypto }} for {{ c.sold|floatformat:2 }} EUR
{% endif %} {% if c.amount_kept %} - Current value of our {{ c.amount_kept|formatcurrency }} {{ c.crypto }} is {{ c.current_value|floatformat:2 }} EUR
+ Current value of our {{ c.amount_kept|monitorformatcurrency }} {{ c.crypto }} is {{ c.current_value|floatformat:2 }} EUR
{% endif %} {% if c.bought_recently %} - We have bought within the last 12 months: {{ c.bought_recently|formatcurrency }} {{ c.crypto }}
+ We have bought within the last 12 months: {{ c.bought_recently|monitorformatcurrency }} {{ c.crypto }}
{% endif %} {% if c.bought_tax_free %} - We can sell without paying taxes: {{ c.bought_tax_free|formatcurrency }} {{ c.crypto }} for {{ c.value_tax_free|floatformat:2 }} EUR
+ We can sell without paying taxes: {{ c.bought_tax_free|monitorformatcurrency }} {{ c.crypto }} for {{ c.value_tax_free|floatformat:2 }} EUR
{% endif %}
My transactions
@@ -93,7 +93,7 @@ {{ r.dateRelative }} {{ r.date|date:'Y-m-d' }} - {{ r.rateEUR|formatcurrency }} EUR/{{ c.crypto }} + {{ r.rateEUR|monitorformatcurrency }} EUR/{{ c.crypto }} {% if r.diffPercentage %} {{ r.diffPercentage|floatformat:1 }}% {% endif %} @@ -107,11 +107,11 @@

{{ g.label }}


- Start: {{ g.startdate }} {{ g.startvalue|formatcurrency }} EUR
- Now: {{ g.curdate }} {{ g.curvalue|formatcurrency }} EUR
+ Start: {{ g.startdate }} {{ g.startvalue|monitorformatcurrency }} EUR
+ Now: {{ g.curdate }} {{ g.curvalue|monitorformatcurrency }} EUR
Diff: {{ g.diffPercentage|floatformat:1 }} %
- Min: {{ g.mindate }} {{ g.minvalue|formatcurrency }} EUR
- Max: {{ g.maxdate }} {{ g.maxvalue|formatcurrency }} EUR
+ Min: {{ g.mindate }} {{ g.minvalue|monitorformatcurrency }} EUR
+ Max: {{ g.maxdate }} {{ g.maxvalue|monitorformatcurrency }} EUR
{% endfor %}
@@ -124,7 +124,7 @@