{% load i18n %} {% load statistics %} {% load locks %} {% load watches %} {% load submissions %} {% load permissions %} {% load webeditortags %} {% load team_tags %} {% if stats %} {% url notification.views.notices as notices_url %}
{% trans "Language" %} | {% trans "Translations" %} | {% trans "Options" %} |
---|---|---|
{% if stat.language %} {% with stat.language as language_obj %} {% if language_obj.code|language_has_team:stat.object.project %} {{language_obj.name}} {% else %} {{language_obj.name}} {% endif %} {% endwith %} {% 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 can_submit_file %} {% watch_toggle stat %} {% endif %} {% endif %} {% if request.user.is_authenticated and stat.object.allows_submission %} {% if perms.reviews.add_poreviewrequest or can_submit_file %} {% if file_edit_url and stat.total|webtrans_is_under_max %} {% endif %} {% pofile_submission stat %} {% endif %} {% endif %} {% endif %} |