diff options
| author | Glandos <bugs-github@antipoul.fr> | 2020-05-21 21:31:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 21:31:24 +0200 |
| commit | 23ed467d37a0b1949c9cd4ef5616058d5448e030 (patch) | |
| tree | 4fef765e1c10c0cb756739956659d5d9dde912d8 /ihatemoney/templates/sidebar_table_layout.html | |
| parent | df6ffc7d86b7334b2a3c309318cc8020cd8e781a (diff) | |
| download | ihatemoney-mirror-23ed467d37a0b1949c9cd4ef5616058d5448e030.zip ihatemoney-mirror-23ed467d37a0b1949c9cd4ef5616058d5448e030.tar.gz ihatemoney-mirror-23ed467d37a0b1949c9cd4ef5616058d5448e030.tar.bz2 | |
Replace currencyformat_nc with currency filter (#625)
Diffstat (limited to 'ihatemoney/templates/sidebar_table_layout.html')
| -rw-r--r-- | ihatemoney/templates/sidebar_table_layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/templates/sidebar_table_layout.html b/ihatemoney/templates/sidebar_table_layout.html index d616e68..b25a3d6 100644 --- a/ihatemoney/templates/sidebar_table_layout.html +++ b/ihatemoney/templates/sidebar_table_layout.html @@ -37,7 +37,7 @@ {%- endif %} {%- endif %} <td class="balance-value {% if balance[member.id]|round(2) > 0 %}positive{% elif balance[member.id]|round(2) < 0 %}negative{% endif %}"> - {% if balance[member.id] | round(2) > 0 %}+{% endif %}{{ balance[member.id]|currencyformat_nc(g.project.default_currency) }} + {% if balance[member.id] | round(2) > 0 %}+{% endif %}{{ balance[member.id]|currency }} </td> </tr> {%- endfor %} |
