{# parent template has to define variable modstats #} {% load i18n stats_extras %}
{{ modstats.totaltransperc }}% ({{ modstats.totaltrans }}/{{ modstats.totalfuzzy }}/{{ modstats.totaluntrans }})
{% with modstats.totaltransperc|add:modstats.totalfuzzyperc as upos %}
{% endwith %}
{# empty line to not disturb tablesorter if 1st line is a colspan #} {% for catname,categ in modstats.categs.items %} {% if catname != "default" %} {% endif %} {% for module in categ.modules %} {% with module.0 as modname %} {% for branch, doms in module.1.items %} {% for dom in doms %} {% with dom.0 as domname and dom.1 as stat %} {% if stat and not stat.is_fake %} {% if stat.tr_percentage == 100 %} {% else %} {% endif %} {% endif %} {% endwith %} {% endfor %} {% endfor %} {% endwith %} {% endfor %} {% endfor %}
{% trans "Module" %}{% trans "Branch" %} {% trans "Statistics" %} {% trans "Status" %}{% trans "Date" %}
modbr100state
{% with categ.cattransperc as percentage and categ.catname as categname %} {% blocktrans %}{{ categname }} ({{ percentage }}% translated){% endblocktrans %} {% endwith %}
{% if language %} {{ stat.module_description }} {% else %} {{ stat.module_description }} {% endif %} {% if stat.partial_po %} {# For a partial po, domain description is appended #} • {{ domname }} {% endif %} {% for err in stat.info_list %} {{ err.type }} {% endfor %} {% if stat|domain_type == "mallard" %} mallard icon {% endif %} {{ branch }} {{ stat.tr_percentage }}{{ stat|num_stats:scope }}
{{ stat|vis_stats:scope }}
{% if stat.state.name %} {% if stat.state.name != "None" %} {{ stat.state.description }} {{ stat.state.updated|date:"c" }}{{ stat.state.updated|date:"DATE_FORMAT" }} {% else %} {% if stat.state.last_comment %} {{ stat.state.last_comment|truncatewords:12 }} {% endif %} {% endif %} {% else %} {% endif %}
{% if modstats.all_errors %}

{% trans "Error summary" %}

{% endif %}