{% load i18n baseurl progressbar %} {% if 'name' in table.fields %} {% if item.href %}{% endif %} {% if item.icon %}{% endif %} {{ item.title }} {% if item.href %}{% endif %} {% if item.stats.errors %} {% endif %} {% endif %} {% if 'language' in table.fields %} {{ item.name }} {% endif %} {% if 'project' in table.fields %} {{ item.name }} {% endif %} {% if 'priority' in table.fields %} {{ item.priority }} {% endif %} {% if item.stats %} {% if 'progress' in table.fields %}
{{ item.stats.translated.percentage }}
{% if table.proportional %} {% progressbar item.stats stats.total.words %} {% else %} {% progressbar item.stats %} {% endif %} {% endif %} {% if 'total' in table.fields %} {% if item.total_words > 0 %} {% if item.href_all %} {{ item.total_words }} {% else %} {{ item.total_words }} {% endif %} {% else %} 0 {% endif %} {% endif %} {% if 'need-translation' in table.fields %} {% if item.todo_words > 0 %} {% if item.href_todo %} {{ item.todo_words }} {% else %} {{ item.todo_words }} {% endif %} {% else %} 0 {% endif %} {% endif %} {% if 'suggestions' in table.fields %} {% if item.stats.suggestions > 0 %} {% if item.href_sugg %} {{ item.stats.suggestions }} {% else %} {{ item.stats.suggestions }} {% endif %} {% endif %} {% endif %} {% if 'activity' in table.fields %} {{ item.lastactivity }} {% endif %} {% else %} {% for i in table.fields %}{% if not forloop.last %}{% endif %}{% endfor %} {% endif %} {% if 'tags' in table.fields %} {% if user.is_superuser or request.permissions.administrate %} {% endif %} {% endif %}