summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-07-04 18:12:36 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-07-04 18:23:05 +0200
commit066ef132f7456b0783a2b403b3f6b4106b50fdb9 (patch)
tree4eaa15cbb93fdde41eb33feb68d76de49b67f977 /ishtar_common/templates
parenteaf0393eabd7089247b152897465b186b92be86f (diff)
downloadIshtar-066ef132f7456b0783a2b403b3f6b4106b50fdb9.tar.bz2
Ishtar-066ef132f7456b0783a2b403b3f6b4106b50fdb9.zip
🐛 fix parcel table - wizard summary (inappropriate l10n)
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/wizard/confirm_wizard.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
index 56887d28b..e4fd739f6 100644
--- a/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/confirm_wizard.html
@@ -1,6 +1,5 @@
{% extends "base.html" %}
-{% load i18n %}
-{% load range %}
+{% load ishtar_helpers i18n l10n range %}
{% block content %}
<h2>{{wizard_label}}</h2>
@@ -26,7 +25,7 @@
<div class="card-body form-row">
<table class='table'>
{% for data in form_data %}
- <tr{% if data.2 %} class='{{data.2}}'{%endif%}><th>{{data.0}}</th><td>{{data.1}}</td></tr>
+ <tr{% if data.2 %} class='{{data.2}}'{%endif%}><th>{{data.0}}</th><td>{% if data.1|is_numeric %}{{data.1|unlocalize}}{% else %}{{data.1}}{% endif %}</td></tr>
{% endfor %}
</table>