Skip to content

Firefly III: a personal finances manager

Show plain amount instead of coloured amounts. [skip ci]

James Coledad0b2fcd3e8
diff --git a/resources/twig/index.twig b/resources/twig/index.twig
index 31f6115a95..1c18d0f3a1 100644
--- a/resources/twig/index.twig
+++ b/resources/twig/index.twig
@@ -75,12 +75,12 @@
<div class="progress">
<div class="progress-bar progress-bar-success progress-bar-striped" style="width: {{ 100 - account.percentage }}%">
{% if account.percentage <= 50 %}
- {{account.difference|formatAmount}}
+ {{account.difference|formatAmountPlain}}
{% endif %}
</div>
<div class="progress-bar progress-bar-danger progress-bar-striped" style="width: {{ account.percentage }}%">
{% if account.percentage > 50 %}
- {{account.difference|formatAmount}}
+ {{account.difference|formatAmountPlain}}
{% endif %}
</div>
</div>
@@ -89,13 +89,13 @@
<div class="progress">
<div class="progress-bar progress-bar-success progress-bar-striped" style="width: {{account.percentage}}%">
{% if account.percentage <= 50 %}
- {{account.difference|formatAmount}}
- {{account.difference|formatAmount}}
+ {{account.difference|formatAmountPlain}}
+ {{account.difference|formatAmountPlain}}
{% endif %}
</div>
<div class="progress-bar progress-bar-info progress-bar-striped" style="width: {{100 - account.percentage}}%">
{% if account.percentage > 50 %}
- {{account.difference|formatAmount}}
+ {{account.difference|formatAmountPlain}}
{% endif %}
</div>
</div>