{% load i18n %} {% load statistics %} {% load locks %} {% load watches %} {% load submissions %} {% load permissions %} {% load webeditortags %} {% if stats %} {% get_permission "project_perm.submit_file" for request.user and stats.0.object.project as "can_submit_file" %} {% get_permission "project_perm.maintain" for request.user and stats.0.object.project as "is_maintainer" %} {% url notification.views.notices as notices_url %}
{% trans "Language" %} | {% trans "Translations" %} | {% trans "Options" %} |
---|---|---|
{% if stat.language %} {{stat.language.name}} {% else %} {% endif %} {% if stat.error %} {% endif %} | {% with 140 as barwidth %}
{{stat.trans_perc}}% ({{stat.trans}}/{{stat.fuzzy}}/{{stat.untrans}})
{% stats_bar_full stat barwidth %}
|
{% endwith %}
{% 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 is_maintainer %} {% watch_toggle stat %} {% endif %} {% endif %} {% if stat.object.allows_submission %} {% if perms.projects.submit_file or can_submit_file or is_maintainer %} {% if file_edit_url and stat.total|webtrans_is_under_max %} {% endif %} {% pofile_submission stat %} {% endif %} {% endif %} {% endif %} |