{% load i18n %} {% load statistics %} {% load locks %} {% load watches %} {% load submissions %} {% load permissions %} {% load webeditortags %} {% if stats %} {% url notification.views.notices as notices_url %} {% for stat in stats %} {% get_permission "project_perm.submit_file" for request.user and stat as "can_submit_file" %} {% with 140 as barwidth %} {% endwith %} {% endfor %}
{% trans "Language" %} {% trans "Translations" %} {% trans "Options" %}
{% if stat.language %} {{stat.language.name}} ({{stat.language.code}}) {% else %} {{ stat.language_code }} {% endif %} {% if stat.error %} {% endif %}
{{stat.trans_perc}}% ({{stat.trans}}/{{stat.fuzzy}}/{{stat.untrans}})
{% stats_bar_full stat barwidth %}
{% if stat.is_aggregated %} {% url component_language_detail stat.object.project.slug stat.object.slug stat.language_code as comp_lang_url %} {% else %} {% url component_view_file stat.object.project.slug stat.object.slug stat.filename as file_view_url %} {% url component_raw_file stat.object.project.slug stat.object.slug stat.filename as file_raw_url %} {% url component_edit_file stat.object.project.slug stat.object.slug stat.filename as file_edit_url %} {% pofile_lock stat %} {% if notices_url %} {% if perms.repowatch.add_watch or can_submit_file %} {% watch_toggle stat %} {% endif %} {% endif %} {% if request.user.is_authenticated and stat.object.allows_submission %} {% if file_edit_url and stat.total|webtrans_is_under_max %} {% endif %} {% pofile_submission stat %} {% endif %} {% endif %}
{% endif %}