mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
translation
This commit is contained in:
@ -64,6 +64,7 @@ class WrappedTable(tables.Table):
|
||||
)
|
||||
|
||||
share = tables.Column(
|
||||
verbose_name=_("Share"),
|
||||
accessor="pk",
|
||||
orderable=False,
|
||||
attrs={
|
||||
|
@ -22,9 +22,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
let cre = Boolean({{ big_creancier | safe }});
|
||||
let d1 = document.getElementById("consumer");
|
||||
let d2 = document.getElementById("creditor");
|
||||
if (con) { d1.textContent = {{ big_consumer | safe }}[0] + " with " + {{ big_consumer | safe}}[1] + "€";}
|
||||
if (con) { d1.textContent = {{ big_consumer | safe }}[0] + " " + gettext("with") + " " + {{ big_consumer | safe}}[1] + "€";}
|
||||
else { d1.textContent = gettext("Infortunately, you doesn't have consumer this year");};
|
||||
if (cre) { d2.textContent = {{ big_creancier | safe}}[0] + " with " + {{ big_creancier | safe}}[1] + "€";}
|
||||
if (cre) { d2.textContent = {{ big_creancier | safe}}[0] + " " + gettext("with") + " " + {{ big_creancier | safe}}[1] + "€";}
|
||||
else { d2.textContent = gettext("Congratulations you are a real rat !"); };
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user