Count things [skip ci]

This commit is contained in:
James Cole
2015-05-14 16:35:41 +02:00
parent 353e96d951
commit 4bd8a7014f
5 changed files with 13 additions and 10 deletions

View File

@@ -22,10 +22,10 @@
</p>
<p class="small">
{% if account.transactions|length > 0 %}
{{ Lang.choice('form.also_delete_transactions', account.transactions|length) }}
{{ Lang.choice('form.also_delete_transactions', account.transactions|length, {count: account.transactions|length}) }}
{% endif %}<br />
{% if account.piggyBanks|length > 0 %}
{{ Lang.choice('form.also_delete_piggyBanks', account.piggyBanks|length) }}
{{ Lang.choice('form.also_delete_piggyBanks', account.piggyBanks|length, {count: account.piggyBanks|length}) }}
{% endif %}
</p>
</div>