More readable code

This commit is contained in:
Michal Čihař 2012-03-05 13:58:23 +01:00
parent 931c5654b7
commit 1017b52b9a

View File

@ -4,5 +4,7 @@
{% include "subproject_info.html" %}
{% endwith %}
<p>
{% blocktrans with object.unit_set.all.count as count and object.get_translated_percent as translated and object.get_fuzzy_percent as fuzzy %}There are {{ count }} strings, out of which {{ translated }}% is translated and {{ fuzzy }}% is fuzzy.{% endblocktrans %}
{% with object.unit_set.all.count as count and object.get_translated_percent as translated and object.get_fuzzy_percent as fuzzy %}
{% blocktrans %}There are {{ count }} strings, out of which {{ translated }}% is translated and {{ fuzzy }}% is fuzzy.{% endblocktrans %}
{% endwith %}
</p>