{% load i18n %} {% load statistics %} {% load locks %} {% load watches %} {% load submissions %} {% if stats %} {% url notification.views.notices as notices_url %} {% for stat in stats %} {% 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}}%
{% 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 %} {% pofile_lock stat %} {% if request.user.is_authenticated and perms.repowatch.add_watch and notices_url %}{% watch_toggle stat %}{% endif %} {% if request.user.is_authenticated and stat.object.allows_submission and perms.translations.add_pofilelock %}{% pofile_submission stat %}{% endif %} {% endif %}
{% endif %}